From f8d78564b09c909bb39a8e4353d4039e4cdcbad0 Mon Sep 17 00:00:00 2001 From: Matthew Flatt Date: Sun, 4 Dec 2005 15:04:44 +0000 Subject: [PATCH] fixed the bug where a menu stays highlighted in 10.4 svn: r1517 --- src/wxmac/src/mac/wx_menu.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/wxmac/src/mac/wx_menu.cc b/src/wxmac/src/mac/wx_menu.cc index 0818ff1463..267ec16ffe 100644 --- a/src/wxmac/src/mac/wx_menu.cc +++ b/src/wxmac/src/mac/wx_menu.cc @@ -720,6 +720,7 @@ void wxMenuBar::Install(wxWindow *for_frame) int i; wxMenu* menu; + wxPrepareMenuDraw(); ::ClearMenuBar(); wxSetUpAppleMenu(this); for (i = 0; i < n; i ++) {