X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/bb6eb69414a9b47f74343104c2c74b2d2e43975c..a4f6fe43c33bd7933645d110ad2719871dab043d:/interface/wx/taskbar.h diff --git a/interface/wx/taskbar.h b/interface/wx/taskbar.h index b6c37da4f7..36096618a4 100644 --- a/interface/wx/taskbar.h +++ b/interface/wx/taskbar.h @@ -6,6 +6,18 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// +/** + On OSX Cocoa the taskbar icon can be in the doc or in the status area. + This enumeration can be used to select which will be instantiated. +*/ +enum wxTaskBarIconType +{ + wxTBI_DOCK, + wxTBI_CUSTOM_STATUSITEM, + wxTBI_DEFAULT_TYPE +}; + + /** @class wxTaskBarIconEvent @@ -26,6 +38,7 @@ public: wxTaskBarIconEvent(wxEventType evtType, wxTaskBarIcon *tbIcon); }; + /** @class wxTaskBarIcon @@ -79,9 +92,9 @@ class wxTaskBarIcon : public wxEvtHandler { public: /** - Default constructor. + Default constructor. The iconType is only applicable on wxOSX_Cocoa. */ - wxTaskBarIcon(); + wxTaskBarIcon(wxTaskBarIconType iconType = wxTBI_DEFAULT_TYPE); /** Destroys the wxTaskBarIcon object, removing the icon if not already removed.