wxToolbar Clears wxStatusBar?!?

Hello NG,

    I am on windows XP, with wxPython 2.5.5.0 prerelease and Python 2.3.4.
In my application, I have a statusbar and a toolbar. In the toolbar, I do
NOT set the longHelpString. Anyway, when I pass over a button on the toolbar,
the first field of my statusbar is cleared... it contains other information,
and I would like to keep it as it is...
Does anyone had the same experience? Does anyone have a suggestion/pointer?

You can see the same behavior on the wxPython demo if you add the lines:

status = self.CreateStatusBar()
status.SetStatusText('Hello!')

where self.CreateStatusBar() is, and then delete all the longHelpString
in the toolbar tools.

Thanks for every suggestion.

Andrea.

andrea_gavana@tin.it wrote:

Hello NG,

    I am on windows XP, with wxPython 2.5.5.0 prerelease and Python 2.3.4.
In my application, I have a statusbar and a toolbar. In the toolbar, I do
NOT set the longHelpString. Anyway, when I pass over a button on the toolbar,
the first field of my statusbar is cleared... it contains other information,
and I would like to keep it as it is...
Does anyone had the same experience? Does anyone have a suggestion/pointer?

You can turn off the updating of the statusbar by calling

  frame.SetStatusBarPane(-1)

or you can use it to direct the long help to some other section of the statusbar.

···

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!