+ of the previous one. If any buttons are added to the info bar using
+ this method, the default "Close" button is not shown as it is assumed
+ that the extra buttons already allow the user to close it.
+
+ Clicking the button will generate a normal EVT_COMMAND_BUTTON_CLICKED
+ event which can be handled as usual. The default handler in wxInfoBar
+ itself closes the window whenever a button in it is clicked so if you
+ wish the info bar to be hidden when the button is clicked, simply call
+ @c event.Skip() in the button handler to let the base class handler do
+ it (calling Dismiss() explicitly works too, of course). On the other
+ hand, if you don't skip the event, the info bar will remain opened so
+ make sure to do it for at least some buttons to allow the user to close
+ it.