X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e33253d15cd059baa1be4d6d65c9c27ad3847374..937d5b6075db060b98daa0f0fadbaa528bc85554:/include/wx/infobar.h?ds=sidebyside diff --git a/include/wx/infobar.h b/include/wx/infobar.h index 3176711a7d..5480b798e6 100644 --- a/include/wx/infobar.h +++ b/include/wx/infobar.h @@ -52,12 +52,9 @@ private: }; // currently only GTK+ has a native implementation -#if defined(__WXGTK20__) && !defined(__WXUNIVERSAL__) - #include - #if GTK_CHECK_VERSION(2, 18, 0) - #include "wx/gtk/infobar.h" - #define wxHAS_NATIVE_INFOBAR - #endif +#if defined(__WXGTK218__) && !defined(__WXUNIVERSAL__) + #include "wx/gtk/infobar.h" + #define wxHAS_NATIVE_INFOBAR #endif // wxGTK2 // if the generic version is the only one we have, use it