X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b875c8a8fc5774d886571ffb0b3658b21e440f72..7529250b88f61580d60a3241a8a7fe339928e9a5:/src/xrc/xh_dlg.cpp diff --git a/src/xrc/xh_dlg.cpp b/src/xrc/xh_dlg.cpp index df59a766a1..4cab711187 100644 --- a/src/xrc/xh_dlg.cpp +++ b/src/xrc/xh_dlg.cpp @@ -66,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")))