-
- wxDialog dlg(m_PropFrame, -1, _("Flags"),
- wxPoint(cfg->Read(_T("flagsdlg_x"), -1), cfg->Read(_T("flagsdlg_y"), -1)),
+
+ wxDialog dlg(m_PropFrame, wxID_ANY, _("Flags"),
+ wxPoint(cfg->Read(_T("flagsdlg_x"), wxDefaultCoord), cfg->Read(_T("flagsdlg_y"), wxDefaultCoord)),