Added XRCed to the wxPython Tools directory, contributed by Roman
Rolinsky. Added wrappers for the default ctor and the Create methods for most window classes. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11526 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -52,8 +52,13 @@ public:
|
||||
const wxSize& size = wxDefaultSize,
|
||||
long style = wxDEFAULT_FRAME_STYLE,
|
||||
char* name = "frame");
|
||||
%name(wxPreFrame)wxFrame();
|
||||
|
||||
%pragma(python) addtomethod = "__init__:#wx._StdFrameCallbacks(self)"
|
||||
bool Create(wxWindow* parent, const wxWindowID id, const wxString& title,
|
||||
const wxPoint& pos = wxDefaultPosition,
|
||||
const wxSize& size = wxDefaultSize,
|
||||
long style = wxDEFAULT_FRAME_STYLE,
|
||||
char* name = "frame");
|
||||
|
||||
void Centre(int direction = wxBOTH);
|
||||
wxStatusBar* CreateStatusBar(int number = 1,
|
||||
@@ -99,8 +104,13 @@ public:
|
||||
const wxSize& size = wxDefaultSize,
|
||||
long style = wxDEFAULT_FRAME_STYLE,
|
||||
char* name = "frame");
|
||||
%name(wxPreMiniFrame)wxMiniFrame();
|
||||
|
||||
%pragma(python) addtomethod = "__init__:#wx._StdFrameCallbacks(self)"
|
||||
bool Create(wxWindow* parent, const wxWindowID id, const wxString& title,
|
||||
const wxPoint& pos = wxDefaultPosition,
|
||||
const wxSize& size = wxDefaultSize,
|
||||
long style = wxDEFAULT_FRAME_STYLE,
|
||||
char* name = "frame");
|
||||
};
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user