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; }