[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lmi] Does wxDOC_NEW override wxDOC_SILENT?
From: |
Vadim Zeitlin |
Subject: |
Re: [lmi] Does wxDOC_NEW override wxDOC_SILENT? |
Date: |
Mon, 4 Aug 2008 02:50:44 +0200 |
On Sun, 03 Aug 2008 12:03:17 +0000 Greg Chicares <address@hidden> wrote:
GC> Index: main_wx.cpp
GC> ===================================================================
GC> RCS file: /sources/lmi/lmi/main_wx.cpp,v
GC> retrieving revision 1.112
GC> diff -U 3 -r1.112 main_wx.cpp
GC> --- main_wx.cpp 2 Aug 2008 03:47:23 -0000 1.112
GC> +++ main_wx.cpp 3 Aug 2008 11:49:01 -0000
GC> @@ -542,7 +542,7 @@
GC> {
GC> doc_manager_->CreateDocument
GC> (configurable_settings::instance().default_input_filename()
GC> - ,wxDOC_SILENT
GC> + ,wxDOC_SILENT | wxDOC_NEW
GC> );
GC> }
With the latest (i.e. after http://trac.wxwidgets.org/changeset/54965) wx
svn this patch seems to work as expected for me. I wouldn't advise starting
to use this version in LMI yet as it's not at all impossible that I
introduced some new bugs, as the code I modified was rather fragile but at
least they should be somewhat easier to fix now and I'll continue reviewing
this code and testing it so hopefully everything will work fine for 2.9.0.
Regards,
VZ