Instead of always using the Python default encoding for converting
string and unicode objects to/from wxStrings. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31022 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -355,6 +355,21 @@ DocDeclStrName(
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
DocDeclAStr(
|
||||
void , wxSetDefaultPyEncoding(const char* encoding),
|
||||
"SetDefaultPyEncoding(string encoding)",
|
||||
"Sets the encoding that wxPython will use when it needs to convert a
|
||||
Python string or unicode object to or from a wxString.", "");
|
||||
|
||||
DocDeclAStr(
|
||||
const char* , wxGetDefaultPyEncoding(),
|
||||
"GetDefaultPyEncoding() -> string",
|
||||
"Gets the current encoding that wxPython will use when it needs to
|
||||
convert a Python string or unicode object to or from a wxString.", "");
|
||||
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
// Include some extra wxApp related python code here
|
||||
|
||||
|
||||
Reference in New Issue
Block a user