#ifndef _TASKBAR_H_
#define _TASKBAR_H_
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
#pragma interface "taskbar.h"
#endif
#include "wx/list.h"
#include "wx/icon.h"
-class wxTaskBarIcon;
+class WXDLLIMPEXP_ADV wxTaskBarIcon;
-WX_DECLARE_EXPORTED_LIST(wxTaskBarIcon, wxTaskBarIconList);
+WX_DECLARE_LIST_WITH_DECL(wxTaskBarIcon, wxTaskBarIconList,
+ class WXDLLIMPEXP_ADV);
-class WXDLLEXPORT wxTaskBarIcon: public wxTaskBarIconBase
+class WXDLLIMPEXP_ADV wxTaskBarIcon: public wxTaskBarIconBase
{
- DECLARE_DYNAMIC_CLASS(wxTaskBarIcon)
+ DECLARE_DYNAMIC_CLASS_NO_COPY(wxTaskBarIcon)
public:
wxTaskBarIcon(void);
virtual ~wxTaskBarIcon(void);
protected:
WXHWND m_hWnd;
bool m_iconAdded;
+ wxIcon m_icon;
+ wxString m_strTooltip;
+
static wxTaskBarIconList sm_taskBarIcons;
- static bool sm_registeredClass;
- static unsigned int sm_taskbarMsg;
#if WXWIN_COMPATIBILITY_2_4
// non-virtual default event handlers to forward events to the virtuals