]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/carbon/taskbar.cpp
process pending wx events before sending idle events
[wxWidgets.git] / src / mac / carbon / taskbar.cpp
index bce496ab28ca0531a4869b5b7d3ec7432cf0af49..326e764eaaa8907a23c1ecffeeeffb409760c593 100644 (file)
@@ -186,7 +186,7 @@ pascal OSStatus wxDockEventHandler( EventHandlerCallRef inHandlerCallRef,
                 wxMenuItem *item = NULL;
 
                 if (id != 0) // get the wxMenuItem reference from the MenuRef
-                    GetMenuItemRefCon( menuRef, menuItemIndex, (UInt32*) &item );
+                    GetMenuItemRefCon( menuRef, menuItemIndex, (URefCon*) &item );
 
                 if (item)
                 {