X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/065e208ec09e3d08d51d9604497f92f53c210f93..e795e8b56f213f97745636a017609091746894a0:/src/cocoa/bmpbuttn.mm 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