]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk1/spinctrl.h
1. corrected compilation of wxTime/wxDate
[wxWidgets.git] / include / wx / gtk1 / spinctrl.h
index 1bb09317c69cad1319a3d38f806e7a7f5c21fa94..1fa6b82982ee8dcf9db587876ae1ae028612913a 100644 (file)
 #pragma interface
 #endif
 
+#include "wx/defs.h"
+
+#if wxUSE_SPINCTRL
+
+#include "wx/control.h"
+
 //-----------------------------------------------------------------------------
 // wxSpinCtrl
 //-----------------------------------------------------------------------------
@@ -53,6 +59,8 @@ public:
     virtual int GetMax() const;
 
     // implementation
+    // --------------
+    
     void OnChar( wxKeyEvent &event );
     
     bool IsOwnGtkWindow( GdkWindow *window );
@@ -66,5 +74,8 @@ private:
     DECLARE_EVENT_TABLE()
 };
 
+#endif
+    // wxUSE_SPINCTRL
+
 #endif
     // __GTKSPINCTRLH__