]> git.saurik.com Git - wxWidgets.git/commitdiff
add wxHAS_MULTIPLE_FILEDLG_FILTERS symbol to be used instead of explicit tests for...
authorVadim Zeitlin <vadim@wxwidgets.org>
Thu, 29 Jan 2009 12:50:06 +0000 (12:50 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Thu, 29 Jan 2009 12:50:06 +0000 (12:50 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58492 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

docs/doxygen/mainpages/const_cpp.h
include/wx/filedlg.h

index 953bc5e7654ac865f0f47a3de52963a164261793..d8ef19b7840e42535e6c3ee5b3c69173656e5491 100644 (file)
@@ -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).}
index ed59dec2385aabb96698d047a379af928c0d76b8..68639359df7bc257c82251364643d399e21e29b8 100644 (file)
 #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
 //----------------------------------------------------------------------------