warning...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24832 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
7b758e8f43
commit
e83f230124
@ -394,8 +394,17 @@ int wxEntryReal(int& argc, wxChar **argv)
|
|||||||
|
|
||||||
WX_SUPPRESS_UNUSED_WARN(cleanupOnExit);
|
WX_SUPPRESS_UNUSED_WARN(cleanupOnExit);
|
||||||
|
|
||||||
|
#if defined(__VISUALC__)
|
||||||
|
//Disable warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify -GX
|
||||||
|
#pragma warning (disable:4530)
|
||||||
|
#endif
|
||||||
|
|
||||||
wxTRY
|
wxTRY
|
||||||
{
|
{
|
||||||
|
|
||||||
|
#if defined(__VISUALC__)
|
||||||
|
#pragma warning (default:4530)
|
||||||
|
#endif
|
||||||
// app initialization
|
// app initialization
|
||||||
if ( !wxTheApp->CallOnInit() )
|
if ( !wxTheApp->CallOnInit() )
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user