X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e7a0050ff5059829024dca96d45985b6276715f1..f53b1c1e6f5546e9916debbf5f93c652edca0ef6:/contrib/src/xrc/xh_listc.cpp?ds=inline diff --git a/contrib/src/xrc/xh_listc.cpp b/contrib/src/xrc/xh_listc.cpp index f133a894f7..f6c9eab2c2 100644 --- a/contrib/src/xrc/xh_listc.cpp +++ b/contrib/src/xrc/xh_listc.cpp @@ -7,7 +7,7 @@ // Copyright: (c) 2000 Brian Gavin // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// - + #ifdef __GNUG__ #pragma implementation "xh_listc.h" #endif @@ -26,8 +26,8 @@ IMPLEMENT_DYNAMIC_CLASS(wxListCtrlXmlHandler, wxXmlResourceHandler) -wxListCtrlXmlHandler::wxListCtrlXmlHandler() -: wxXmlResourceHandler() +wxListCtrlXmlHandler::wxListCtrlXmlHandler() +: wxXmlResourceHandler() { XRC_ADD_STYLE(wxLC_LIST); XRC_ADD_STYLE(wxLC_REPORT); @@ -50,7 +50,7 @@ wxListCtrlXmlHandler::wxListCtrlXmlHandler() } wxObject *wxListCtrlXmlHandler::DoCreateResource() -{ +{ XRC_MAKE_INSTANCE(list, wxListCtrl) list->Create(m_parentAsWindow, @@ -61,9 +61,9 @@ wxObject *wxListCtrlXmlHandler::DoCreateResource() GetName()); // FIXME: add columns definition - + SetupWindow(list); - + return list; }