Update of /cvsroot/sharedaemon/ui-wx/src
In directory sc8-pr-cvs1:/tmp/cvs-serv10872
Modified Files:
defines.h
Log Message:
Fixed taskbaricon for wxMSW
Index: defines.h
===================================================================
RCS file: /cvsroot/sharedaemon/ui-wx/src/defines.h,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -d -r1.33 -r1.34
--- defines.h 20 Nov 2003 01:27:26 -0000 1.33
+++ defines.h 21 Nov 2003 04:44:52 -0000 1.34
@@ -40,8 +40,15 @@
#define m_logbook ((wxNotebook*)FindWindowById(ID_LOGBOOK))
#define prefs_ctrl ((wxListCtrl*)FindWindowById(ID_PREFSCTRL))
#define prefs_panel ((wxPanel*)FindWindowById(ID_PREFSPANEL))
-#define xmuleDlg ((wxFrame*)FindWindowByName(APPVER_LONG))
#define splitterwnd ((wxSplitterWindow*)FindWindowById(ID_SPLITTER))
+
+/**
+ * wxWindows 2.4.2 does not define wxHAS_TASK_BAR_ICON even if it is
+ * supported, so we define it here.
+ */
+#ifdef __WXMSW__
+ #define wxHAS_TASK_BAR_ICON
+#endif
extern wxConfigBase *m_config;
|