I'm just getting around to the Windows version and I noticed something that seems strange.
I have a Status bar with 2 fields, where both fields have text displayed. If I use the menu, field 0 goes blank while field 1 still displays the text. I tried several other 3rd party programs and do not see the symptoms.
So is this a Window thing? or am I missing something?
Thanks,
B
wxStatusBar goes blank after using wxMenu
-
- Earned a small fee
- Posts: 23
- Joined: Wed Mar 06, 2019 10:33 pm
- [email protected]
- Experienced Solver
- Posts: 78
- Joined: Wed Jul 29, 2020 6:06 pm
Re: wxStatusBar goes blank after using wxMenu
By default wxWidgets displays the help texts for the menu items in statusbar field 0. You can disable this with wxFrame::SetStatusBarPane(-1)
https://docs.wxwidgets.org/trunk/classw ... 78c00ac07f
https://docs.wxwidgets.org/trunk/classw ... 78c00ac07f
-
- Earned a small fee
- Posts: 23
- Joined: Wed Mar 06, 2019 10:33 pm
Re: wxStatusBar goes blank after using wxMenu
ok, makes perfect sense thank you.[email protected] wrote: ↑Wed Aug 26, 2020 1:28 pmBy default wxWidgets displays the help texts for the menu items in statusbar field 0. You can disable this with wxFrame::SetStatusBarPane(-1)
https://docs.wxwidgets.org/trunk/classw ... 78c00ac07f