Menu

Log window questions

Help
DavidA
2009-09-17
2013-05-02
  • DavidA

    DavidA - 2009-09-17

    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

     
  • Nigel Paton

    Nigel Paton - 2009-09-17

    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

     
  • Nigel Paton

    Nigel Paton - 2009-09-17

    Sorry should be comment out this line:

        #define MATHPLOT_DO_LOGGING

     

Log in to post a comment.