X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ab46ac0e4b46f19bcf80085bedbd1ef6d4cfc29d..d3e0ffbcd01cd6172234f9dc14f870ed6e1125cd:/src/xrc/xh_dlg.cpp diff --git a/src/xrc/xh_dlg.cpp b/src/xrc/xh_dlg.cpp index bf4adb74ad..4cab711187 100644 --- a/src/xrc/xh_dlg.cpp +++ b/src/xrc/xh_dlg.cpp @@ -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")))