this is called when the event from the thread is received
| 103 | |
| 104 | // this is called when the event from the thread is received |
| 105 | void onPlotUpdate(wxCommandEvent& evt) |
| 106 | { |
| 107 | //int val = evt.GetInt(); |
| 108 | |
| 109 | // update the plot data (cyclic buffer) |
| 110 | |
| 111 | smileMutexLock(wxMtx); |
| 112 | // replot |
| 113 | drawPane->paintEventCur = (paintDataEvent *)evt.GetClientData(); |
| 114 | smileMutexUnlock(wxMtx); |
| 115 | |
| 116 | /* |
| 117 | drawPane->yscale100 = yscale100; |
| 118 | drawPane->featureName = evt.GetString(); |
| 119 | drawPane->curval = val; |
| 120 | */ |
| 121 | drawPane->showImg = true; |
| 122 | drawPane->paintNow(); |
| 123 | |
| 124 | |
| 125 | } |
| 126 | |
| 127 | |
| 128 |
nothing calls this directly
no test coverage detected