X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e5e10e234e2325fa6e25b23098470c5015e07a01..9e9574fe45b176ee74bba8fad7574cf9906145d1:/interface/wx/config.h?ds=sidebyside diff --git a/interface/wx/config.h b/interface/wx/config.h index 67657ed11e..aa38426fda 100644 --- a/interface/wx/config.h +++ b/interface/wx/config.h @@ -2,10 +2,21 @@ // Name: config.h // Purpose: interface of wxConfigBase // Author: wxWidgets team -// RCS-ID: $Id$ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// + +// Flags for constructor style parameter +enum +{ + wxCONFIG_USE_LOCAL_FILE = 1, + wxCONFIG_USE_GLOBAL_FILE = 2, + wxCONFIG_USE_RELATIVE_PATH = 4, + wxCONFIG_USE_NO_ESCAPE_CHARACTERS = 8, + wxCONFIG_USE_SUBDIR = 16 +}; + + /** @class wxConfigBase @@ -779,7 +790,7 @@ public: # config file for my program UserData = $HOME/data - # the following syntax is valud only under Windows + # the following syntax is valid only under Windows UserData = %windir%\\data.dat @endcode @@ -905,7 +916,7 @@ public: @library{wxbase} @category{cfg} */ -class WXDLLIMPEXP_BASE wxConfigPathChanger +class wxConfigPathChanger { public: