-%module mdi
-%{
/////////////////////////////////////////////////////////////////////////////
// Name: mdi.i
// Purpose: MDI related class definitions for wxPython
/////////////////////////////////////////////////////////////////////////////
+%module mdi
+
+%{
#include "helpers.h"
%}
%import _defs.i
%import misc.i
%import windows.i
+%import frames.i
+
+%pragma(python) code = "import wx"
//----------------------------------------------------------------------
long style = wxDEFAULT_FRAME_STYLE | wxVSCROLL | wxHSCROLL,
const char* name = "frame");
+ %pragma(python) addtomethod = "__init__:wx._StdFrameCallbacks(self)"
+
void ActivateNext();
void ActivatePrevious();
void ArrangeIcons();
void Cascade();
- void GetClientSize(int* OUTPUT, int* OUTPUT);
wxMDIChildFrame* GetActiveChild();
wxMDIClientWindow* GetClientWindow();
wxWindow* GetToolBar();
// TODO: This isn't handled by the standard event-table system...
//wxMDIClientWindow* OnCreateClient();
+#ifdef __WXMSW__
void SetToolBar(wxToolBar* toolbar);
+#endif
void Tile();
};
long style = wxDEFAULT_FRAME_STYLE,
const char* name = "frame");
+ %pragma(python) addtomethod = "__init__:wx._StdFrameCallbacks(self)"
+
void Activate();
+#ifdef __WXMSW__
void Maximize();
+#else
+ void Maximize(bool maximize);
+#endif
void Restore();
+
};
class wxMDIClientWindow : public wxWindow {
public:
wxMDIClientWindow(wxMDIParentFrame* parent, long style = 0);
+ %pragma(python) addtomethod = "__init__:wx._StdWindowCallbacks(self)"
+ %pragma(python) addtomethod = "__init__:wx._StdOnScrollCallbacks(self)"
};
//---------------------------------------------------------------------------
-/////////////////////////////////////////////////////////////////////////////
-//
-// $Log$
-// Revision 1.1 1998/08/09 08:25:51 RD
-// Initial version
-//
-//