]> git.saurik.com Git - wxWidgets.git/blobdiff - src/xrc/xh_dlg.cpp
Use wxMBConvUTF8 when G_FILENAME_ENCODING is UTF-8, and set
[wxWidgets.git] / src / xrc / xh_dlg.cpp
index bf4adb74ad070daaa48df8896c5c5a74b65cec15..4cab7111876ae9bde9fa49005e49da7f1ef045d5 100644 (file)
@@ -23,6 +23,7 @@
 
 #include "wx/xrc/xh_dlg.h"
 #include "wx/dialog.h"
+#include "wx/frame.h"
 #include "wx/log.h"
 #include "wx/intl.h"
 
@@ -65,7 +66,7 @@ wxObject *wxDialogXmlHandler::DoCreateResource()
                 GetName());
 
     if (HasParam(wxT("size")))
-        dlg->SetClientSize(GetSize());
+        dlg->SetClientSize(GetSize(wxT("size"), dlg));
     if (HasParam(wxT("pos")))
         dlg->Move(GetPosition());
     if (HasParam(wxT("icon")))