]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/univ/window.h
make JPEG callbacks extern "C" to fix Sun CC warnings
[wxWidgets.git] / include / wx / univ / window.h
index fe6a23f7bda471faa180496cd4285f266d441b9d..92b17be4a71b6cf7a75b79eb1bcc9d8d3b6c48d0 100644 (file)
@@ -190,6 +190,16 @@ public:
     // should we use the standard control colours or not?
     virtual bool ShouldInheritColours() const { return false; }
 
+    virtual bool IsClientAreaChild(const wxWindow *child) const
+    {
+#if wxUSE_SCROLLBAR
+        if ( child == (wxWindow*)m_scrollbarHorz ||
+             child == (wxWindow*)m_scrollbarVert )
+            return false;
+#endif
+        return wxWindowNative::IsClientAreaChild(child);
+    }
+
 protected:
     // common part of all ctors
     void Init();