X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9ed0fac8a854bf53ea942ba7d759519f0c681763..d42508c2a026d505d39c386b233de4a1b51f1445:/include/wx/os2/app.h diff --git a/include/wx/os2/app.h b/include/wx/os2/app.h index 69974b6c55..4a5422a4df 100644 --- a/include/wx/os2/app.h +++ b/include/wx/os2/app.h @@ -22,6 +22,7 @@ class WXDLLEXPORT wxKeyEvent; class WXDLLEXPORT wxLog; WXDLLEXPORT_DATA(extern wxApp*) wxTheApp; +WXDLLEXPORT_DATA(extern HAB) vHabmain; // Force an exit from main loop void WXDLLEXPORT wxExit(void); @@ -29,6 +30,12 @@ void WXDLLEXPORT wxExit(void); // Yield to other apps/messages bool WXDLLEXPORT wxYield(void); +extern MRESULT EXPENTRY wxWndProc( HWND + ,ULONG + ,MPARAM + ,MPARAM + ); + // Represents the application. Derive OnInit and declare // a new App object to start application class WXDLLEXPORT wxApp : public wxAppBase @@ -88,9 +95,6 @@ public: virtual bool ProcessMessage(WXMSG* pMsg); void DeletePendingObjects(void); bool ProcessIdle(void); -#if wxUSE_THREADS - void ProcessPendingEvents(void); -#endif public: int m_nCmdShow; @@ -100,9 +104,7 @@ protected: DECLARE_EVENT_TABLE() private: - HAB m_vHab; HMQ m_hMq; - QMSG m_vMsg; }; int WXDLLEXPORT wxEntry( int argc, char *argv[] );