X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/05a8bfed08a74e8eeb4f9df97eee818060a9085a..dda88f5eee7ae13a328f92996847f90caed2e5e9:/src/os2/app.cpp?ds=sidebyside diff --git a/src/os2/app.cpp b/src/os2/app.cpp index cf75302c78..2260c6d2c6 100644 --- a/src/os2/app.cpp +++ b/src/os2/app.cpp @@ -301,7 +301,7 @@ bool wxApp::RegisterWindowClasses( if (!::WinRegisterClass( vHab ,wxCanvasClassName ,wxWndProc - ,CS_MOVENOTIFY | CS_SIZEREDRAW | CS_HITTEST | CS_SAVEBITS | CS_SYNCPAINT + ,CS_MOVENOTIFY | CS_SIZEREDRAW | CS_HITTEST | CS_SAVEBITS | CS_SYNCPAINT | CS_CLIPCHILDREN ,sizeof(ULONG) )) { @@ -764,7 +764,7 @@ bool wxApp::ProcessMessage( // We must relay Timer events to wxTimer's processing function // if (pMsg->msg == WM_TIMER) - wxTimerProc(NULL, 0, pMsg->mp1, 0); + wxTimerProc(NULL, 0, (int)pMsg->mp1, 0); // // For some composite controls (like a combobox), wndThis might be NULL