X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ace1785b153d4873a7c7684047c144facd11a26d..4b7ded8bad3a45ea4838e6d3f5d1957a134050ec:/contrib/src/xrc/xh_scwin.cpp diff --git a/contrib/src/xrc/xh_scwin.cpp b/contrib/src/xrc/xh_scwin.cpp index 2ac6d4face..275bafed64 100644 --- a/contrib/src/xrc/xh_scwin.cpp +++ b/contrib/src/xrc/xh_scwin.cpp @@ -7,7 +7,7 @@ // Copyright: (c) 2002 Vaclav Slavik // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// - + #ifdef __GNUG__ #pragma implementation "xh_scwin.h" #endif @@ -24,8 +24,8 @@ IMPLEMENT_DYNAMIC_CLASS(wxScrolledWindowXmlHandler, wxXmlResourceHandler) -wxScrolledWindowXmlHandler::wxScrolledWindowXmlHandler() -: wxXmlResourceHandler() +wxScrolledWindowXmlHandler::wxScrolledWindowXmlHandler() +: wxXmlResourceHandler() { XRC_ADD_STYLE(wxHSCROLL); XRC_ADD_STYLE(wxVSCROLL); @@ -33,7 +33,7 @@ wxScrolledWindowXmlHandler::wxScrolledWindowXmlHandler() } wxObject *wxScrolledWindowXmlHandler::DoCreateResource() -{ +{ XRC_MAKE_INSTANCE(control, wxScrolledWindow) control->Create(m_parentAsWindow, @@ -44,7 +44,7 @@ wxObject *wxScrolledWindowXmlHandler::DoCreateResource() SetupWindow(control); CreateChildren(control); - + return control; }