X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5dc224630b21a1b95e0f59b611fbb81311d4709e..a48b2ed6923ed3fc7892adfef46dee38d4c8917e:/src/gtk1/taskbar.cpp diff --git a/src/gtk1/taskbar.cpp b/src/gtk1/taskbar.cpp index 859a89f7cd..85dd72c3e2 100644 --- a/src/gtk1/taskbar.cpp +++ b/src/gtk1/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)