add wxHAS_MULTIPLE_FILEDLG_FILTERS symbol to be used instead of explicit tests for the platforms
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58492 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -196,6 +196,7 @@ Currently the following symbols exist:
|
||||
supports template Read() and Write() methods in wxConfig.}
|
||||
@itemdef{wxHAS_LARGE_FILES, Defined if wxFile supports files more than 4GB in size.}
|
||||
@itemdef{wxHAS_LARGE_FFILES, Defined if wxFFile supports files more than 4GB in size.}
|
||||
@itemdef{wxHAS_MULTIPLE_FILEDLG_FILTERS, Defined if wxFileDialog supports multiple ('|'-separated) filters.}
|
||||
@itemdef{wxHAS_POWER_EVENTS, Defined if wxPowerEvent are ever generated on the current platform.}
|
||||
@itemdef{wxHAS_RADIO_MENU_ITEMS,
|
||||
Defined if the current port supports radio menu items (see wxMenu::AppendRadioItem).}
|
||||
|
@@ -19,6 +19,11 @@
|
||||
#include "wx/dialog.h"
|
||||
#include "wx/arrstr.h"
|
||||
|
||||
// this symbol is defined for the platforms which support multiple
|
||||
#if defined(__WXMSW__) || defined(__WXGTK__) || defined(__WXMAC__)
|
||||
#define wxHAS_MULTIPLE_FILEDLG_FILTERS
|
||||
#endif
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
// wxFileDialog data
|
||||
//----------------------------------------------------------------------------
|
||||
|
Reference in New Issue
Block a user