Develop and Download Open Source Software

Browse CVS Repository

Diff of /malonnote/mnController.cpp

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

revision 1.13 by maloninc, Tue Sep 13 00:40:08 2005 UTC revision 1.15 by maloninc, Tue Sep 13 04:22:15 2005 UTC
# Line 98  void mnController::handleSearch(wxComman Line 98  void mnController::handleSearch(wxComman
98          frame->showSearchResult(wiki);          frame->showSearchResult(wiki);
99  }  }
100    
101    
102  void mnController::handleNewButton(wxCommandEvent& event)  void mnController::handleNewButton(wxCommandEvent& event)
103  {  {
104          int             ans;          int             ans;
# Line 130  void mnController::handleRemoveButton(wx Line 131  void mnController::handleRemoveButton(wx
131          wxTreeItemData* item = frame->getSelectedItem();          wxTreeItemData* item = frame->getSelectedItem();
132    
133          if(item){          if(item){
134                  if(wxMessageBox(frame->getSelectedLabel(), wxT("Do you realy remove this memo?"), wxYES_NO|wxICON_QUESTION) == wxYES){                  if(wxMessageBox(wxT("Do you realy remove this memo?\n") + frame->getSelectedLabel(), wxT("Realy?"), wxYES_NO|wxICON_QUESTION) == wxYES){
135                          ((WikiData*)(item))->removeDataFile();                          ((WikiData*)(item))->removeDataFile();
136                  }                  }
137          }          }

Legend:
Removed from v.1.13  
changed lines
  Added in v.1.15

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