X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/10816efb2cb6561a227a87de6d5f8b5750c2705d..472eec8a0391538e4dcf7f7c6c4f4d44c8383616:/include/wx/frame.h?ds=sidebyside diff --git a/include/wx/frame.h b/include/wx/frame.h index 2d3a8988c9..2889bbecae 100644 --- a/include/wx/frame.h +++ b/include/wx/frame.h @@ -22,10 +22,10 @@ extern WXDLLEXPORT_DATA(const wxChar) wxStatusLineNameStr[]; extern WXDLLEXPORT_DATA(const wxChar) 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 wxStatusBar; +class WXDLLIMPEXP_FWD_CORE wxToolBar; // ---------------------------------------------------------------------------- // constants @@ -180,6 +180,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 // ------------------------------------