]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/mac/carbon/spinctrl.h
Restore compilation with --enable-stl, fix SetFocus with the generic control, and...
[wxWidgets.git] / include / wx / mac / carbon / spinctrl.h
index 597009107364602d9c782e7443db5bc1199243b7..5c513561a6bb810eab143d92cb2b1fbd1214fb83 100755 (executable)
 
 #if wxUSE_SPINBTN 
 
+#include "wx/containr.h"
+
 class WXDLLEXPORT wxSpinButton;
 class WXDLLEXPORT wxTextCtrl;
+class WXDLLEXPORT wxSpinCtrlText;
+class WXDLLEXPORT wxSpinCtrlButton;
 
 // ----------------------------------------------------------------------------
 // wxSpinCtrl is a combination of wxTextCtrl and wxSpinButton
@@ -104,6 +108,10 @@ private:
     wxTextCtrl *m_text;
     wxSpinButton *m_btn;
     
+    friend class wxSpinCtrlText;
+    friend class wxSpinCtrlButton;
+    
+    int            m_oldValue;
 private:
     DECLARE_EVENT_TABLE()
     DECLARE_DYNAMIC_CLASS(wxSpinCtrl)