#include "wx/frame.h"
-WXDLLEXPORT_DATA(extern const wxChar) wxFrameNameStr[];
WXDLLEXPORT_DATA(extern const wxChar) wxStatusLineNameStr[];
class WXDLLEXPORT wxMDIClientWindow;
Create(parent, id, title, pos, size, style, name);
}
- ~wxMDIParentFrame();
+ virtual ~wxMDIParentFrame();
bool Create(wxWindow *parent,
wxWindowID id,
Create(parent, id, title, pos, size, style, name);
}
- ~wxMDIChildFrame();
+ virtual ~wxMDIChildFrame();
bool Create(wxMDIParentFrame *parent,
wxWindowID id,
CreateClient(parent, style);
}
- ~wxMDIClientWindow();
+ virtual ~wxMDIClientWindow();
// Note: this is virtual, to allow overridden behaviour.
virtual bool CreateClient(wxMDIParentFrame *parent, long style = wxVSCROLL | wxHSCROLL);
- // Gets the size available for subwindows after menu size, toolbar size
- // and status bar size have been subtracted. If you want to manage your own
- // toolbar(s), don't call SetToolBar.
- void DoGetClientSize(int *width, int *height) const;
-
// Explicitly call default scroll behaviour
void OnScroll(wxScrollEvent& event);
protected:
+ // Gets the size available for subwindows after menu size, toolbar size
+ // and status bar size have been subtracted. If you want to manage your own
+ // toolbar(s), don't call SetToolBar.
+ void DoGetClientSize(int *width, int *height) const;
DECLARE_EVENT_TABLE()
};