X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b7084589db4dcab0442fa652672fb4d5c0aa6949..147a1f7e70ee9ca4b0517e8df46a9094cf914f68:/src/os2/frame.cpp diff --git a/src/os2/frame.cpp b/src/os2/frame.cpp index ff03611069..4c0870f577 100644 --- a/src/os2/frame.cpp +++ b/src/os2/frame.cpp @@ -1601,12 +1601,15 @@ MRESULT wxFrame::OS2WindowProc( { HPS hPS; RECTL vRect; + wxPaintEvent vEvent; hPS = WinBeginPaint(m_hWnd, 0L, &vRect); ::WinFillRect(hPS, &vRect, CLR_BLUE /* SYSCLR_WINDOW */); ::WinEndPaint(hPS); mRc = (MRESULT)FALSE; + vEvent.SetEventObject(this); + GetEventHandler()->ProcessEvent(vEvent); bProcessed = TRUE; } break;