#ifdef __WXMOTIF__
_T("C++ files (*.cpp)|*.cpp")
#else
- _T("C++ files (*.h;*.cpp)|*.h;*.cpp")
+ _T("C++ files (*.cpp;*.h)|*.cpp;*.h")
#endif
);
#ifdef __WXMOTIF__
_T("C++ files (*.cpp)|*.cpp");
#else
- _T("All files (*.*)|*.*|C++ files (*.h;*.cpp)|*.h;*.cpp");
+ _T("All files (*.*)|*.*|C++ files (*.cpp;*.h)|*.cpp;*.h");
#endif
wxFileDialog dialog(this, _T("Testing open multiple file dialog"),
wxEmptyString, wxEmptyString, wildcards,
_T("Testing open file dialog"),
wxEmptyString,
wxEmptyString,
- _T("C++ files (*.h;*.cpp)|*.h;*.cpp")
+ _T("C++ files (*.cpp;*.h)|*.cpp;*.h")
);
dialog.SetDirectory(wxGetHomeDir());
void MyFrame::FilesOpenGeneric(wxCommandEvent& WXUNUSED(event) )
{
- wxString wildcards = _T("All files (*.*)|*.*|C++ files (*.h;*.cpp)|*.h;*.cpp");
+ wxString wildcards = _T("All files (*.*)|*.*|C++ files (*.cpp;*.h)|*.cpp;*.h");
wxGenericFileDialog dialog(this, _T("Testing open multiple file dialog"),
wxEmptyString, wxEmptyString, wildcards,
wxMULTIPLE);
dc.SetFont(wxGetApp().m_canvasFont);
dc.SetTextForeground(wxGetApp().m_canvasTextColour);
dc.SetBackgroundMode(wxTRANSPARENT);
- dc.DrawText(_T("wxWidgets common dialogs test application"), 10, 10);
+ dc.DrawText(
+ _T("wxWidgets common dialogs")
+#if !defined(__SMARTPHONE__)
+ _T(" test application")
+#endif
+ , 10, 10);
}
#if USE_MODAL_PRESENTATION