Some changes to fix event processing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6682 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -536,7 +536,6 @@ wxApp::~wxApp()
|
|||||||
delete[] argv[i];
|
delete[] argv[i];
|
||||||
}
|
}
|
||||||
delete[] argv;
|
delete[] argv;
|
||||||
#endif
|
|
||||||
} // end of wxApp::~wxApp
|
} // end of wxApp::~wxApp
|
||||||
|
|
||||||
bool wxApp::Initialized()
|
bool wxApp::Initialized()
|
||||||
@@ -884,7 +883,7 @@ void wxExit()
|
|||||||
wxLogError(_("Fatal error: exiting"));
|
wxLogError(_("Fatal error: exiting"));
|
||||||
|
|
||||||
wxApp::CleanUp();
|
wxApp::CleanUp();
|
||||||
} // end of wxExit
|
} // end of wxExit
|
||||||
|
|
||||||
//
|
//
|
||||||
// Yield to incoming messages
|
// Yield to incoming messages
|
||||||
@@ -893,7 +892,7 @@ bool wxYield()
|
|||||||
{
|
{
|
||||||
HAB vHab = 0;
|
HAB vHab = 0;
|
||||||
QMSG vMsg;
|
QMSG vMsg;
|
||||||
|
|
||||||
//
|
//
|
||||||
// Disable log flushing from here because a call to wxYield() shouldn't
|
// Disable log flushing from here because a call to wxYield() shouldn't
|
||||||
// normally result in message boxes popping up &c
|
// normally result in message boxes popping up &c
|
||||||
|
@@ -188,7 +188,7 @@ wxFont wxSystemSettings::GetSystemFont(int index)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return wxFont();
|
return *wxSWISS_FONT;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Get a system metric, e.g. scrollbar size
|
// Get a system metric, e.g. scrollbar size
|
||||||
|
Reference in New Issue
Block a user