never used region (NewRgn)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19426
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
#include "wx/app.h"
#include "wx/mac/uma.h"
#include "wx/dcmemory.h"
+#include "wx/dcprint.h"
#include "wx/region.h"
#include "wx/image.h"
#include "wx/log.h"
#include "math.h"
using namespace std ;
#endif
+
#include "wx/mac/private.h"
#include "ATSUnicode.h"
#include "TextCommon.h"
SetClip( m_newClip ) ;
DisposeRgn( insidergn ) ;
#endif
- RgnHandle insidergn = NewRgn() ;
int x = 0 , y = 0;
win->MacWindowToRootWindow( &x,&y ) ;
CopyRgn( (RgnHandle) ((wxWindow*)win)->MacGetVisibleRegion().GetWXHRGN() , m_newClip ) ;
wxCoord wxDCBase::LogicalToDeviceYRel(wxCoord y) const
{
return ((wxDC *)this)->YLOG2DEVREL(y);
-}
\ No newline at end of file
+}
#include "wx/app.h"
#include "wx/mac/uma.h"
#include "wx/dcmemory.h"
+#include "wx/dcprint.h"
#include "wx/region.h"
#include "wx/image.h"
#include "wx/log.h"
#include "math.h"
using namespace std ;
#endif
+
#include "wx/mac/private.h"
#include "ATSUnicode.h"
#include "TextCommon.h"
SetClip( m_newClip ) ;
DisposeRgn( insidergn ) ;
#endif
- RgnHandle insidergn = NewRgn() ;
int x = 0 , y = 0;
win->MacWindowToRootWindow( &x,&y ) ;
CopyRgn( (RgnHandle) ((wxWindow*)win)->MacGetVisibleRegion().GetWXHRGN() , m_newClip ) ;
wxCoord wxDCBase::LogicalToDeviceYRel(wxCoord y) const
{
return ((wxDC *)this)->YLOG2DEVREL(y);
-}
\ No newline at end of file
+}