From a00674a6aeb6ea477857fa8c3007d1bec7d7333a Mon Sep 17 00:00:00 2001 From: Olly Betts Date: Tue, 8 Aug 2017 20:56:00 +1200 Subject: [PATCH] Correct docs for wxSpinCtrlDouble style parameter The default in the code was changed as a result of #10621 but the docs weren't updated to match. Closes #17914. See https://github.com/wxWidgets/wxWidgets/pull/534 --- interface/wx/spinctrl.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/interface/wx/spinctrl.h b/interface/wx/spinctrl.h index 404451ab11..ca43744bbd 100644 --- a/interface/wx/spinctrl.h +++ b/interface/wx/spinctrl.h @@ -98,7 +98,7 @@ public: const wxString& value = wxEmptyString, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, - long style = wxSP_ARROW_KEYS, + long style = wxSP_ARROW_KEYS | wxALIGN_RIGHT, int min = 0, int max = 100, int initial = 0, const wxString& name = "wxSpinCtrl"); @@ -110,7 +110,8 @@ public: const wxString& value = wxEmptyString, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, - long style = wxSP_ARROW_KEYS, int min = 0, int max = 100, + long style = wxSP_ARROW_KEYS | wxALIGN_RIGHT, + int min = 0, int max = 100, int initial = 0, const wxString& name = "wxSpinCtrl"); /**