#include "wx/frame.h"
-WXDLLEXPORT_DATA(extern const wxChar*) wxFrameNameStr;
-WXDLLEXPORT_DATA(extern const wxChar*) wxStatusLineNameStr;
+WXDLLEXPORT_DATA(extern const char) wxStatusLineNameStr[];
-class WXDLLEXPORT wxMDIClientWindow;
-class WXDLLEXPORT wxMDIChildFrame;
+class WXDLLIMPEXP_FWD_CORE wxMDIClientWindow;
+class WXDLLIMPEXP_FWD_CORE wxMDIChildFrame;
class WXDLLEXPORT wxMDIParentFrame: public wxFrame
{
Create(parent, id, title, pos, size, style, name);
}
- ~wxMDIParentFrame();
+ virtual ~wxMDIParentFrame();
bool Create(wxWindow *parent,
wxWindowID id,
bool m_shouldBeShown;
private:
- friend class WXDLLEXPORT wxMDIChildFrame;
+ friend class WXDLLIMPEXP_FWD_CORE wxMDIChildFrame;
DECLARE_EVENT_TABLE()
};
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()
};