X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/57bd4c6031d438f11af0ec540136f49a928b923c..69cce151786fff258571659c6c5ef1b50a64ec58:/src/msw/iniconf.cpp diff --git a/src/msw/iniconf.cpp b/src/msw/iniconf.cpp index cce629bbc2..94f347b589 100644 --- a/src/msw/iniconf.cpp +++ b/src/msw/iniconf.cpp @@ -50,6 +50,7 @@ // ---------------------------------------------------------------------------- // ctor & dtor // ---------------------------------------------------------------------------- +IMPLEMENT_ABSTRACT_CLASS(wxIniConfig, wxConfigBase) wxIniConfig::wxIniConfig(const wxString& strAppName, const wxString& strVendor, @@ -260,11 +261,11 @@ bool wxIniConfig::IsEmpty() const GetPrivateProfileString(m_strGroup, NULL, "", szBuf, WXSIZEOF(szBuf), m_strLocalFilename); - if ( !::IsEmpty(szBuf) ) + if ( !wxIsEmpty(szBuf) ) return false; GetProfileString(m_strGroup, NULL, "", szBuf, WXSIZEOF(szBuf)); - if ( !::IsEmpty(szBuf) ) + if ( !wxIsEmpty(szBuf) ) return false; return true; @@ -286,13 +287,13 @@ bool wxIniConfig::DoReadString(const wxString& szKey, wxString *pstr) const // NB: the lpDefault param to GetPrivateProfileString can't be NULL GetPrivateProfileString(m_strGroup, strKey, "", szBuf, WXSIZEOF(szBuf), m_strLocalFilename); - if ( ::IsEmpty(szBuf) ) { + if ( wxIsEmpty(szBuf) ) { // now look in win.ini wxString strKey = GetKeyName(path.Name()); GetProfileString(m_strGroup, strKey, "", szBuf, WXSIZEOF(szBuf)); } - if ( ::IsEmpty(szBuf) ) + if ( wxIsEmpty(szBuf) ) return false; *pstr = szBuf;