Multiple fixes for OS/2 including getting rid of the C++ unfriendly direct.h and substituting control program io. Various GUI fixes, too.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7044 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -2797,8 +2797,6 @@ bool wxWindow::HandlePaint()
|
||||
{
|
||||
HRGN hRgn = NULLHANDLE;
|
||||
wxPaintEvent vEvent;
|
||||
HPS hPS;
|
||||
RECTL vRect;
|
||||
|
||||
if (::WinQueryUpdateRegion(GetHwnd(), hRgn) == RGN_NULL)
|
||||
{
|
||||
@@ -2807,10 +2805,6 @@ bool wxWindow::HandlePaint()
|
||||
}
|
||||
m_updateRegion = wxRegion(hRgn);
|
||||
|
||||
hPS = WinBeginPaint(GetHwnd(), 0L, &vRect);
|
||||
WinFillRect(hPS, &vRect, SYSCLR_WINDOW);
|
||||
WinEndPaint(hPS);
|
||||
|
||||
vEvent.SetEventObject(this);
|
||||
return (GetEventHandler()->ProcessEvent(vEvent));
|
||||
} // end of wxWindow::HandlePaint
|
||||
|
Reference in New Issue
Block a user