X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5dc224630b21a1b95e0f59b611fbb81311d4709e..053950ae73612200beb95afd1ded05c2f25b24bf:/src/gtk/taskbar.cpp diff --git a/src/gtk/taskbar.cpp b/src/gtk/taskbar.cpp index 859a89f7cd..be0e53af49 100644 --- a/src/gtk/taskbar.cpp +++ b/src/gtk/taskbar.cpp @@ -16,15 +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 -#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" wxTaskBarIconAreaBase::wxTaskBarIconAreaBase() @@ -66,3 +67,4 @@ bool wxTaskBarIconAreaBase::IsProtocolSupported() } #endif // __WXGTK20__ +#endif // GTK_CHECK_VERSION(2, 1, 0)