X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d7a7616b9d95c6b52073585c9c849c36a6d49cb5..c4287548985b4a8246eb1d9b4ced2f346fc95253:/wxPython/src/aui.i diff --git a/wxPython/src/aui.i b/wxPython/src/aui.i index 460622c94b..2c5857c6f4 100755 --- a/wxPython/src/aui.i +++ b/wxPython/src/aui.i @@ -139,7 +139,8 @@ The following example shows a simple implementation that utilizes #define wxDEPRECATED(decl) -// We'll let SWIG handle the function overloading for these +// We'll skip making wrappers for these, they have overloads that take a +// wxSize or wxPoint %ignore wxPaneInfo::MaxSize(int x, int y); %ignore wxPaneInfo::MinSize(int x, int y); %ignore wxPaneInfo::BestSize(int x, int y); @@ -153,8 +154,11 @@ The following example shows a simple implementation that utilizes %rename(_AddPane1) wxFrameManager::AddPane(wxWindow* window, const wxPaneInfo& pane_info); %rename(_AddPane2) wxFrameManager::AddPane(wxWindow* window, int direction = wxLEFT, - const wxString& caption = wxEmptyString); + const wxString& caption = wxEmptyString); +%rename(AddPaneAtPos) wxFrameManager::AddPane(wxWindow* window, + const wxPaneInfo& pane_info, + const wxPoint& drop_pos); // A typemap for the return value of wxFrameManager::GetAllPanes %typemap(out) wxPaneInfoArray& { @@ -166,12 +170,21 @@ The following example shows a simple implementation that utilizes } +%nokwargs wxAuiTabContainer::SetActivePage; + +%pythonAppend wxAuiTabCtrl::wxAuiTabCtrl "self._setOORInfo(self)"; + +%pythonAppend wxAuiMultiNotebook::wxAuiMultiNotebook "self._setOORInfo(self)"; +%pythonAppend wxAuiMultiNotebook::wxAuiMultiNotebook() "self._setOORInfo(self)"; +%ignore wxAuiMultiNotebook::~wxAuiMultiNotebook; +%rename(PreAuiMultiNotebook) wxAuiMultiNotebook::wxAuiMultiNotebook(); + //--------------------------------------------------------------------------- // Get all our defs from the REAL header files. %include framemanager.h %include dockart.h %include floatpane.h - +%include auibook.h //--------------------------------------------------------------------------- // Methods to inject into the FrameManager class that will sort out calls to @@ -238,6 +251,7 @@ The following example shows a simple implementation that utilizes //--------------------------------------------------------------------------- %{ +// A wxDocArt lcass that knows how to forward virtuals to Python methods class wxPyDockArt : public wxDefaultDockArt { wxPyDockArt() : wxDefaultDockArt() {}