]> 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 425f31f3353837d33e85d5260ffbf4f75dd8e90a..426a01f4b07818051554c390f8a92c299b097457 100644 (file)
 #ifndef __GTKSPINCTRLH__
 #define __GTKSPINCTRLH__
 
-#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
-#pragma interface
-#endif
-
 #include "wx/defs.h"
 
 #if wxUSE_SPINCTRL
 // wxSpinCtrl
 //-----------------------------------------------------------------------------
 
-class wxSpinCtrl : public wxControl
+class WXDLLIMPEXP_CORE wxSpinCtrl : public wxControl
 {
 public:
-    wxSpinCtrl() {}
+    wxSpinCtrl();
     wxSpinCtrl(wxWindow *parent,
                wxWindowID id = -1,
                const wxString& value = wxEmptyString,
@@ -66,12 +62,10 @@ public:
     void OnChar( wxKeyEvent &event );
     
     bool IsOwnGtkWindow( GdkWindow *window );
-    void ApplyWidgetStyle();
     void GtkDisableEvents();
     void GtkEnableEvents();
 
-    GtkAdjustment  *m_adjust;
-    float           m_oldPos;
+    int m_pos;
 
 protected:
     virtual wxSize DoGetBestSize() const;