lmi
[Top][All Lists]
Advanced

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

Re[2]: [lmi] Adding open files to MDI "Window" menu


From: Vadim Zeitlin
Subject: Re[2]: [lmi] Adding open files to MDI "Window" menu
Date: Wed, 5 Mar 2008 14:51:33 +0100

On Wed, 5 Mar 2008 14:45:33 +0100 Vaclav Slavik <address@hidden> wrote:

VS> Greg Chicares wrote:
VS> > Would it be difficult to add one menuitem to the MDI "Window"
VS> > menu for each open file?
VS> 
VS> Not at all, it's standard wx behavior, unless the app explicitly 
VS> disables it. This change restores default behavior:
VS> 
VS> diff -u -u -r1.101 main_wx.cpp
VS> --- main_wx.cpp 2 Mar 2008 03:07:23 -0000       1.101
VS> +++ main_wx.cpp 5 Mar 2008 13:39:31 -0000
VS> @@ -642,7 +646,6 @@
VS>              ,wxDefaultPosition
VS>              ,wxDefaultSize
VS>              ,   wxDEFAULT_FRAME_STYLE
VS> -            |   wxFRAME_NO_WINDOW_MENU
VS>              |   wxHSCROLL
VS>              |   wxVSCROLL
VS>              );

 BTW, I dug into cvs history to see where does this wxFRAME_NO_WINDOW_MENU
style come from and it seems to have been there from the very beginning
(i.e. 2005-03-12 03:01:08 commit with log message "Add GUI files"). I have
really no idea why was it used though...

 Regards,
VZ





reply via email to

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