X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/43543d985b04d065178df50dbbc998786ff97282..b704229ee25ef8e5765ec09e9c164f59063564e8:/src/os2/app.cpp diff --git a/src/os2/app.cpp b/src/os2/app.cpp index 72c419454c..91434fe7dd 100644 --- a/src/os2/app.cpp +++ b/src/os2/app.cpp @@ -93,7 +93,11 @@ HICON wxDEFAULT_MDIPARENTFRAME_ICON = (HICON) NULL; HBRUSH wxDisableButtonBrush = (HBRUSH) 0; -MRESULT wxWndProc(HWND, UINT, MPARAM, MPARAM); +MRESULT wxWndProc( HWND + ,ULONG + ,MPARAM + ,MPARAM + ); // =========================================================================== // implementation @@ -103,7 +107,6 @@ MRESULT wxWndProc(HWND, UINT, MPARAM, MPARAM); // wxApp // --------------------------------------------------------------------------- -#if !USE_SHARED_LIBRARY IMPLEMENT_DYNAMIC_CLASS(wxApp, wxEvtHandler) BEGIN_EVENT_TABLE(wxApp, wxEvtHandler) @@ -111,7 +114,6 @@ MRESULT wxWndProc(HWND, UINT, MPARAM, MPARAM); EVT_END_SESSION(wxApp::OnEndSession) EVT_QUERY_END_SESSION(wxApp::OnQueryEndSession) END_EVENT_TABLE() -#endif //// Initialize bool wxApp::Initialize( @@ -399,7 +401,7 @@ int wxEntry( , char* argv[] ) { - HAB vHab; + HAB vHab = 0; if (!wxApp::Initialize(vHab)) return 0; @@ -874,7 +876,7 @@ void wxExit() // Yield to incoming messages bool wxYield() { - HAB vHab; + HAB vHab = 0; QMSG vMsg; // We want to go back to the main message loop // if we see a WM_QUIT. (?)