]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/frame.h
wxUSE_STL compilation fixes for wxGenericFontDialog
[wxWidgets.git] / include / wx / frame.h
index 2d3a8988c9717750fe97e252141b5ffb232d168e..0f65132d711cefefae6d85b482fe2f4ac516e9e0 100644 (file)
@@ -190,6 +190,10 @@ 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