+ if ( m_title.empty() )
+ {
+ // Use the default title, which should include the application name
+ // under both MSW and GTK (and OSX uses its own native
+ // implementation anyhow).
+ m_title.Printf(_("%s Preferences"), wxTheApp->GetAppDisplayName());
+ }
+
+ wxGenericPrefsDialog *dlg = new wxGenericPrefsDialog(parent, m_title);