Update OS/2 Frame WM_PAINT processing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8770 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user