1 /////////////////////////////////////////////////////////////////////////////
3 // Purpose: MDI related class definitions for wxPython
9 // Copyright: (c) 1998 by Total Control Software
10 // Licence: wxWindows license
11 /////////////////////////////////////////////////////////////////////////////
20 //----------------------------------------------------------------------
23 %include my_typemaps.i
25 // Import some definitions of other classes, etc.
30 //----------------------------------------------------------------------
32 class wxMDIParentFrame : public wxFrame {
34 wxMDIParentFrame(wxWindow *parent,
36 const wxString& title,
37 const wxPoint& pos = wxPyDefaultPosition,
38 const wxSize& size = wxPyDefaultSize,
39 long style = wxDEFAULT_FRAME_STYLE | wxVSCROLL | wxHSCROLL,
40 const char* name = "frame");
43 void ActivatePrevious();
46 void GetClientSize(int* OUTPUT, int* OUTPUT);
47 wxMDIChildFrame* GetActiveChild();
48 wxMDIClientWindow* GetClientWindow();
49 wxWindow* GetToolBar();
51 // TODO: This isn't handled by the standard event-table system...
52 //wxMDIClientWindow* OnCreateClient();
54 void SetToolBar(wxToolBar* toolbar);
58 //---------------------------------------------------------------------------
60 class wxMDIChildFrame : public wxFrame {
62 wxMDIChildFrame(wxMDIParentFrame* parent,
64 const wxString& title,
65 const wxPoint& pos = wxPyDefaultPosition,
66 const wxSize& size = wxPyDefaultSize,
67 long style = wxDEFAULT_FRAME_STYLE,
68 const char* name = "frame");
76 //---------------------------------------------------------------------------
78 class wxMDIClientWindow : public wxWindow {
80 wxMDIClientWindow(wxMDIParentFrame* parent, long style = 0);
83 //---------------------------------------------------------------------------
84 /////////////////////////////////////////////////////////////////////////////
87 // Revision 1.2 1998/08/15 07:36:39 RD
88 // - Moved the header in the .i files out of the code that gets put into
89 // the .cpp files. It caused CVS conflicts because of the RCS ID being
90 // different each time.
92 // - A few minor fixes.
94 // Revision 1.1 1998/08/09 08:25:51 RD