Carl Godkin
2014-02-10 17:52:10 UTC
Hi,
We're migrating to wx 3.0.0 and running into lots of extra messages.
Apparently wxWidgets 3.0 changed so that __WXDEBUG__ is always set -- even
in release builds -- and we're seeing all sorts of wxLogDebug output in
unexpected places from our applications.
For instance, there's a new wxLogDebug call in the wxGTK setup code
(utilsgtk.cpp, line 225):
wxLogDebug("Failed to connect to session manager: %s", smerr);
which comes up every time for us since we don't run on Linux desktops with
session managers. (In wx 2.8, there was no message here, and it wouldn't
have been printed anyway in release mode.)
I would like our customers (and the rest of us) not to see such messages.
I feel I must be missing something here. Surely no one else wants to see
debug messages in release mode, do they?
Thanks,
carl
We're migrating to wx 3.0.0 and running into lots of extra messages.
Apparently wxWidgets 3.0 changed so that __WXDEBUG__ is always set -- even
in release builds -- and we're seeing all sorts of wxLogDebug output in
unexpected places from our applications.
For instance, there's a new wxLogDebug call in the wxGTK setup code
(utilsgtk.cpp, line 225):
wxLogDebug("Failed to connect to session manager: %s", smerr);
which comes up every time for us since we don't run on Linux desktops with
session managers. (In wx 2.8, there was no message here, and it wouldn't
have been printed anyway in release mode.)
I would like our customers (and the rest of us) not to see such messages.
I feel I must be missing something here. Surely no one else wants to see
debug messages in release mode, do they?
Thanks,
carl
--
Please read http://www.wxwidgets.org/support/mlhowto.htm before posting.
To unsubscribe, send email to wx-users+***@googlegroups.com
or visit http://groups.google.com/group/wx-users
Please read http://www.wxwidgets.org/support/mlhowto.htm before posting.
To unsubscribe, send email to wx-users+***@googlegroups.com
or visit http://groups.google.com/group/wx-users