X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fb9010ed40454cc978a9cbaa6de2ee41ea8b6c84..d642db66a5efc82d374b813022c72ba88bc50839:/include/wx/os2/iniconf.h?ds=sidebyside diff --git a/include/wx/os2/iniconf.h b/include/wx/os2/iniconf.h index 28c7436509..07cb3ef0ff 100644 --- a/include/wx/os2/iniconf.h +++ b/include/wx/os2/iniconf.h @@ -1,5 +1,5 @@ /////////////////////////////////////////////////////////////////////////////// -// Name: include/wx/msw/iniconf.h +// Name: wx/os2/iniconf.h // Purpose: INI-file based wxConfigBase implementation // Author: David Webster // Modified by: @@ -35,7 +35,7 @@ // same as appname). The file name (strAppName parameter) may, in fact, // contain the full path to the file. If it doesn't, the file is searched for // in the Windows directory. -class WXDLLEXPORT wxIniConfig : public wxConfigBase +class WXDLLIMPEXP_CORE wxIniConfig : public wxConfigBase { public: // ctor & dtor @@ -107,13 +107,15 @@ private: m_strPath; // the rest of the path (no trailing '_'!) // Virtual function hiding virtual bool Read(const wxString& key, bool* val) const - { return(wxConfigBase::Read(key, val));}; + { return(wxConfigBase::Read(key, val));} virtual bool Read(const wxString& key, bool* val, bool defVal) const - { return(wxConfigBase::Read(key, val, defVal));}; + { return(wxConfigBase::Read(key, val, defVal));} virtual bool Write(const wxString& key, double value) - { return(wxConfigBase::Write(key, value));}; + { return(wxConfigBase::Write(key, value));} virtual bool Write(const wxString& key, bool value) - { return(wxConfigBase::Write(key, value));}; + { return(wxConfigBase::Write(key, value));} + virtual bool Write(const wxString& key, const char* value) + { return(wxConfigBase::Write(key, value));} }; #endif //_INICONF_H