void wxMemoryDCImpl::DoSelect( const wxBitmap& bitmap )
{
wxAutoNSAutoreleasePool pool;
- if(m_selectedBitmap.Ok())
+ if(m_selectedBitmap.IsOk())
{
CocoaTakeFocus();
wxASSERT(m_cocoaNSImage);
[m_cocoaNSImage release];
m_cocoaNSImage = nil;
m_selectedBitmap = bitmap;
- if(m_selectedBitmap.Ok())
+ if(m_selectedBitmap.IsOk())
{
// Create an offscreen window of the same size
m_cocoaNSImage = [[NSImage alloc]
wxCoord width, wxCoord height, wxCoord xsrc, wxCoord ysrc,
int logicalFunc, bool useMask, wxCoord xsrcMask, wxCoord ysrcMask)
{
- if(!m_selectedBitmap.Ok())
+ if(!m_selectedBitmap.IsOk())
return false;
NSAffineTransform *transform = [NSAffineTransform transform];