From: David Elliott Date: Wed, 12 May 2004 19:18:57 +0000 (+0000) Subject: Wrap within #if wxUSE_NOTEBOOK X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/28b22cccdebe7150a06b956e0e644023ab3de1a0 Wrap within #if wxUSE_NOTEBOOK git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27240 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/cocoa/notebook.mm b/src/cocoa/notebook.mm index 5df800e872..c77473f95a 100644 --- a/src/cocoa/notebook.mm +++ b/src/cocoa/notebook.mm @@ -10,6 +10,9 @@ ///////////////////////////////////////////////////////////////////////////// #include "wx/wxprec.h" + +#if wxUSE_NOTEBOOK + #ifndef WX_PRECOMP #include "wx/app.h" #include "wx/notebook.h" @@ -289,3 +292,4 @@ bool wxNotebook::CocoaDelegate_tabView_shouldSelectTabViewItem(WX_NSTabViewItem return !GetEventHandler()->ProcessEvent(event) || event.IsAllowed(); } +#endif // wxUSE_NOTEBOOK