From: Václav Slavík Date: Fri, 1 Jun 2001 21:47:13 +0000 (+0000) Subject: added alignment style to wxStaticText handler X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/938123ef4dd66c84d3cbb19dd37df13957073eb6 added alignment style to wxStaticText handler git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10408 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/contrib/src/xml/xh_sttxt.cpp b/contrib/src/xml/xh_sttxt.cpp index bfecff2584..7ca215aac7 100644 --- a/contrib/src/xml/xh_sttxt.cpp +++ b/contrib/src/xml/xh_sttxt.cpp @@ -25,7 +25,10 @@ wxStaticTextXmlHandler::wxStaticTextXmlHandler() : wxXmlResourceHandler() { - ADD_STYLE( wxST_NO_AUTORESIZE ); + ADD_STYLE(wxST_NO_AUTORESIZE); + ADD_STYLE(wxALIGN_LEFT); + ADD_STYLE(wxALIGN_RIGHT); + ADD_STYLE(wxALIGN_CENTRE); AddWindowStyles(); }