Allow using wxALIGN_CENTER in XRC for wxStaticText.
Only wxALIGN_CENTRE was allowed previously in the XRC, while both worked in the code and also even in XRC but for wxSizer alignment. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76695 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
693c95fa93
commit
fea900aceb
@ -30,6 +30,7 @@ wxStaticTextXmlHandler::wxStaticTextXmlHandler()
|
||||
XRC_ADD_STYLE(wxST_NO_AUTORESIZE);
|
||||
XRC_ADD_STYLE(wxALIGN_LEFT);
|
||||
XRC_ADD_STYLE(wxALIGN_RIGHT);
|
||||
XRC_ADD_STYLE(wxALIGN_CENTER);
|
||||
XRC_ADD_STYLE(wxALIGN_CENTRE);
|
||||
AddWindowStyles();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user