X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6398a32d3b64330b327ddbf37a78886dd751d245..71a09c3579dd5cb4cd8fa7fdc143561cbff74e12:/src/osx/carbon/bmpbuttn.cpp diff --git a/src/osx/carbon/bmpbuttn.cpp b/src/osx/carbon/bmpbuttn.cpp index cde7745150..9f0adc85a9 100644 --- a/src/osx/carbon/bmpbuttn.cpp +++ b/src/osx/carbon/bmpbuttn.cpp @@ -4,7 +4,6 @@ // Author: Stefan Csomor // Modified by: // Created: 1998-01-01 -// RCS-ID: $Id$ // Copyright: (c) Stefan Csomor // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -27,7 +26,7 @@ namespace // 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) @@ -70,6 +69,11 @@ public: 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