X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/854e189f90dac9ba5e0239bca79aed64e8d6f46c..fdf7514a009227ebf09cf8e184b3d96aa33eb026:/src/xrc/xh_sttxt.cpp diff --git a/src/xrc/xh_sttxt.cpp b/src/xrc/xh_sttxt.cpp index e94e9fdbd2..a65e2b4b4f 100644 --- a/src/xrc/xh_sttxt.cpp +++ b/src/xrc/xh_sttxt.cpp @@ -7,7 +7,7 @@ // Copyright: (c) 2000 Bob Mitchell and Verant Interactive // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// - + #ifdef __GNUG__ #pragma implementation "xh_sttxt.h" #endif @@ -24,8 +24,8 @@ IMPLEMENT_DYNAMIC_CLASS(wxStaticTextXmlHandler, wxXmlResourceHandler) -wxStaticTextXmlHandler::wxStaticTextXmlHandler() -: wxXmlResourceHandler() +wxStaticTextXmlHandler::wxStaticTextXmlHandler() +: wxXmlResourceHandler() { XRC_ADD_STYLE(wxST_NO_AUTORESIZE); XRC_ADD_STYLE(wxALIGN_LEFT); @@ -35,7 +35,7 @@ wxStaticTextXmlHandler::wxStaticTextXmlHandler() } wxObject *wxStaticTextXmlHandler::DoCreateResource() -{ +{ XRC_MAKE_INSTANCE(text, wxStaticText) text->Create(m_parentAsWindow, @@ -46,7 +46,7 @@ wxObject *wxStaticTextXmlHandler::DoCreateResource() GetName()); SetupWindow(text); - + return text; }