X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4d0d77affc904ab045485794986179beed4b79f0..bee96abfbcf1acd8e0a1d4b7a975f58034b846d5:/include/wx/msw/taskbar.h diff --git a/include/wx/msw/taskbar.h b/include/wx/msw/taskbar.h index c0b32f262c..9aa9bd1b33 100644 --- a/include/wx/msw/taskbar.h +++ b/include/wx/msw/taskbar.h @@ -13,20 +13,21 @@ #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);