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:
Stefan Csomor
2011-02-28 09:26:55 +00:00
parent 671b125ba7
commit a96f3e138b
2 changed files with 11 additions and 6 deletions

View File

@@ -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