X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/66010e8d0d04c180c51203f9ed7e2c26c78eff25..166bcebb8e87aefb42de52d22d567a8fa316928d:/contrib/src/xrc/xh_gdctl.cpp diff --git a/contrib/src/xrc/xh_gdctl.cpp b/contrib/src/xrc/xh_gdctl.cpp index afd71480e9..5a8226ebb7 100644 --- a/contrib/src/xrc/xh_gdctl.cpp +++ b/contrib/src/xrc/xh_gdctl.cpp @@ -26,6 +26,8 @@ #include "wx/xrc/xh_gdctl.h" #include "wx/dirctrl.h" +IMPLEMENT_DYNAMIC_CLASS(wxGenericDirCtrlXmlHandler, wxXmlResourceHandler) + wxGenericDirCtrlXmlHandler::wxGenericDirCtrlXmlHandler() : wxXmlResourceHandler() { @@ -39,7 +41,7 @@ wxGenericDirCtrlXmlHandler::wxGenericDirCtrlXmlHandler() wxObject *wxGenericDirCtrlXmlHandler::DoCreateResource() { XRC_MAKE_INSTANCE(ctrl, wxGenericDirCtrl) - + ctrl->Create(m_parentAsWindow, GetID(), GetText(wxT("defaultfolder")),