Hi
I am using sample mp1.cpp as a basis for my code. I have some questions regarding the log window:
1) What would be the correct way of disabling wxMathPlot debug messages?
2) How can insert my debug messages into the log?
David
Hi,
1) Comment out the #define MATHPLOT_DO_LOGGING line at the top of mathplot.cpp.
2) Call wxLogMessage() whenever you want to add a message. Or use one of the other wx log functions
Cheers
Nigel
: http://docs.wxwidgets.org/stable/wx_logfunctions.html#logfunctions
Sorry should be comment out this line:
#define MATHPLOT_DO_LOGGING
Log in to post a comment.
Hi
I am using sample mp1.cpp as a basis for my code. I have some questions regarding the log window:
1) What would be the correct way of disabling wxMathPlot debug messages?
2) How can insert my debug messages into the log?
David
Hi,
1) Comment out the #define MATHPLOT_DO_LOGGING line at the top of mathplot.cpp.
2) Call wxLogMessage() whenever you want to add a message. Or use one of the other wx log functions
Cheers
Nigel
: http://docs.wxwidgets.org/stable/wx_logfunctions.html#logfunctions
Sorry should be comment out this line:
#define MATHPLOT_DO_LOGGING