]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk1/button.h
Don't use wxUSE_POCKETPC_UI, determine appropriate UI from
[wxWidgets.git] / include / wx / gtk1 / button.h
index 84b20b81a08756fa08972731e7b10c2f4bf86f9a..5c90c03e246c6af811697876638e8718edc8a7a8 100644 (file)
@@ -67,6 +67,10 @@ public:
     void ApplyWidgetStyle();
     bool IsOwnGtkWindow( GdkWindow *window );
 
+    // Since this wxButton doesn't derive from wxButtonBase (why?) we need
+    // to override this here too...
+    virtual bool ShouldInheritColours() const { return false; }
+    
 protected:
     virtual wxSize DoGetBestSize() const;