X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/33d4eef0b9f61adad1f42ace436225ff508c6ea3..82a16d7e5e5c83e95a4caa7314de2dbfbd1debdc:/src/gtk1/taskbar.cpp diff --git a/src/gtk1/taskbar.cpp b/src/gtk1/taskbar.cpp index fe4c00d4af..be0e53af49 100644 --- a/src/gtk1/taskbar.cpp +++ b/src/gtk1/taskbar.cpp @@ -16,12 +16,16 @@ // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" +#include "wx/gtk/taskbarpriv.h" #include "wx/log.h" #include "wx/frame.h" +#include + #ifdef __WXGTK20__ +#include +#if GTK_CHECK_VERSION(2, 1, 0) -#include "wx/gtk/taskbarpriv.h" #include "eggtrayicon.h" wxTaskBarIconAreaBase::wxTaskBarIconAreaBase() @@ -63,3 +67,4 @@ bool wxTaskBarIconAreaBase::IsProtocolSupported() } #endif // __WXGTK20__ +#endif // GTK_CHECK_VERSION(2, 1, 0)