]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk1/spinctrl.h
avoid a bug in Carbon headers
[wxWidgets.git] / include / wx / gtk1 / spinctrl.h
index e51437430cb6f17038853a7046a616c1e763a7a3..b02797c3e74a1b2483a96188815f4031d189ce26 100644 (file)
@@ -11,7 +11,7 @@
 #ifndef __GTKSPINCTRLH__
 #define __GTKSPINCTRLH__
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma interface
 #endif
 
@@ -59,12 +59,12 @@ public:
     virtual int GetMax() const;
 
     // implementation
-    // --------------
-    
     void OnChar( wxKeyEvent &event );
     
     bool IsOwnGtkWindow( GdkWindow *window );
     void ApplyWidgetStyle();
+    void GtkDisableEvents();
+    void GtkEnableEvents();
 
     GtkAdjustment  *m_adjust;
     float           m_oldPos;