]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk1/spinctrl.h
Fix missing documentation for several GDI functions.
[wxWidgets.git] / include / wx / gtk1 / spinctrl.h
index e748a60ac9162b980dfc86dbe7eaaab0ef36efee..e1fb0b8cd6b92dccb2a8c2e58311a639e4124ef3 100644 (file)
@@ -68,7 +68,10 @@ public:
     GtkAdjustment  *m_adjust;
     float           m_oldPos;
 
-protected:
+    virtual int GetBase() const { return m_base; }
+    virtual bool SetBase(int base);
+
+ protected:
     virtual wxSize DoGetBestSize() const;
 
     // Widgets that use the style->base colour for the BG colour should
@@ -76,6 +79,14 @@ protected:
     virtual bool UseGTKStyleBase() const { return true; }
 
 private:
+    // Common part of all ctors.
+    void Init()
+    {
+        m_base = 10;
+    }
+
+    int m_base;
+
     DECLARE_DYNAMIC_CLASS(wxSpinCtrl)
     DECLARE_EVENT_TABLE()
 };