Make wxTaskBarIcon's ctor have the same API on all platforms even though setting the icon type can only be done on wxOSX-cocoa
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71242 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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.
|
||||
|
Reference in New Issue
Block a user