modified wxEncodingConverter API to report failures
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30562 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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) const;
|
||||
void Convert(char* str) const { Convert(str, str); }
|
||||
bool Convert(const char* input, char* output) const;
|
||||
bool Convert(char* str) const { return Convert(str, str); }
|
||||
wxString Convert(const wxString& input) const;
|
||||
|
||||
#if wxUSE_WCHAR_T
|
||||
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); }
|
||||
bool Convert(const char* input, wchar_t* output) const;
|
||||
bool Convert(const wchar_t* input, char* output) const;
|
||||
bool Convert(const wchar_t* input, wchar_t* output) const;
|
||||
bool Convert(wchar_t* str) const { return Convert(str, str); }
|
||||
#endif
|
||||
// Return equivalent(s) for given font that are used
|
||||
// under given platform. wxPLATFORM_CURRENT means the plaform
|
||||
|
Reference in New Issue
Block a user