]> git.saurik.com Git - wxWidgets.git/blobdiff - src/xrc/xh_dlg.cpp
Clipboard usage fixes inspired by Tinderbox logs.
[wxWidgets.git] / src / xrc / xh_dlg.cpp
index df59a766a108e16278330cc26cb43ead9b416a4d..4cab7111876ae9bde9fa49005e49da7f1ef045d5 100644 (file)
@@ -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")))