X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/065e208ec09e3d08d51d9604497f92f53c210f93..a8d2fb31cbf09dcc4683c9566ff4bc89580f268c:/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