// Author: Stefan Csomor
// Modified by:
// Created: 1998-01-01
-// RCS-ID: $Id: button.cpp 54845 2008-07-30 14:52:41Z SC $
+// RCS-ID: $Id$
// Copyright: (c) Stefan Csomor
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
return wxSize( 23 , 23 ) ;
wxRect r ;
- m_peer->GetBestRect(&r);
+ GetPeer()->GetBestRect(&r);
wxSize sz = r.GetSize();
sz.x = sz.x + MacGetLeftBorderSize() +
SetBezelStyleFromBorderFlags(v, style);
- if (bitmap.Ok())
+ if (bitmap.IsOk())
[v setImage:bitmap.GetNSImage() ];
[v setButtonType:NSMomentaryPushInButton];