const wxString& defaultPath, long style,
const wxPoint& pos, const wxSize& sz,
const wxString& name):
- wxDialog(parent, ID_DIRCTRL, title, pos, sz, style, name)
+ wxDirDialogBase(parent, title, defaultPath, style, pos, sz, name)
+{
+ Create(parent, title, defaultPath, style, pos, sz, name);
+}
+
+bool wxGenericDirDialog::Create(wxWindow* parent, const wxString& title,
+ const wxString& defaultPath, long style,
+ const wxPoint& pos, const wxSize& sz,
+ const wxString& name)
{
wxBusyCursor cursor;
topsizer->Fit( this );
Centre( wxBOTH );
+
+ return true;
}
void wxGenericDirDialog::OnCloseWindow(wxCloseEvent& WXUNUSED(event))