+ // it might already have been uninstalled due to a previous call to Destroy, but in case
+ // wasn't, do so now, otherwise redraw events may occur for deleted objects
+ bool ownToolbarInstalled = false;
+ MacTopLevelHasNativeToolbar( &ownToolbarInstalled );
+ if (ownToolbarInstalled)
+ {
+ MacUninstallNativeToolbar();
+ }
+