Document that wxInfoBar close button is not used with custom ones

Don't say that wxInfoBar always has a close button because this is not the
case if any custom buttons are present.

Closes #17464.
This commit is contained in:
pb101 2016-03-28 21:29:09 +02:00 committed by Vadim Zeitlin
parent 01046f4790
commit e806647e7f

View File

@ -18,9 +18,10 @@
higher chance to be noticed by the user but without being annoying.
Info bar may show an icon (on the left), text message and, optionally,
buttons allowing the user to react to the information presented. It always
has a close button at the right allowing the user to dismiss it so it isn't
necessary to provide a button just to close it.
buttons allowing the user to react to the information presented. Unless
a custom button was added to the info bar, it also has a close button at
the right allowing the user to dismiss it so it isn't necessary to provide
a button just to close it.
wxInfoBar calls its parent wxWindow::Layout() method and assumes that it
will change the parent layout appropriately depending on whether the info