From 76990f630b4b1692e0aa423812e3e7bb29a8ce1e Mon Sep 17 00:00:00 2001 From: David Webster Date: Wed, 15 Mar 2000 16:39:36 +0000 Subject: [PATCH] no message git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6737 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/os2/app.h | 3 --- src/os2/app.cpp | 10 ++++++---- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/include/wx/os2/app.h b/include/wx/os2/app.h index d003b78ae9..1a202d9937 100644 --- a/include/wx/os2/app.h +++ b/include/wx/os2/app.h @@ -89,9 +89,6 @@ public: virtual bool ProcessMessage(WXMSG* pMsg); void DeletePendingObjects(void); bool ProcessIdle(void); -#if wxUSE_THREADS - void ProcessPendingEvents(void); -#endif public: int m_nCmdShow; diff --git a/src/os2/app.cpp b/src/os2/app.cpp index 9fd52c76b7..6855dedd13 100644 --- a/src/os2/app.cpp +++ b/src/os2/app.cpp @@ -975,13 +975,15 @@ void wxWakeUpIdle() } } // end of wxWakeUpIdle -HINSTANCE wxGetInstance() +HAB wxGetInstance() { - return wxhInstance; + return vHabmain; } -void wxSetInstance(HINSTANCE hInst) +void wxSetInstance( + HAB vHab +) { - wxhInstance = hInst; + vHabmain = vHab; }