made Convert() methods const

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23824 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2003-09-22 20:15:00 +00:00
parent 9769627970
commit 57c5293e49
3 changed files with 19 additions and 19 deletions

View File

@@ -93,15 +93,15 @@ class WXDLLIMPEXP_BASE wxEncodingConverter : public wxObject
// Convert input string according to settings passed to Init.
// Note that you must call Init before using Convert!
void Convert(const char* input, char* output);
void Convert(char* str) { Convert(str, str); }
wxString Convert(const wxString& input);
void Convert(const char* input, char* output) const;
void Convert(char* str) const { Convert(str, str); }
wxString Convert(const wxString& input) const;
#if wxUSE_WCHAR_T
void Convert(const char* input, wchar_t* output);
void Convert(const wchar_t* input, char* output);
void Convert(const wchar_t* input, wchar_t* output);
void Convert(wchar_t* str) { Convert(str, str); }
void Convert(const char* input, wchar_t* output) const;
void Convert(const wchar_t* input, char* output) const;
void Convert(const wchar_t* input, wchar_t* output) const;
void Convert(wchar_t* str) const { Convert(str, str); }
#endif
// Return equivalent(s) for given font that are used
// under given platform. wxPLATFORM_CURRENT means the plaform