]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/frame.cpp
RPM version 2.3.0
[wxWidgets.git] / src / os2 / frame.cpp
index ff036110693005c6c7c77b06b375fad15b7ea364..4c0870f57707e00e505a16c977306d67dc44f872 100644 (file)
@@ -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;