mirror of
https://github.com/wxWidgets/wxWidgets.git
synced 2026-09-25 17:15:45 +08:00
Remove support for wxMotif
This port hasn't been updated for ages and is not used by anybody any longer, so remove its code to facilitate maintenance. Also remove references to this port from the documentation and most of the other places (VMS-specific descrip.vms files still check for it because it's not clear how to update them all), including configure. Regenerate the latter and rebake all makefiles. Finally document that this port is not available any longer.
This commit is contained in:
@@ -1919,16 +1919,12 @@ void MyFrame::FileOpen2(wxCommandEvent& WXUNUSED(event) )
|
||||
void MyFrame::FilesOpen(wxCommandEvent& WXUNUSED(event) )
|
||||
{
|
||||
wxString wildcards =
|
||||
#ifdef __WXMOTIF__
|
||||
"C++ files (*.cpp)|*.cpp";
|
||||
#else
|
||||
wxString::Format
|
||||
(
|
||||
"All files (%s)|%s|C++ files (*.cpp;*.h)|*.cpp;*.h",
|
||||
wxFileSelectorDefaultWildcardStr,
|
||||
wxFileSelectorDefaultWildcardStr
|
||||
);
|
||||
#endif
|
||||
wxFileDialog dialog(this, "Testing open multiple file dialog",
|
||||
wxEmptyString, wxEmptyString, wildcards,
|
||||
wxFD_OPEN|wxFD_MULTIPLE);
|
||||
@@ -1962,16 +1958,12 @@ void MyFrame::FilesOpen(wxCommandEvent& WXUNUSED(event) )
|
||||
void MyFrame::FilesOpenWindowModal(wxCommandEvent& WXUNUSED(event) )
|
||||
{
|
||||
wxString wildcards =
|
||||
#ifdef __WXMOTIF__
|
||||
"C++ files (*.cpp)|*.cpp";
|
||||
#else
|
||||
wxString::Format
|
||||
(
|
||||
"All files (%s)|%s|C++ files (*.cpp;*.h)|*.cpp;*.h",
|
||||
wxFileSelectorDefaultWildcardStr,
|
||||
wxFileSelectorDefaultWildcardStr
|
||||
);
|
||||
#endif
|
||||
wxFileDialog* dialog = new wxFileDialog(this, "Testing open multiple file dialog",
|
||||
wxEmptyString, wxEmptyString, wildcards,
|
||||
wxFD_OPEN|wxFD_MULTIPLE);
|
||||
|
||||
Reference in New Issue
Block a user