Fix incorrect string translation macros.

* Replace _T() with _() for translatable strings.

* Don't translate debug messages.

* Don't translate copyright symbol.
This commit is contained in:
Wayne Stambaugh
2016-09-03 12:10:49 -04:00
parent f477cc958c
commit cbcb3b896b
5 changed files with 8 additions and 8 deletions
+2 -2
View File
@@ -287,10 +287,10 @@ wxWindow* CreatePythonShellWindow( wxWindow* parent, const wxString& aFramenameI
{
// Otherwise, get the returned window out of Python-land and
// into C++-ville...
bool success = wxPyConvertSwigPtr( result, (void**) &window, _T( "wxWindow" ) );
bool success = wxPyConvertSwigPtr( result, (void**) &window, "wxWindow" );
(void) success;
wxASSERT_MSG( success, _T( "Returned object was not a wxWindow!" ) );
wxASSERT_MSG( success, "Returned object was not a wxWindow!" );
Py_DECREF( result );
window->SetName( aFramenameId );