X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d427503c3696486ef84cd0e5081884ccd8d6b434..2ce0a6e2d67c73ef32534345a422c2782f7dc091:/include/wx/confbase.h diff --git a/include/wx/confbase.h b/include/wx/confbase.h index c4cfa87538..46336d3d65 100644 --- a/include/wx/confbase.h +++ b/include/wx/confbase.h @@ -186,6 +186,7 @@ public: // Convenience functions virtual bool Write(const wxString& key, double value); virtual bool Write(const wxString& key, bool value); + virtual bool Write(const wxString& key, const wxChar *text ) ; // permanently writes all changes virtual bool Flush(bool bCurrentOnly = FALSE) = 0; @@ -230,11 +231,7 @@ public: protected: static bool IsImmutable(const wxString& key) -#if !defined(__WXMAC__) && !defined(__EMX__) - { return !key.IsEmpty() && key[0u] == wxCONFIG_IMMUTABLE_PREFIX; } -#else - { return !key.IsEmpty() && key[0ul] == wxCONFIG_IMMUTABLE_PREFIX; } -#endif + { return !key.IsEmpty() && key[0] == wxCONFIG_IMMUTABLE_PREFIX; } private: // are we doing automatic environment variable expansion?