X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6398a32d3b64330b327ddbf37a78886dd751d245..cd0f218cdd3114dc6770bc9f6703225aabb5a2de:/src/osx/carbon/bmpbuttn.cpp diff --git a/src/osx/carbon/bmpbuttn.cpp b/src/osx/carbon/bmpbuttn.cpp index cde7745150..a655e9cb69 100644 --- a/src/osx/carbon/bmpbuttn.cpp +++ b/src/osx/carbon/bmpbuttn.cpp @@ -27,7 +27,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 +70,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