X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/66010e8d0d04c180c51203f9ed7e2c26c78eff25..822e690b221486b63895b5f14a7fbee2bc966fe5:/contrib/src/xrc/xh_gdctl.cpp?ds=sidebyside 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")),