X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5dc224630b21a1b95e0f59b611fbb81311d4709e..f8b2997476e15b63f1699b9f7b6f1db2ae6b440c:/src/gtk/taskbar.cpp diff --git a/src/gtk/taskbar.cpp b/src/gtk/taskbar.cpp index 859a89f7cd..85dd72c3e2 100644 --- a/src/gtk/taskbar.cpp +++ b/src/gtk/taskbar.cpp @@ -20,9 +20,10 @@ #include "wx/frame.h" #include -#include -#if defined(__WXGTK20__) && GTK_CHECK_VERSION(2, 1, 0) +#ifdef __WXGTK20__ +#include +#if GTK_CHECK_VERSION(2, 1, 0) #include "wx/gtk/taskbarpriv.h" #include "eggtrayicon.h" @@ -66,3 +67,4 @@ bool wxTaskBarIconAreaBase::IsProtocolSupported() } #endif // __WXGTK20__ +#endif // GTK_CHECK_VERSION(2, 1, 0)