From: <ki...@us...> - 2011-12-15 14:42:32
|
Revision: 37204 http://crystal.svn.sourceforge.net/crystal/?rev=37204&view=rev Author: kickvb Date: 2011-12-15 14:42:22 +0000 (Thu, 15 Dec 2011) Log Message: ----------- Don't use wxString::FromUTF8 since it is only available since wx 2.8.4. This should fix #932. Modified Paths: -------------- CS/trunk/plugins/video/canvas/wxgl/GLWXDriver2D.cpp Modified: CS/trunk/plugins/video/canvas/wxgl/GLWXDriver2D.cpp =================================================================== --- CS/trunk/plugins/video/canvas/wxgl/GLWXDriver2D.cpp 2011-12-15 04:24:36 UTC (rev 37203) +++ CS/trunk/plugins/video/canvas/wxgl/GLWXDriver2D.cpp 2011-12-15 14:42:22 UTC (rev 37204) @@ -85,16 +85,16 @@ switch (type) { case CS_ALERT_ERROR: - wxMessageBox (wxString::FromUTF8 (message), wxT("Error!"), + wxMessageBox (wxString (message, wxConvUTF8), wxT("Error!"), wxICON_ERROR, myParent); break; case CS_ALERT_WARNING: - wxMessageBox (wxString::FromUTF8 (message), wxT("Warning!"), + wxMessageBox (wxString (message, wxConvUTF8), wxT("Warning!"), wxICON_EXCLAMATION, myParent); break; default: case CS_ALERT_NOTE: - wxMessageBox (wxString::FromUTF8 (message), wxT("Note!"), + wxMessageBox (wxString (message, wxConvUTF8), wxT("Note!"), wxICON_INFORMATION, myParent); break; } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |