X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fb5e0af035b25afec4bebf8585c1f32766636599..faf3cb3590e7bead27735c94014df39025cfc12b:/utils/wxPython/src/mdi.i?ds=sidebyside diff --git a/utils/wxPython/src/mdi.i b/utils/wxPython/src/mdi.i index 5cc56043b3..c3a1fbddc0 100644 --- a/utils/wxPython/src/mdi.i +++ b/utils/wxPython/src/mdi.i @@ -26,6 +26,9 @@ %import _defs.i %import misc.i %import windows.i +%import frames.i + +%pragma(python) code = "import wxp" //---------------------------------------------------------------------- @@ -39,6 +42,8 @@ public: long style = wxDEFAULT_FRAME_STYLE | wxVSCROLL | wxHSCROLL, const char* name = "frame"); + %pragma(python) addtomethod = "__init__:wxp._StdFrameCallbacks(self)" + void ActivateNext(); void ActivatePrevious(); void ArrangeIcons(); @@ -69,6 +74,8 @@ public: long style = wxDEFAULT_FRAME_STYLE, const char* name = "frame"); + %pragma(python) addtomethod = "__init__:wxp._StdFrameCallbacks(self)" + void Activate(); void Maximize(); void Restore(); @@ -85,12 +92,17 @@ public: class wxMDIClientWindow : public wxWindow { public: wxMDIClientWindow(wxMDIParentFrame* parent, long style = 0); + %pragma(python) addtomethod = "__init__:wxp._StdWindowCallbacks(self)" + %pragma(python) addtomethod = "__init__:wxp._StdOnScrollCallbacks(self)" }; //--------------------------------------------------------------------------- ///////////////////////////////////////////////////////////////////////////// // // $Log$ +// Revision 1.4 1998/10/02 06:40:41 RD +// Version 0.4 of wxPython for MSW. +// // Revision 1.3 1998/08/18 19:48:18 RD // more wxGTK compatibility things. //