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