Fix to wxChar* access.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27334 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -410,7 +410,7 @@ bool wxAppConsole::CheckBuildOptions(const char *optionsSignature,
|
|||||||
msg.Printf(_T("Mismatch between the program and library build versions detected.\nThe library used %s,\nand %s used %s."),
|
msg.Printf(_T("Mismatch between the program and library build versions detected.\nThe library used %s,\nand %s used %s."),
|
||||||
lib.c_str(), progName.c_str(), prog.c_str());
|
lib.c_str(), progName.c_str(), prog.c_str());
|
||||||
|
|
||||||
wxLogFatalError(msg);
|
wxLogFatalError(msg.c_str());
|
||||||
|
|
||||||
// normally wxLogFatalError doesn't return
|
// normally wxLogFatalError doesn't return
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
Reference in New Issue
Block a user