X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e33253d15cd059baa1be4d6d65c9c27ad3847374..14619f10b0bdb630206607abd0ce0319d45e095a:/include/wx/infobar.h diff --git a/include/wx/infobar.h b/include/wx/infobar.h index 3176711a7d..4ae10cb568 100644 --- a/include/wx/infobar.h +++ b/include/wx/infobar.h @@ -21,7 +21,7 @@ // wxInfoBar shows non-critical but important information to the user // ---------------------------------------------------------------------------- -class WXDLLIMPEXP_ADV wxInfoBarBase : public wxControl +class WXDLLIMPEXP_CORE wxInfoBarBase : public wxControl { public: // real ctors are provided by the derived classes, just notice that unlike @@ -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