X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/065e208ec09e3d08d51d9604497f92f53c210f93..63a3cd7a8c737eb4571f27e5f2af37eda0f1c5cc:/src/cocoa/bmpbuttn.mm?ds=sidebyside diff --git a/src/cocoa/bmpbuttn.mm b/src/cocoa/bmpbuttn.mm index 63252c28f4..5081c6a5ac 100644 --- a/src/cocoa/bmpbuttn.mm +++ b/src/cocoa/bmpbuttn.mm @@ -10,6 +10,9 @@ ///////////////////////////////////////////////////////////////////////////// #include "wx/wxprec.h" + +#if wxUSE_BMPBUTTON + #ifndef WX_PRECOMP #include "wx/defs.h" #include "wx/bmpbuttn.h" @@ -66,3 +69,4 @@ void wxBitmapButton::Cocoa_wxNSButtonAction(void) Command(event); } +#endif