#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()),