From 342a2719e0659ff621ad57111e1d81fd8332b1eb Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Wed, 21 Mar 2007 23:36:17 +0000 Subject: [PATCH] use wxIsEmpty() instead of deprecated IsEmpty() git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45006 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/msw/iniconf.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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;