]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/carbon/taskbar.cpp
copying as much values from the dc as possible
[wxWidgets.git] / src / mac / carbon / taskbar.cpp
index c8bb4e1f2632c4aeaf59b439b97b73be3f719c93..bce496ab28ca0531a4869b5b7d3ec7432cf0af49 100644 (file)
@@ -235,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(