X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fde5da316a65ade864f9e65764a57c2ef3b674bb..677dc0ed1a3ff68af15f6246d6d0708d5264b07a:/src/mac/carbon/bmpbuttn.cpp diff --git a/src/mac/carbon/bmpbuttn.cpp b/src/mac/carbon/bmpbuttn.cpp index 0d9e2d3956..2c688e59e4 100644 --- a/src/mac/carbon/bmpbuttn.cpp +++ b/src/mac/carbon/bmpbuttn.cpp @@ -121,6 +121,7 @@ bool wxBitmapButton::Create( wxWindow *parent, #ifdef __WXMAC_OSX__ if ( HasFlag( wxBORDER_NONE ) ) { + // contrary to the docs this control only works with iconrefs wxMacCreateBitmapButton( &info, m_bmpNormal, kControlContentIconRef ); err = CreateIconControl( MAC_WXHWND(parent->MacGetTopLevelWindowRef()),