make access for virtuals match base
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49446 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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
|
||||
// ------------------------------------
|
||||
@@ -190,10 +195,6 @@ protected:
|
||||
|
||||
// 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
|
||||
|
Reference in New Issue
Block a user