[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lmi] Adding open files to MDI "Window" menu
From: |
Vaclav Slavik |
Subject: |
Re: [lmi] Adding open files to MDI "Window" menu |
Date: |
Wed, 5 Mar 2008 14:45:33 +0100 |
User-agent: |
KMail/1.9.9 |
Greg Chicares wrote:
> Would it be difficult to add one menuitem to the MDI "Window"
> menu for each open file?
Not at all, it's standard wx behavior, unless the app explicitly
disables it. This change restores default behavior:
diff -u -u -r1.101 main_wx.cpp
--- main_wx.cpp 2 Mar 2008 03:07:23 -0000 1.101
+++ main_wx.cpp 5 Mar 2008 13:39:31 -0000
@@ -642,7 +646,6 @@
,wxDefaultPosition
,wxDefaultSize
, wxDEFAULT_FRAME_STYLE
- | wxFRAME_NO_WINDOW_MENU
| wxHSCROLL
| wxVSCROLL
);
Regards,
Vaclav
--
PGP key: 0x465264C9, available from http://pgp.mit.edu/
- Re: [lmi] Adding open files to MDI "Window" menu,
Vaclav Slavik <=