- const wxPoint& pos )
- : wxDialog( parent, -1, message, pos, wxDefaultSize,
- wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER )
+ const wxPoint& pos,
+ bool bypassGenericImpl )
+ :wxFileDialogBase(parent, message, defaultDir, defaultFile, wildCard, style, pos)
+{
+ m_bypassGenericImpl = bypassGenericImpl;
+
+ if (!m_bypassGenericImpl)
+ Create( parent, message, defaultDir, defaultFile, wildCard, style, pos );
+}
+
+bool wxGenericFileDialog::Create( wxWindow *parent,
+ const wxString& message,
+ const wxString& WXUNUSED(defaultDir),
+ const wxString& defaultFile,
+ const wxString& wildCard,
+ long WXUNUSED(style),
+ const wxPoint& pos )