const wchar_t* AsWChar() const;
operator const wchar_t*() const { return AsWChar(); }
- inline operator bool() const;
-
#if !wxUSE_UNICODE
inline
#endif
delete m_str;
}
-inline wxCStrData::operator bool() const
-{
- return !m_str->empty();
-}
-
// simple cases for AsChar() and AsWChar(), the complicated ones are
// in string.cpp
#if wxUSE_UNICODE_WCHAR