lmi
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lmi] 'Window' menu problem, and unexpected solution


From: Vadim Zeitlin
Subject: Re: [lmi] 'Window' menu problem, and unexpected solution
Date: Sat, 3 Dec 2005 04:39:38 +0100

On Thu, 01 Dec 2005 05:03:14 +0000 Greg Chicares <address@hidden> wrote:

GC> Because lmi presents an mdi interface, it ought to have a 'Window' menu,
GC> at least on msw.

 Yes, definitely, but this should happen without any intervention from your
part, i.e. wx is supposed to take care of it automatically (although you
can customize it in recent versions IIRC).

GC> Did someone enhance wx to fix the same thing I did? Here's a very brief
GC> description of the main problem I was working around:
GC> 
GC>   // Enhance class wxDocMDIChildFrame to support MDI without requiring
GC>   // the parent MDI frame window to display a 'Window' menu when it has
GC>   // no MDI child, as recommended in msw platform documentation.
GC> 
GC> IOW, there was a pointless 'Window' menu when no child window existed.

 And I agree that the "Window" menu should not be shown if there are no MDI
children but this does not work in the current (2.7.0) version and
definitely not in 2.6.x neither (there were no changes to MDI code
recently) and I'd say that it probably never worked correctly. At least I
don't see any code in src/msw/mdi.cpp which would take care of this. But it
should, of course, be added. It shouldn't be too difficult although it
might take more than a couple of hours just because you can always expect
to have surprizes with MDI...

GC> I looked here
GC>   http://cvs.wxwidgets.org/viewcvs.cgi/wxWidgets/src/msw/mdi.cpp
GC> and tentatively concluded that some revision in [1.113, 1.127] is
GC> likely to contain the fix. But looking up the sf defect reports is
GC> parctically impossible right now because sf.net is almost unreachable,
GC> so I thought I'd ask whether you recall such a change.

 No, sorry, I don't remember anything like this. But then based on what
I saw so far there is just no fix at all...

 Regards,
VZ





reply via email to

[Prev in Thread] Current Thread [Next in Thread]