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:
@@ -46,6 +46,11 @@ public:
|
||||
const wxSize& size = wxDefaultSize,
|
||||
long style = wxST_SIZEGRIP,
|
||||
char* name = "statusBar");
|
||||
%name(wxPreStatusBar)wxStatusBar();
|
||||
|
||||
bool Create(wxWindow* parent, wxWindowID id,
|
||||
long style = wxST_SIZEGRIP,
|
||||
char* name = "statusBar");
|
||||
|
||||
%pragma(python) addtomethod = "__init__:#wx._StdWindowCallbacks(self)"
|
||||
|
||||
@@ -61,10 +66,6 @@ public:
|
||||
int GetBorderX();
|
||||
int GetBorderY();
|
||||
|
||||
// void DrawField(wxDC& dc, int i);
|
||||
// void DrawFieldText(wxDC& dc, int i);
|
||||
// void InitColours(void);
|
||||
|
||||
void SetFieldsCount(int number = 1);
|
||||
void SetStatusText(const wxString& text, int i = 0);
|
||||
void SetStatusWidths(int LCOUNT, int* choices);
|
||||
@@ -283,6 +284,14 @@ public:
|
||||
const wxSize& size = wxDefaultSize,
|
||||
long style = wxNO_BORDER | wxTB_HORIZONTAL,
|
||||
const char* name = wxToolBarNameStr);
|
||||
%name(wxPreToolBar)wxToolBar();
|
||||
|
||||
bool Create(wxWindow *parent,
|
||||
wxWindowID id,
|
||||
const wxPoint& pos = wxDefaultPosition,
|
||||
const wxSize& size = wxDefaultSize,
|
||||
long style = wxNO_BORDER | wxTB_HORIZONTAL,
|
||||
const char* name = wxToolBarNameStr);
|
||||
|
||||
%pragma(python) addtomethod = "__init__:#wx._StdWindowCallbacks(self)"
|
||||
|
||||
@@ -300,6 +309,14 @@ public:
|
||||
const wxSize& size = wxDefaultSize,
|
||||
long style = wxNO_BORDER | wxTB_HORIZONTAL,
|
||||
const char* name = wxToolBarNameStr);
|
||||
%name(wxPreToolBarSimple)wxToolBarSimple();
|
||||
|
||||
bool Create(wxWindow *parent,
|
||||
wxWindowID id,
|
||||
const wxPoint& pos = wxDefaultPosition,
|
||||
const wxSize& size = wxDefaultSize,
|
||||
long style = wxNO_BORDER | wxTB_HORIZONTAL,
|
||||
const char* name = wxToolBarNameStr);
|
||||
|
||||
%pragma(python) addtomethod = "__init__:#wx._StdWindowCallbacks(self)"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user