X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6ad421ae901eee8388c841fa86254355254ca624..dcc1aa238271267e92069d834781ee8fd15007bd:/wxPython/src/_config.i diff --git a/wxPython/src/_config.i b/wxPython/src/_config.i index fd5fe6d4be..7d15765a19 100644 --- a/wxPython/src/_config.i +++ b/wxPython/src/_config.i @@ -51,18 +51,19 @@ classes. It can not be used by itself (it is an abstract base class) and you will always use one of its derivations: wx.Config or wx.FileConfig. -wx.ConfigBase organizes the items in a tree-like structure -(modeled after the Unix/Dos filesystem). There are groups -(directories) and keys (files). There is always one current -group given by the current path. As in the file system case, to -specify a key in the config class you must use a path to it. -Config classes also support the notion of the current group, -which makes it possible to use relative paths. - -Keys are pairs \"key_name = value\" where value may be of string, integer -floating point or boolean, you can not store binary data without first -encoding it as a string. For performance reasons items should be kept small, -no more than a couple kilobytes. +wx.ConfigBase organizes the items in a tree-like structure, +modeled after the Unix/Dos filesystem. There are groups that act +like directories and entries, key/value pairs that act like +files. There is always one current group given by the current +path. As in the file system case, to specify a key in the config +class you must use a path to it. Config classes also support the +notion of the current group, which makes it possible to use +relative paths. + +Keys are pairs \"key_name = value\" where value may be of string, +integer floating point or boolean, you can not store binary data +without first encoding it as a string. For performance reasons +items should be kept small, no more than a couple kilobytes. "); @@ -382,7 +383,7 @@ public: const wxString& vendorName = wxPyEmptyString, const wxString& localFilename = wxPyEmptyString, const wxString& globalFilename = wxPyEmptyString, - long style = 0), + long style = wxCONFIG_USE_LOCAL_FILE | wxCONFIG_USE_GLOBAL_FILE), ""); ~wxConfig(); @@ -401,7 +402,7 @@ public: const wxString& vendorName = wxPyEmptyString, const wxString& localFilename = wxPyEmptyString, const wxString& globalFilename = wxPyEmptyString, - long style = 0), + long style = wxCONFIG_USE_LOCAL_FILE | wxCONFIG_USE_GLOBAL_FILE), ""); ~wxFileConfig();