]> git.saurik.com Git - wxWidgets.git/commitdiff
Added #if wxUSE_SLIDER guard
authorDavid Elliott <dfe@tgwbd.org>
Mon, 23 Jun 2003 15:49:11 +0000 (15:49 +0000)
committerDavid Elliott <dfe@tgwbd.org>
Mon, 23 Jun 2003 15:49:11 +0000 (15:49 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21321 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/cocoa/slider.mm

index f239be10036bf5aadbd7005d7d05eb6e7a0ef64b..ab53b6c04b39af3b7e1cd8b549a986a9acf48f08 100644 (file)
@@ -9,6 +9,8 @@
 // Licence:    wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
+#if wxUSE_SLIDER
+
 #include "wx/app.h"
 #include "wx/slider.h"
 
@@ -39,3 +41,4 @@ wxSlider::~wxSlider()
     SetNSView(NULL);
 }
 
+#endif // wxUSE_SLIDER