]> git.saurik.com Git - wxWidgets.git/blobdiff - src/unix/taskbarx11.cpp
wxUniv compilation fix
[wxWidgets.git] / src / unix / taskbarx11.cpp
index 1ff4e813484c9e826190b0cd22309814f5b7eee4..b95729d16cac1a4e0a2b3d5cf481898e4d605ad4 100644 (file)
@@ -132,7 +132,7 @@ wxTaskBarIconArea::wxTaskBarIconArea(wxTaskBarIcon *icon, const wxBitmap &bmp)
         SetLegacyWMProperties();
     }
 
-#ifdef __WXGTK20__
+#if defined(__WXGTK20__) && defined(TASKBAR_ICON_AREA_BASE_INCLUDED)
     m_invokingWindow = icon;
 #endif