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:
Václav Slavík
2007-04-19 10:05:55 +00:00
parent e7308074d8
commit 467175ab3f
16 changed files with 654 additions and 533 deletions

View File

@@ -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;