]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk/spinctrl.h
[ 1494561 ] wxComboCtrl vertical size fix.
[wxWidgets.git] / include / wx / gtk / spinctrl.h
index c784b1d05a86c012303033763a33a67559e3f1de..426a01f4b07818051554c390f8a92c299b097457 100644 (file)
 #ifndef __GTKSPINCTRLH__
 #define __GTKSPINCTRLH__
 
-#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
-#pragma interface
-#endif
-
 #include "wx/defs.h"
 
 #if wxUSE_SPINCTRL
@@ -28,7 +24,7 @@
 class WXDLLIMPEXP_CORE wxSpinCtrl : public wxControl
 {
 public:
-    wxSpinCtrl() {}
+    wxSpinCtrl();
     wxSpinCtrl(wxWindow *parent,
                wxWindowID id = -1,
                const wxString& value = wxEmptyString,
@@ -69,8 +65,7 @@ public:
     void GtkDisableEvents();
     void GtkEnableEvents();
 
-    GtkAdjustment  *m_adjust;
-    float           m_oldPos;
+    int m_pos;
 
 protected:
     virtual wxSize DoGetBestSize() const;