X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c4ec0ce8205de4659f1e52d16480b5c025ebc41e..1be2473f5909d77ec93070d390429d92f3e47298:/src/msw/iniconf.cpp diff --git a/src/msw/iniconf.cpp b/src/msw/iniconf.cpp index 020746e828..94f347b589 100644 --- a/src/msw/iniconf.cpp +++ b/src/msw/iniconf.cpp @@ -261,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; @@ -287,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;