X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e33253d15cd059baa1be4d6d65c9c27ad3847374..e9e8b38179b147dd04f5c19af7e56a94342e93a7:/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