X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/819559b2ac7d2250097ce0b1d9d443164752be09..0de66257d95b209575daf4d31d3e3aaa83ceca67:/src/xrc/xh_collpane.cpp diff --git a/src/xrc/xh_collpane.cpp b/src/xrc/xh_collpane.cpp index 93ab13c397..70b50113fa 100644 --- a/src/xrc/xh_collpane.cpp +++ b/src/xrc/xh_collpane.cpp @@ -26,7 +26,7 @@ IMPLEMENT_DYNAMIC_CLASS(wxCollapsiblePaneXmlHandler, wxXmlResourceHandler) -wxCollapsiblePaneXmlHandler::wxCollapsiblePaneXmlHandler() +wxCollapsiblePaneXmlHandler::wxCollapsiblePaneXmlHandler() : wxXmlResourceHandler(), m_isInside(false) { XRC_ADD_STYLE(wxCP_NO_TLW_RESIZE); @@ -73,11 +73,11 @@ wxObject *wxCollapsiblePaneXmlHandler::DoCreateResource() GetID(), label, GetPosition(), GetSize(), - GetStyle(_T("style"), wxCP_DEFAULT_STYLE), + GetStyle(wxT("style"), wxCP_DEFAULT_STYLE), wxDefaultValidator, GetName()); - ctrl->Collapse(GetBool(_T("collapsed"))); + ctrl->Collapse(GetBool(wxT("collapsed"))); SetupWindow(ctrl); wxCollapsiblePane *old_par = m_collpane;