]> git.saurik.com Git - wxWidgets.git/commitdiff
Fix to wxChar* access.
authorWłodzimierz Skiba <abx@abx.art.pl>
Tue, 18 May 2004 12:22:34 +0000 (12:22 +0000)
committerWłodzimierz Skiba <abx@abx.art.pl>
Tue, 18 May 2004 12:22:34 +0000 (12:22 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27334 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/appbase.cpp

index d479bef6e1dbd0efef91195c7815efba152c4e92..81088e790821c7e12c58ab9493bbfa35a4a47b4d 100644 (file)
@@ -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."),
                    lib.c_str(), progName.c_str(), prog.c_str());
 
-        wxLogFatalError(msg);
+        wxLogFatalError(msg.c_str());
 
         // normally wxLogFatalError doesn't return
         return FALSE;