moved primitive string and string iterators operations to stringops.h/cpp files to make wxString code easier to read
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45533 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -237,19 +237,10 @@ public:
|
||||
#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;
|
||||
|
Reference in New Issue
Block a user