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.12 by maloninc, Sat Aug 27 01:19:57 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                  ((WikiData*)(item))->removeDataFile();                  if(wxMessageBox(wxT("Do you realy remove this memo?\n") + frame->getSelectedLabel(), wxT("Realy?"), wxYES_NO|wxICON_QUESTION) == wxYES){
135                            ((WikiData*)(item))->removeDataFile();
136                    }
137          }          }
138          else {          else {
139                  wiki->removeSearchStr(frame->getSelectedLabel());                  wiki->removeSearchStr(frame->getSelectedLabel());

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

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