#endif
wxUniChar::value_type GetValue() const { return UniChar().GetValue(); }
- bool IsAscii() const { return UniChar().GetValue(); }
+ bool IsAscii() const { return UniChar().IsAscii(); }
// Assignment operators:
#if wxUSE_UNICODE_UTF8
#endif
private:
- wxUniChar UniChar() const
- {
#if wxUSE_UNICODE_UTF8
- return DecodeChar(m_pos);
+ wxUniChar UniChar() const;
#else
- return *m_pos;
-#endif
- }
-
-#if wxUSE_UNICODE_UTF8
- // FIXME-UTF8: move this to a separate 'string operations' class
- static wxUniChar DecodeChar(wxStringImpl::const_iterator i);
- friend class WXDLLIMPEXP_BASE wxString;
+ wxUniChar UniChar() const { return *m_pos; }
#endif
friend class WXDLLIMPEXP_BASE wxUniChar;