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:
@@ -18,9 +18,10 @@
|
|||||||
higher chance to be noticed by the user but without being annoying.
|
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,
|
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
|
buttons allowing the user to react to the information presented. Unless
|
||||||
has a close button at the right allowing the user to dismiss it so it isn't
|
a custom button was added to the info bar, it also has a close button at
|
||||||
necessary to provide a button just to close it.
|
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
|
wxInfoBar calls its parent wxWindow::Layout() method and assumes that it
|
||||||
will change the parent layout appropriately depending on whether the info
|
will change the parent layout appropriately depending on whether the info
|
||||||
|
Reference in New Issue
Block a user