From: David Webster <Dave.Webster@bhmi.com>
Date: Tue, 14 Mar 2000 13:36:35 +0000 (+0000)
Subject: Some changes to fix event processing
X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/ee453a161fcbcbf74c8359d42ca1aaeb2777c9bb

Some changes to fix event processing


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6682 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
---

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