X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/bfddb9239fcc64dec73eeac9ddc1805ca3904b62..56f69d54faea99a58828c2077c42fccc1303e490:/src/cocoa/slider.mm diff --git a/src/cocoa/slider.mm b/src/cocoa/slider.mm index f239be1003..207f9a8c99 100644 --- a/src/cocoa/slider.mm +++ b/src/cocoa/slider.mm @@ -9,6 +9,9 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// +#include "wx/setup.h" +#if wxUSE_SLIDER + #include "wx/app.h" #include "wx/slider.h" @@ -39,3 +42,4 @@ wxSlider::~wxSlider() SetNSView(NULL); } +#endif // wxUSE_SLIDER