X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/af49c4b8a2d3553e733e71c7dd3911881f4c1a2a..af3aefcf062c4d5e81e0711b1ff8ef7356c5f64c:/include/wx/mac/spinctrl.h?ds=sidebyside diff --git a/include/wx/mac/spinctrl.h b/include/wx/mac/spinctrl.h index 76f0dc3412..9ffd5d1ee2 100755 --- a/include/wx/mac/spinctrl.h +++ b/include/wx/mac/spinctrl.h @@ -22,7 +22,7 @@ #if wxUSE_SPINBTN -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "spinctlg.h" #endif @@ -60,6 +60,9 @@ public: int min = 0, int max = 100, int initial = 0, const wxString& name = _T("wxSpinCtrl")); + // wxTextCtrl-like method + void SetSelection(long from, long to); + virtual ~wxSpinCtrl(); // operations