3 /////////////////////////////////////////////////////////////////////////////
5 // Purpose: MDI related class definitions for wxPython
11 // Copyright: (c) 1998 by Total Control Software
12 // Licence: wxWindows license
13 /////////////////////////////////////////////////////////////////////////////
19 //----------------------------------------------------------------------
22 %include my_typemaps.i
24 // Import some definitions of other classes, etc.
29 //----------------------------------------------------------------------
31 class wxMDIParentFrame : public wxFrame {
33 wxMDIParentFrame(wxWindow *parent,
35 const wxString& title,
36 const wxPoint& pos = wxPyDefaultPosition,
37 const wxSize& size = wxPyDefaultSize,
38 long style = wxDEFAULT_FRAME_STYLE | wxVSCROLL | wxHSCROLL,
39 const char* name = "frame");
42 void ActivatePrevious();
45 void GetClientSize(int* OUTPUT, int* OUTPUT);
46 wxMDIChildFrame* GetActiveChild();
47 wxMDIClientWindow* GetClientWindow();
48 wxWindow* GetToolBar();
50 // TODO: This isn't handled by the standard event-table system...
51 //wxMDIClientWindow* OnCreateClient();
53 void SetToolBar(wxToolBar* toolbar);
57 //---------------------------------------------------------------------------
59 class wxMDIChildFrame : public wxFrame {
61 wxMDIChildFrame(wxMDIParentFrame* parent,
63 const wxString& title,
64 const wxPoint& pos = wxPyDefaultPosition,
65 const wxSize& size = wxPyDefaultSize,
66 long style = wxDEFAULT_FRAME_STYLE,
67 const char* name = "frame");
75 //---------------------------------------------------------------------------
77 class wxMDIClientWindow : public wxWindow {
79 wxMDIClientWindow(wxMDIParentFrame* parent, long style = 0);
82 //---------------------------------------------------------------------------
83 /////////////////////////////////////////////////////////////////////////////
86 // Revision 1.1 1998/08/09 08:25:51 RD