Skip to content
Advertisement

Show wx.MenuItems’s Help String in a determined wx.StatusBar’s Field

Premise:

I’m creating a little wx.Frame with a wx.StatusBar with 3 Fields, the one on the left and the one on the right smaller and the one on the center bigger.

Now, By Default, when i put the mouse on a wx.MenuItem the wx.StatusBar set as Status Text the wx.MenuItem’s Help String in the FIRST wx.StatusBar’s Field like in the below picture:

enter image description here

Question:

Now, I want, if it’s possible, that in the above situation the wx.MenuItem’s Help String in the SECOND FIELD (the biggest one in the center)

Advertisement

Answer

You are looking for SetStatusBarPane() for the frame
It simply requires you to nominate a pane number (from 0) where the text should be displayed.

enter image description here

JavaScript
User contributions licensed under: CC BY-SA
2 People found this is helpful
Advertisement