osx_cocoa supports both kind of taskbaricons in the menubar (standard) and as function of the dock (type DOCK)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67081 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
class MyTaskBarIcon : public wxTaskBarIcon
|
||||
{
|
||||
public:
|
||||
#if defined(__WXCOCOA__)
|
||||
#if defined(__WXOSX__) && wxOSX_USE_COCOA
|
||||
MyTaskBarIcon(wxTaskBarIconType iconType = DEFAULT_TYPE)
|
||||
: wxTaskBarIcon(iconType)
|
||||
#else
|
||||
@@ -53,7 +53,7 @@ protected:
|
||||
void OnCloseWindow(wxCloseEvent& event);
|
||||
|
||||
MyTaskBarIcon *m_taskBarIcon;
|
||||
#if defined(__WXCOCOA__)
|
||||
#if defined(__WXOSX__) && wxOSX_USE_COCOA
|
||||
MyTaskBarIcon *m_dockIcon;
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user