PCH support.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42359 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -25,8 +25,12 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "wx/overlay.h"
|
#include "wx/overlay.h"
|
||||||
|
|
||||||
|
#ifndef WX_PRECOMP
|
||||||
|
#include "wx/dcclient.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
#include "wx/private/overlay.h"
|
#include "wx/private/overlay.h"
|
||||||
#include "wx/dcclient.h"
|
|
||||||
|
|
||||||
#if wxHAS_NATIVE_OVERLAY
|
#if wxHAS_NATIVE_OVERLAY
|
||||||
|
|
||||||
@@ -127,7 +131,7 @@ void wxOverlayImpl::BeginDrawing( wxWindowDC* dc)
|
|||||||
// just to make sure :
|
// just to make sure :
|
||||||
dc->m_macLocalOrigin.x = 0 ;
|
dc->m_macLocalOrigin.x = 0 ;
|
||||||
dc->m_macLocalOrigin.y = 0 ;
|
dc->m_macLocalOrigin.y = 0 ;
|
||||||
*/
|
*/
|
||||||
wxSize size = dc->GetSize() ;
|
wxSize size = dc->GetSize() ;
|
||||||
dc->SetClippingRegion( 0 , 0 , size.x , size.y ) ;
|
dc->SetClippingRegion( 0 , 0 , size.x , size.y ) ;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user