]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk1/button.h
Fix memory leak by letting the base class version handle the
[wxWidgets.git] / include / wx / gtk1 / button.h
index 5c90c03e246c6af811697876638e8718edc8a7a8..8c016d3b8776fde15bfe9b091e91d82f0c04a0f8 100644 (file)
@@ -4,7 +4,7 @@
 // Author:      Robert Roebling
 // Id:          $Id$
 // Copyright:   (c) 1998 Robert Roebling
-// Licence:     wxWindows licence
+// Licence:     wxWidgets licence
 /////////////////////////////////////////////////////////////////////////////
 
 #ifndef __GTKBUTTONH__
@@ -71,6 +71,9 @@ public:
     // to override this here too...
     virtual bool ShouldInheritColours() const { return false; }
     
+    static wxVisualAttributes
+    GetClassDefaultAttributes(wxWindowVariant variant = wxWINDOW_VARIANT_NORMAL);
+
 protected:
     virtual wxSize DoGetBestSize() const;