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/branches/WX_3_0_BRANCH@76693 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -607,6 +607,7 @@ All (GUI):
|
||||
- Don't show the dialog twice for colours in wxPropertyGrid (Artur Wieczorek).
|
||||
- Fix handling of custom colours in wxPropertyGrid choices (Artur Wieczorek).
|
||||
- Add "hint" property to wxTextCtrl XRC handler.
|
||||
- Allow using wxALIGN_CENTER, and not just CENTRE, in XRC for wxStaticText.
|
||||
|
||||
wxGTK:
|
||||
|
||||
|
@@ -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();
|
||||
}
|
||||
|
Reference in New Issue
Block a user