Mutiple updates from SciTech for wxWindows including the following:
1. Updates to HTML applet classes in client side include syntax 2. Updates to wxUniversal for OS/2 3. Updates for better palette management on Windows 4. Misc other fixes and changes to fix build system for Watcom 11.0 git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12045 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -225,7 +225,7 @@ void wxClientDC::InitDC()
|
||||
// in wxUniv build we must manually do some DC adjustments usually
|
||||
// performed by Windows for us
|
||||
#ifdef __WXUNIVERSAL__
|
||||
wxPoint ptOrigin = m_canvas->GetClientAreaOrigin();
|
||||
wxPoint ptOrigin = m_pCanvas->GetClientAreaOrigin();
|
||||
if ( ptOrigin.x || ptOrigin.y )
|
||||
{
|
||||
// no need to shift DC origin if shift is null
|
||||
@@ -233,7 +233,7 @@ void wxClientDC::InitDC()
|
||||
}
|
||||
|
||||
// clip the DC to avoid overwriting the non client area
|
||||
SetClippingRegion(wxPoint(0, 0), m_canvas->GetClientSize());
|
||||
SetClippingRegion(wxPoint(0, 0), m_pCanvas->GetClientSize());
|
||||
#endif // __WXUNIVERSAL__
|
||||
} // end of wxClientDC::InitDC
|
||||
|
||||
|
Reference in New Issue
Block a user