From: Paul Cornett Date: Mon, 11 Dec 2006 18:34:59 +0000 (+0000) Subject: cleanup: X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/1c62bcbeeb1f0f7fafc72544acc7d9caf1d0df1d cleanup: 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 --- diff --git a/src/mac/carbon/srchctrl.cpp b/src/mac/carbon/srchctrl.cpp index 12ea82cfa4..6ec0a7b394 100644 --- a/src/mac/carbon/srchctrl.cpp +++ b/src/mac/carbon/srchctrl.cpp @@ -8,14 +8,6 @@ // License: wxWindows licence /////////////////////////////////////////////////////////////////////////////// -// ============================================================================ -// declarations -// ============================================================================ - -// ---------------------------------------------------------------------------- -// headers -// ---------------------------------------------------------------------------- - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" @@ -23,14 +15,14 @@ #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"