// Author: David Elliott
// Modified by:
// Created: 2003/04/01
-// RCS-ID: $Id$
// Copyright: (c) 2003 David Elliott
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
{
};
-void wxCocoaDCImpl::DoDrawPolygon( int, wxPoint *, int, int, wxPolygonFillMode)
+void wxCocoaDCImpl::DoDrawPolygon( int, const wxPoint *, int, int, wxPolygonFillMode)
{
};
-void wxCocoaDCImpl::DoDrawLines( int, wxPoint *, int, int )
+void wxCocoaDCImpl::DoDrawLines( int, const wxPoint *, int, int )
{
}
{
wxAutoNSAutoreleasePool pool;
if(!CocoaTakeFocus()) return;
- if(!bmp.Ok())
+ if(!bmp.IsOk())
return;
#if 0
void wxCocoaDCImpl::SetTextForeground( const wxColour &col )
{
-// if (!Ok()) return;
+// if (!IsOk()) return;
m_textForegroundColour = col;
};
void wxCocoaDCImpl::SetTextBackground( const wxColour &col )
{
-// if (!Ok()) return;
+// if (!IsOk()) return;
m_textBackgroundColour = col;
};
m_scaleX = m_logicalScaleX * m_userScaleX;
m_scaleY = m_logicalScaleY * m_userScaleY;
- // CMB: if scale has changed call SetPen to recalulate the line width
+ // CMB: if scale has changed call SetPen to recalculate the line width
if (m_scaleX != origScaleX || m_scaleY != origScaleY)
{
#if 0