wxUniv/MSW compilation fix after wxDC changes

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51478 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík
2008-01-31 21:56:10 +00:00
parent e35dd7d3d3
commit c7d6c56303

View File

@@ -169,7 +169,8 @@ void wxClientDCImpl::InitDC()
}
// clip the DC to avoid overwriting the non client area
SetClippingRegion(wxPoint(0,0), m_window->GetClientSize());
wxSize size = m_window->GetClientSize();
DoSetClippingRegion(0, 0, size.x, size.y);
#endif // __WXUNIVERSAL__ || __WXWINCE__
}