]> git.saurik.com Git - wxWidgets.git/blobdiff - contrib/src/xrc/xh_gdctl.cpp
Warning fixes, source cleaning.
[wxWidgets.git] / contrib / src / xrc / xh_gdctl.cpp
index afd71480e91adfd28b3cbe7a3a5b076d8c1b3975..5a8226ebb7c640170c9bc83dabfcb4651fed3ede 100644 (file)
@@ -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")),