[ wxwindows-Bugs-1897892 ] Help Window changes menu bar of application windows

SourceForge.net noreply at sourceforge.net
Mon Mar 3 06:53:40 PST 2008


Bugs item #1897892, was opened at 2008-02-20 15:23
Message generated for change (Comment added) made by keinstein
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=109863&aid=1897892&group_id=9863

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: wxMac specific
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Tobias Schlemmer (keinstein)
Assigned to: Stefan Csomor (csomor)
Summary: Help Window changes menu bar of application windows

Initial Comment:
Hi,

I'm using wxHTMLHelpController/wxHTMLHelpProvider on Mac OS X. When I open a help window, the menu bar switches to to the one set by MacSetCommonMenuBar. Activating another window does not switch it back to the window menu bar.

wxMac 2.8.4 and 2.8.7

----------------------------------------------------------------------

>Comment By: Tobias Schlemmer (keinstein)
Date: 2008-03-03 15:53

Message:
Logged In: YES 
user_id=831067
Originator: YES

Ok. I think I hit a trap in the event system while trying to imitate
mutiple top level windows (see request #1897874 and attached file). After
removing the corresponding code I could no longer reproduce the error.

For the records:
The file attached is a diff against the help sample from wx 2.8.4.
The error was in MyFrame::OnActivate.

So it was my fault. I'm so sorry for wasting your time.
I don't know, how to set the appropirate flags, so I won't touch them.

Tobias
File Added: help_demo.cpp.diff

----------------------------------------------------------------------

Comment By: Stefan Csomor (csomor)
Date: 2008-03-01 08:48

Message:
Logged In: YES 
user_id=81467
Originator: NO

Hi

could you please provide a test case, ie describe which sample shows the
problem, or a small diff to an existing sample, this saves us a lot of
time

thanks,

Stefan

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=109863&aid=1897892&group_id=9863




More information about the wx-dev mailing list