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.13 by maloninc, Tue Sep 13 00:40:08 2005 UTC
# Line 130  void mnController::handleRemoveButton(wx Line 130  void mnController::handleRemoveButton(wx
130          wxTreeItemData* item = frame->getSelectedItem();          wxTreeItemData* item = frame->getSelectedItem();
131    
132          if(item){          if(item){
133                  ((WikiData*)(item))->removeDataFile();                  if(wxMessageBox(frame->getSelectedLabel(), wxT("Do you realy remove this memo?"), wxYES_NO|wxICON_QUESTION) == wxYES){
134                            ((WikiData*)(item))->removeDataFile();
135                    }
136          }          }
137          else {          else {
138                  wiki->removeSearchStr(frame->getSelectedLabel());                  wiki->removeSearchStr(frame->getSelectedLabel());

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

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