X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/10816efb2cb6561a227a87de6d5f8b5750c2705d..bcf7614cf3a2329e484fd8f437b3a8b521f2b94b:/include/wx/frame.h diff --git a/include/wx/frame.h b/include/wx/frame.h index 2d3a8988c9..3c2c3888d8 100644 --- a/include/wx/frame.h +++ b/include/wx/frame.h @@ -19,13 +19,14 @@ #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 @@ -180,6 +181,11 @@ public: 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 // ------------------------------------