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