#include "wx/xrc/xh_dlg.h"
#include "wx/dialog.h"
+#include "wx/frame.h"
#include "wx/log.h"
#include "wx/intl.h"
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")))