]> git.saurik.com Git - wxWidgets.git/commitdiff
cleanup:
authorPaul Cornett <paulcor@bullseye.com>
Mon, 11 Dec 2006 18:34:59 +0000 (18:34 +0000)
committerPaul Cornett <paulcor@bullseye.com>
Mon, 11 Dec 2006 18:34:59 +0000 (18:34 +0000)
    wrap everything in #if wxUSE_SEARCHCTRL,
    implementation include comes first

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43935 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/mac/carbon/srchctrl.cpp

index 12ea82cfa42c92a0d6f6f55680f88cd8d7e60bd2..6ec0a7b394741a6d13d92b83119135090a845041 100644 (file)
@@ -8,14 +8,6 @@
 // License:     wxWindows licence
 ///////////////////////////////////////////////////////////////////////////////
 
-// ============================================================================
-// declarations
-// ============================================================================
-
-// ----------------------------------------------------------------------------
-// headers
-// ----------------------------------------------------------------------------
-
 // For compilers that support precompilation, includes "wx.h".
 #include "wx/wxprec.h"
 
     #pragma hdrstop
 #endif
 
-#ifndef WX_PRECOMP
-    #include "wx/menu.h"
-#endif //WX_PRECOMP
-
 #if wxUSE_SEARCHCTRL
 
 #include "wx/srchctrl.h"
 
+#ifndef WX_PRECOMP
+    #include "wx/menu.h"
+#endif //WX_PRECOMP
+
 #if wxUSE_NATIVE_SEARCH_CONTROL
 
 #include "wx/mac/uma.h"