Added wxPyWindow and wxPyControl which are just like their wx
counterparts except they allow some of the more common C++ virtual methods to be overridden in Python derived classes. Changed wxGenButton to derive from wxPyControl. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15760 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -92,12 +92,12 @@ public:
|
||||
|
||||
//
|
||||
wxControl(wxWindow *parent,
|
||||
wxWindowID id,
|
||||
const wxPoint& pos=wxDefaultPosition,
|
||||
const wxSize& size=wxDefaultSize,
|
||||
long style=0,
|
||||
const wxValidator& validator=wxDefaultValidator,
|
||||
const wxString& name=wxPyControlNameStr);
|
||||
wxWindowID id,
|
||||
const wxPoint& pos=wxDefaultPosition,
|
||||
const wxSize& size=wxDefaultSize,
|
||||
long style=0,
|
||||
const wxValidator& validator=wxDefaultValidator,
|
||||
const wxString& name=wxPyControlNameStr);
|
||||
|
||||
//
|
||||
%name(wxPreControl)wxControl();
|
||||
|
Reference in New Issue
Block a user