#include "wx/toplevel.h" // the base class
// the default names for various classs
-extern WXDLLEXPORT_DATA(const wxChar) wxStatusLineNameStr[];
-extern WXDLLEXPORT_DATA(const wxChar) wxToolBarNameStr[];
+extern WXDLLEXPORT_DATA(const char) wxStatusLineNameStr[];
+extern WXDLLEXPORT_DATA(const char) wxToolBarNameStr[];
-class WXDLLEXPORT wxFrame;
-class WXDLLEXPORT wxMenuBar;
-class WXDLLEXPORT wxStatusBar;
-class WXDLLEXPORT wxToolBar;
+class WXDLLIMPEXP_FWD_CORE wxFrame;
+class WXDLLIMPEXP_FWD_CORE wxMenuBar;
+class WXDLLIMPEXP_FWD_CORE wxMenuItem;
+class WXDLLIMPEXP_FWD_CORE wxStatusBar;
+class WXDLLIMPEXP_FWD_CORE wxToolBar;
// ----------------------------------------------------------------------------
// constants
virtual void DoGiveHelp(const wxString& text, bool show);
#endif
+ virtual bool IsClientAreaChild(const wxWindow *child) const
+ {
+ return !IsOneOfBars(child) && wxTopLevelWindow::IsClientAreaChild(child);
+ }
+
protected:
// the frame main menu/status/tool bars
// ------------------------------------
// test whether this window makes part of the frame
virtual bool IsOneOfBars(const wxWindow *win) const;
- virtual bool IsClientAreaChild(const wxWindow *child) const
- {
- return !IsOneOfBars(child) && wxTopLevelWindow::IsClientAreaChild(child);
- }
#if wxUSE_MENUS
// override to update menu bar position when the frame size changes