From ee453a161fcbcbf74c8359d42ca1aaeb2777c9bb Mon Sep 17 00:00:00 2001 From: David Webster Date: Tue, 14 Mar 2000 13:36:35 +0000 Subject: [PATCH] Some changes to fix event processing git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6682 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/os2/app.cpp | 5 ++--- src/os2/settings.cpp | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/os2/app.cpp b/src/os2/app.cpp index 5b4045dd7a..9fd52c76b7 100644 --- a/src/os2/app.cpp +++ b/src/os2/app.cpp @@ -536,7 +536,6 @@ wxApp::~wxApp() delete[] argv[i]; } delete[] argv; -#endif } // end of wxApp::~wxApp bool wxApp::Initialized() @@ -884,7 +883,7 @@ void wxExit() wxLogError(_("Fatal error: exiting")); wxApp::CleanUp(); -} // end of wxExit +} // end of wxExit // // Yield to incoming messages @@ -893,7 +892,7 @@ bool wxYield() { HAB vHab = 0; QMSG vMsg; - + // // Disable log flushing from here because a call to wxYield() shouldn't // normally result in message boxes popping up &c diff --git a/src/os2/settings.cpp b/src/os2/settings.cpp index 55da0d4963..c47c24d5c4 100644 --- a/src/os2/settings.cpp +++ b/src/os2/settings.cpp @@ -188,7 +188,7 @@ wxFont wxSystemSettings::GetSystemFont(int index) } } - return wxFont(); + return *wxSWISS_FONT; } // Get a system metric, e.g. scrollbar size -- 2.45.2