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:
Robin Dunn
2004-12-15 21:15:28 +00:00
parent e2ac17aa7a
commit 27c9e43cc0
5 changed files with 47 additions and 4 deletions

View File

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