diff --git a/src/generic/srchctlg.cpp b/src/generic/srchctlg.cpp index d624d7d22e..b4f18fd782 100644 --- a/src/generic/srchctlg.cpp +++ b/src/generic/srchctlg.cpp @@ -35,7 +35,7 @@ #include "wx/srchctrl.h" -#if !USE_NATIVE_SEARCH_CONTROL +#if !wxUSE_NATIVE_SEARCH_CONTROL #include "wx/image.h" @@ -1073,6 +1073,6 @@ void wxSearchCtrl::PopupSearchMenu() } } -#endif // !USE_NATIVE_SEARCH_CONTROL +#endif // !wxUSE_NATIVE_SEARCH_CONTROL #endif // wxUSE_SEARCHCTRL diff --git a/src/mac/carbon/srchctrl.cpp b/src/mac/carbon/srchctrl.cpp index 90a889170b..fc3e1e6f04 100644 --- a/src/mac/carbon/srchctrl.cpp +++ b/src/mac/carbon/srchctrl.cpp @@ -32,7 +32,7 @@ #include "wx/srchctrl.h" -#if USE_NATIVE_SEARCH_CONTROL +#if wxUSE_NATIVE_SEARCH_CONTROL #include "wx/mac/uma.h" #include "wx/mac/carbon/private/mactext.h" @@ -385,6 +385,6 @@ void wxSearchCtrl::CreatePeer( } } -#endif // USE_NATIVE_SEARCH_CONTROL +#endif // wxUSE_NATIVE_SEARCH_CONTROL #endif // wxUSE_SEARCHCTRL