Using wxWidgets 2.9.1 and wxMathPlot 0.1.2. If I put the mpWindow on my main frame it is fine. When I put it on a wxNoteBook page I get an access violation reading location 0x00000000 in the GetPageSize member of wxNoteBook. Wondering if anyone has had the same problem or if anyone has successfully done this. Thanks.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Not sure what the problem was. There seems to be some incompatibility with wxWidgets 2.9.1 the sample programs would not run either. In my code the crash would always seem to occur where wxTheApp was being used inside wxWidgets. I added mathplot.h and mathplot.cpp to my code and compiled as if it were part of my application and it works so far.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Using wxWidgets 2.9.1 and wxMathPlot 0.1.2. If I put the mpWindow on my main frame it is fine. When I put it on a wxNoteBook page I get an access violation reading location 0x00000000 in the GetPageSize member of wxNoteBook. Wondering if anyone has had the same problem or if anyone has successfully done this. Thanks.
Not sure what the problem was. There seems to be some incompatibility with wxWidgets 2.9.1 the sample programs would not run either. In my code the crash would always seem to occur where wxTheApp was being used inside wxWidgets. I added mathplot.h and mathplot.cpp to my code and compiled as if it were part of my application and it works so far.