wxFrameBase::DoGiveHelp fix for Bug 1340887 incomplete
Matthias Reitberger
matthias.reitberger at mecadtron.de
Tue Apr 3 02:32:17 PDT 2007
Vadim Zeitlin schrieb:
> On Mon, 02 Apr 2007 15:50:33 +0200 Matthias Reitberger <matthias.reitberger at mecadtron.de> wrote:
>
> MR> Vadim Zeitlin schrieb:
> MR> > MR> Now I sometimes get back no status text when using the menubar, but that
> MR> > MR> isn't as bad as getting back an outdated status text.
> MR> >
> MR> > Sorry, I don't understand how does this happen. Would you have a patch
> MR> > against the toolbar sample showing it?
> MR> >
> MR> You can use the toolbar sample as it is:
> MR> 1. Start the sample, the status text says 'Hello, wxWidgets'
> MR> 2. Now go to the Menubar and click on 'Help' to display the help menu.
> MR> 3. Click again on 'Help' to undisplay the help menu.
> MR> 4. Move the Mouse back inside the frame, no status text is displayed.
>
> Thanks, I do indeed the problem (in fact it can be seen even in the
> minimal sample, or just about any other one, I don't know why did I think
> it was specific to the toolbars). It should be fixed in the latest cvs,
> please let me know if you still see any problems.
>
> Thanks,
> VZ
>
>
I first had to modify msw/frame.cpp to make it compile:
- DoGiveHelp(wxEmptyString, false);
+ DoGiveHelp(wxEmptyString);
Now it works perfect, thank you for the quick fix.
Greetings
Matthias
More information about the wx-users
mailing list