X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fb29dcac01af849053d8f85b69aae7e7ca8c7d26..34a34b020f1c8defacb299a0fa5c480fa65b8597:/include/wx/unix/taskbarx11.h?ds=sidebyside diff --git a/include/wx/unix/taskbarx11.h b/include/wx/unix/taskbarx11.h index 0c924b7b78..fb2aeb7763 100644 --- a/include/wx/unix/taskbarx11.h +++ b/include/wx/unix/taskbarx11.h @@ -12,7 +12,7 @@ #ifndef _TASKBAR_H_ #define _TASKBAR_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "taskbarx11.h" #endif @@ -20,7 +20,9 @@ class WXDLLEXPORT wxIcon; class WXDLLEXPORT wxFrame; class WXDLLEXPORT wxWindow; -class WXDLLEXPORT wxTaskBarIcon: public wxTaskBarIconBase +class WXDLLIMPEXP_ADV wxTaskBarIconArea; + +class WXDLLIMPEXP_ADV wxTaskBarIcon: public wxTaskBarIconBase { public: wxTaskBarIcon(); @@ -36,8 +38,7 @@ public: bool PopupMenu(wxMenu *menu); protected: - wxFrame *m_iconWnd; - wxWindow *m_iconArea; + wxTaskBarIconArea *m_iconWnd; DECLARE_DYNAMIC_CLASS(wxTaskBarIcon) };