]> git.saurik.com Git - wxWidgets.git/commitdiff
use wxIsEmpty() instead of deprecated IsEmpty()
authorVadim Zeitlin <vadim@wxwidgets.org>
Wed, 21 Mar 2007 23:36:17 +0000 (23:36 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Wed, 21 Mar 2007 23:36:17 +0000 (23:36 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45006 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/msw/iniconf.cpp

index 020746e828e8bcd5d7c2ba8067b825f5f5edbc5b..94f347b589a9a1fdc51889fc6c21294c49d2a466 100644 (file)
@@ -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;