]> 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 ca4d3fe1fe8fb490bbb92cea0723a968215a324f..bce496ab28ca0531a4869b5b7d3ec7432cf0af49 100644 (file)
 #ifndef WX_PRECOMP
     #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:
@@ -236,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(