projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added wxDialog::GetParentForModalDialog() and use it to try to always create modal...
[wxWidgets.git]
/
src
/
msw
/
main.cpp
diff --git
a/src/msw/main.cpp
b/src/msw/main.cpp
index 4676a2d24159d43ff72dd4c35fcfd97c23477182..ef89ba10616be97e3f1d858a0b029272e6b35085 100644
(file)
--- a/
src/msw/main.cpp
+++ b/
src/msw/main.cpp
@@
-27,6
+27,7
@@
#ifndef WX_PRECOMP
#include "wx/event.h"
#include "wx/app.h"
#ifndef WX_PRECOMP
#include "wx/event.h"
#include "wx/app.h"
+ #include "wx/utils.h"
#endif //WX_PRECOMP
#include "wx/cmdline.h"
#endif //WX_PRECOMP
#include "wx/cmdline.h"
@@
-184,7
+185,7
@@
bool wxHandleFatalExceptions(bool doit)
wxString name = wxString::Format
(
_T("%s_%s_%lu.dmp"),
wxString name = wxString::Format
(
_T("%s_%s_%lu.dmp"),
- wxTheApp ? wxTheApp->GetAppName().c_str()
+ wxTheApp ?
(const wxChar*)
wxTheApp->GetAppName().c_str()
: _T("wxwindows"),
wxDateTime::Now().Format(_T("%Y%m%dT%H%M%S")).c_str(),
::GetCurrentProcessId()
: _T("wxwindows"),
wxDateTime::Now().Format(_T("%Y%m%dT%H%M%S")).c_str(),
::GetCurrentProcessId()