diff --git a/interface/wx/spinctrl.h b/interface/wx/spinctrl.h index 0b88027f09..958f0869eb 100644 --- a/interface/wx/spinctrl.h +++ b/interface/wx/spinctrl.h @@ -23,7 +23,7 @@ dialog) under MSW. @style{wxALIGN_LEFT} Same as wxTE_LEFT for wxTextCtrl: the text is left aligned. - @style{wxALIGN_CENTRE} + @style{wxALIGN_CENTRE_HORIZONTAL} Same as wxTE_CENTRE for wxTextCtrl: the text is centered. @style{wxALIGN_RIGHT} Same as wxTE_RIGHT for wxTextCtrl: the text is right aligned (this is diff --git a/interface/wx/stattext.h b/interface/wx/stattext.h index 08fddf0b15..5df00457e9 100644 --- a/interface/wx/stattext.h +++ b/interface/wx/stattext.h @@ -25,7 +25,7 @@ Align the text to the left. @style{wxALIGN_RIGHT} Align the text to the right. - @style{wxALIGN_CENTRE} + @style{wxALIGN_CENTRE_HORIZONTAL} Center the text (horizontally). @style{wxST_NO_AUTORESIZE} By default, the control will adjust its size to exactly fit to the