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:
@@ -20,6 +20,21 @@
|
||||
|
||||
class WXDLLIMPEXP_FWD_ADV wxTaskBarIconEvent;
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
// type of taskbar item to create. Only applicable in wxOSX_COCOA
|
||||
enum wxTaskBarIconType
|
||||
{
|
||||
wxTBI_DOCK,
|
||||
wxTBI_CUSTOM_STATUSITEM,
|
||||
#if wxOSX_USE_COCOA
|
||||
wxTBI_DEFAULT_TYPE = wxTBI_CUSTOM_STATUSITEM
|
||||
#else
|
||||
wxTBI_DEFAULT_TYPE = wxTBI_DOCK
|
||||
#endif
|
||||
};
|
||||
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
// wxTaskBarIconBase: define wxTaskBarIcon interface
|
||||
// ----------------------------------------------------------------------------
|
||||
|
Reference in New Issue
Block a user