Hi,
I would like to use wxLogWindow to display logging messages in a logging build configuration. Obviously i don't want these messages to appear to the end user in release mode. However, if i'm using wxLogDebug, the messages are displayed only in debug mode. I can't use debug mode for my tests, i need to test the release mode, but still see the log messages.
What should i do?
Thanks!
Logging messages
__WXDEBUG__ disable
According to the quote in the documentation for the WxLogDebug fucntion, "The right functions for debug output. They only do something in debug mode (when the preprocessor symbol __WXDEBUG__ is defined) and expand to nothing in release mode (otherwise)." This should mean that if __WXDEBUG__ is undefined, then wxLogDebug should do nothing. However, if I try to compile without __WXDEBUG__ defined, I get undefined references to wxAssert. Techincally I can't use a "Release Mode" unless I remove all my calls to wxLogDebug (or use an ugly #ifdef for the function call, yuk). Does anyone know if this is a bug being tracked?? I spoke about my compilation problems to get the logging functions to work in this post,
http://forums.wxwidgets.org/viewtopic.p ... highlight=
and this was great! Now I can't turn the debug off!
-R
http://forums.wxwidgets.org/viewtopic.p ... highlight=
and this was great! Now I can't turn the debug off!

-R