- // do it even if help string is empty to avoid showing the help for the
- // previously selected tool when another one is selected
- frame->DoGiveHelp(help);
+ // call DoGiveHelp() even if help string is empty to avoid showing the
+ // help for the previously selected tool when another one is selected
+ frame->DoGiveHelp(help, id != wxID_ANY);