-// #ifndef __SALFORDC__
- int menuId = event.GetMenuId();
- wxString helpString;
- // This causes a spurious access violation with Salford C++
- helpString = menuBar->GetHelpString(menuId);
- if (helpString != "")
- SetStatusText(helpString);
-// #endif
+ // set status text even if the string is empty - this will at
+ // least remove the string from the item which was previously
+ // selected
+ SetStatusText(menuBar->GetHelpString(menuId));