X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fcore%2Fapplication.cpp;h=daeb1300d16602fcd1ff3c9f3ca82952a2b2a50a;hb=cd89068b8ebafdc0f888c1aa21498bb93b55d814;hp=82134df90af16cba7fcab8457819c9cad5a55902;hpb=bddffe4de070f28bcc1def8bfc5f86dc385aa81f;p=libs%2Fcore.git diff --git a/source/core/application.cpp b/source/core/application.cpp index 82134df..daeb130 100644 --- a/source/core/application.cpp +++ b/source/core/application.cpp @@ -66,7 +66,7 @@ int Application::run(int argc, char **argv, void *data) #ifdef WIN32 string msg=Debug::demangle(typeid(e).name())+":\n"+e.what(); - MessageBox(0, msg.c_str(), "Uncaught exception", MB_OK|MB_ICONERROR); + MessageBoxA(0, msg.c_str(), "Uncaught exception", MB_OK|MB_ICONERROR); #else cerr<<"An uncaught exception occurred.\n"; cerr<<" type: "<