more changes to make wx compile without implicit wxString->char* conversion (for STL build)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46553 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -157,7 +157,7 @@ IMPLEMENT_LOG_FUNCTION(Status)
|
||||
void wxSafeShowMessage(const wxString& title, const wxString& text)
|
||||
{
|
||||
#ifdef __WINDOWS__
|
||||
::MessageBox(NULL, text, title, MB_OK | MB_ICONSTOP);
|
||||
::MessageBox(NULL, text.wx_str(), title.wx_str(), MB_OK | MB_ICONSTOP);
|
||||
#else
|
||||
wxFprintf(stderr, _T("%s: %s\n"), title.c_str(), text.c_str());
|
||||
fflush(stderr);
|
||||
|
Reference in New Issue
Block a user