]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/osx/taskbarosx.h
Fix a very annoying autorelease pool memory leak.
[wxWidgets.git] / include / wx / osx / taskbarosx.h
index bd6a148cd2ed7d8104dd3fcdbc70150e45c9f36b..7d13df747e193c8f5dcbb307b11c7a7bd48dd001 100644 (file)
@@ -4,7 +4,6 @@
 // Author:      Ryan Norton
 // Modified by:
 // Created:     04/04/2003
-// RCS-ID:      $Id$
 // Copyright:   (c) Ryan Norton, 2003
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////
@@ -19,21 +18,7 @@ class WXDLLIMPEXP_ADV wxTaskBarIcon : public wxTaskBarIconBase
 {
     DECLARE_DYNAMIC_CLASS_NO_COPY(wxTaskBarIcon)
 public:
-        // type of taskbar item to create (currently only DOCK is implemented)
-        enum wxTaskBarIconType
-        {
-            DOCK
-#if wxOSX_USE_COCOA
-        ,   CUSTOM_STATUSITEM
-#endif
-#if wxOSX_USE_COCOA
-        ,   DEFAULT_TYPE = CUSTOM_STATUSITEM
-#else
-        ,   DEFAULT_TYPE = DOCK
-#endif
-        };
-
-    wxTaskBarIcon(wxTaskBarIconType iconType = DEFAULT_TYPE);
+    wxTaskBarIcon(wxTaskBarIconType iconType = wxTBI_DEFAULT_TYPE);
     virtual ~wxTaskBarIcon();
 
     // returns true if the taskbaricon is in the global menubar