X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ad9835c97c10c0d7de345e3a7a7c0fc2776eb2cb..d949570b6673dadd764686213afb89bddb6f19da:/src/os2/iniconf.cpp diff --git a/src/os2/iniconf.cpp b/src/os2/iniconf.cpp index db81983a3a..1aaa908772 100644 --- a/src/os2/iniconf.cpp +++ b/src/os2/iniconf.cpp @@ -21,10 +21,9 @@ #include "wx/event.h" #include "wx/app.h" #include "wx/utils.h" + #include "wx/log.h" #endif //WX_PRECOMP -#include "wx/log.h" - #include "wx/config.h" #include "wx/os2/iniconf.h" @@ -256,11 +255,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; @@ -282,14 +281,14 @@ bool wxIniConfig::Read(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((PSZ)szBuf) ) + if ( ::wxIsEmpty((PSZ)szBuf) ) { // now look in win.ini wxString strKey = GetKeyName(path.Name()); // GetProfileString(m_strGroup, strKey, "", szBuf, WXSIZEOF(szBuf)); } - if ( ::IsEmpty((PSZ)szBuf) ) + if ( ::wxIsEmpty((PSZ)szBuf) ) { return false; } @@ -311,14 +310,14 @@ bool wxIniConfig::Read(const wxString& szKey, wxString *pstr, // NB: the lpDefault param to GetPrivateProfileString can't be NULL // GetPrivateProfileString(m_strGroup, strKey, "", // szBuf, WXSIZEOF(szBuf), m_strLocalFilename); - if ( ::IsEmpty((PSZ)szBuf) ) + if ( ::wxIsEmpty((PSZ)szBuf) ) { // now look in win.ini wxString strKey = GetKeyName(path.Name()); // GetProfileString(m_strGroup, strKey, "", szBuf, WXSIZEOF(szBuf)); } - if ( ::IsEmpty((PSZ)szBuf) ) + if ( ::wxIsEmpty((PSZ)szBuf) ) { *pstr = szDefault; return false;