// Author: Stefan Csomor
// Modified by:
// Created: 1998-01-01
-// RCS-ID: $Id$
// Copyright: (c) Stefan Csomor
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
// define a derived class to override SetBitmap() and also to provide
// InitButtonContentInfo() helper used by CreateBitmapButton()
-class wxMacBitmapButton : public wxMacControl
+class wxMacBitmapButton : public wxMacControl, public wxButtonImpl
{
public:
wxMacBitmapButton(wxWindowMac* peer, const wxBitmap& bitmap, int style)
m_isIcon ? kControlContentIconRef : 0);
}
+ void SetPressedBitmap( const wxBitmap& WXUNUSED(bitmap) )
+ {
+ // not implemented under Carbon
+ }
+
private:
// helper function: returns true if the given bitmap is of one of standard
// sizes supported by OS X icons