Develop and Download Open Source Software

Browse CVS Repository

Diff of /malonnote/mnFrameController.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.9 by maloninc, Tue Oct 24 05:53:29 2006 UTC revision 1.10 by maloninc, Tue Oct 24 05:58:20 2006 UTC
# Line 26  BEGIN_EVENT_TABLE(mnFrameController, wxE Line 26  BEGIN_EVENT_TABLE(mnFrameController, wxE
26          EVT_MENU(wxID_ABOUT, mnFrameController::handleAbout)          EVT_MENU(wxID_ABOUT, mnFrameController::handleAbout)
27          EVT_CLOSE(mnFrameController::handleClose)          EVT_CLOSE(mnFrameController::handleClose)
28          EVT_NOTEBOOK_PAGE_CHANGED(XRCID("noteBook"), mnFrameController::handlePageChange)          EVT_NOTEBOOK_PAGE_CHANGED(XRCID("noteBook"), mnFrameController::handlePageChange)
29          EVT_TIMER(1, mnFrameController::readAll)          EVT_TIMER(wxID_ANY, mnFrameController::readAll)
30  END_EVENT_TABLE()  END_EVENT_TABLE()
31    
32  mnFrameController::mnFrameController(mnFrame* inframe)  mnFrameController::mnFrameController(mnFrame* inframe)
33  {  {
34          frame = inframe;          frame = inframe;
35    
36          wxTimer* timer = new wxTimer(this, 1);          wxTimer* timer = new wxTimer(this);
37          timer->Start(MN_READ_INTERVAL, wxTIMER_CONTINUOUS);          timer->Start(MN_READ_INTERVAL, wxTIMER_CONTINUOUS);
38  }  }
39    

Legend:
Removed from v.1.9  
changed lines
  Added in v.1.10

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26