Wrap label if necessary in wxInfoBar in wxGTK

Also update the sample to test showing an overlong message in wxInfoBar.

Closes https://github.com/wxWidgets/wxWidgets/pull/1443

See #14121.
This commit is contained in:
Igor Korot
2019-07-26 23:46:36 -05:00
committed by Vadim Zeitlin
parent 43c519e04f
commit 32d8b5954a
4 changed files with 15 additions and 2 deletions

View File

@@ -391,6 +391,7 @@ public:
#if wxUSE_INFOBAR
void InfoBarSimple(wxCommandEvent& event);
void InfoBarSimpleWrapped(wxCommandEvent &event);
void InfoBarAdvanced(wxCommandEvent& event);
#endif // wxUSE_INFOBAR
@@ -598,6 +599,7 @@ enum
DIALOGS_NUM_ENTRY,
DIALOGS_LOG_DIALOG,
DIALOGS_INFOBAR_SIMPLE,
DIALOGS_INFOBAR_SIMPLE_WRAPPED,
DIALOGS_INFOBAR_ADVANCED,
DIALOGS_MODAL,
DIALOGS_MODELESS,