#include "wx/sizer.h"
#include "wx/dcclient.h"
#include "wx/log.h"
+#include "wx/image.h"
#ifdef __VMS
#pragma message disable nosimpint
// ----------------------------------------------------------------------------
#ifdef __WXGTK20__
- #include "wx/gtk/taskbarpriv.h"
-#else
+ #include <gtk/gtk.h>
+ #if GTK_CHECK_VERSION(2,1,0)
+ #include "wx/gtk/taskbarpriv.h"
+ #define TASKBAR_ICON_AREA_BASE_INCLUDED
+ #endif
+#endif
+
+#ifndef TASKBAR_ICON_AREA_BASE_INCLUDED
class WXDLLIMPEXP_ADV wxTaskBarIconAreaBase : public wxFrame
{
public:
{
if (!m_iconWnd)
return false;
- wxSize size(m_iconWnd->GetClientSize());
m_iconWnd->PopupMenu(menu);
return true;
}