X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/42561c3caf6d96fbe208d65264d687091e67ed7c..2a8312bced9d3f3415383a79a15cad2acf447b7e:/interface/wx/spinctrl.h diff --git a/interface/wx/spinctrl.h b/interface/wx/spinctrl.h index ce25c046a8..1ad48949a3 100644 --- a/interface/wx/spinctrl.h +++ b/interface/wx/spinctrl.h @@ -14,9 +14,14 @@ @beginStyleTable @style{wxSP_ARROW_KEYS} - The user can use arrow keys to change the value. + The user can use arrow keys to change the value. @style{wxSP_WRAP} - The value wraps at the minimum and maximum. + The value wraps at the minimum and maximum. + @style{wxTE_PROCESS_ENTER} + Indicates that the control should generate wxEVT_COMMAND_TEXT_ENTER + events. Using this style will prevent the user from using the Enter key + for dialog navigation (e.g. activating the default button in the + dialog) under MSW. @endStyleTable @library{wxcore} @@ -113,7 +118,7 @@ public: /** Sets the value of the spin control. Use the variant using int instead. */ - void SetValue(const wxString& text); + virtual void SetValue(const wxString& text); /** Sets the value of the spin control.