]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk1/spinbutt.h
Fixed to work with the new wxMacControl system.
[wxWidgets.git] / include / wx / gtk1 / spinbutt.h
index 86f873ec174affffabcf98a864a4f152afc285e6..bbf998067d705e5b07170fce934707eebb489c5f 100644 (file)
@@ -11,7 +11,7 @@
 #ifndef _WX_GTK_SPINBUTT_H_
 #define _WX_GTK_SPINBUTT_H_
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma interface
 #endif
 
@@ -46,11 +46,13 @@ public:
     virtual int GetMin() const;
     virtual int GetMax() const;
 
+    static wxVisualAttributes
+    GetClassDefaultAttributes(wxWindowVariant variant = wxWINDOW_VARIANT_NORMAL);
+    
     // implementation
     void OnSize( wxSizeEvent &event );
 
     bool IsOwnGtkWindow( GdkWindow *window );
-    void ApplyWidgetStyle();
 
     GtkAdjustment  *m_adjust;
     float           m_oldPos;