]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/carbon/taskbar.cpp
removing non-compositing code, adding individual transparency
[wxWidgets.git] / src / mac / carbon / taskbar.cpp
index bc0330d2f805b6a0190f7c6d77e875083438297b..bce496ab28ca0531a4869b5b7d3ec7432cf0af49 100644 (file)
     #include "wx/dcmemory.h"
     #include "wx/menu.h"
     #include "wx/toplevel.h"
+    #include "wx/icon.h"
 #endif
 
 #include "wx/mac/private.h"
 
-#include "wx/icon.h"
-
-
 class wxTaskBarIconImpl
 {
 public:
@@ -237,7 +235,7 @@ pascal OSStatus wxDockEventHandler( EventHandlerCallRef inHandlerCallRef,
         // When SetEventParameter is called it will decrement
         // the reference count of the menu - we need to make
         // sure it stays around in the wxMenu class here
-        RetainMenu(hMenu);
+        CFRetain(hMenu);
 
         // set the actual dock menu
         err = SetEventParameter(