Develop and Download Open Source Software

Browse CVS Repository

Diff of /malonnote/mnFrame.cpp

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

revision 1.5 by maloninc, Sun Jul 31 06:54:12 2005 UTC revision 1.6 by maloninc, Sun Jul 31 22:22:14 2005 UTC
# Line 55  mnFrame::mnFrame(wxWindow* parent, int i Line 55  mnFrame::mnFrame(wxWindow* parent, int i
55          newItemRoot = searchTree->AppendItem(searchItemRoot, wxT(LABEL_NEW_ITEM), -1, -1, NULL);          newItemRoot = searchTree->AppendItem(searchItemRoot, wxT(LABEL_NEW_ITEM), -1, -1, NULL);
56  }  }
57    
 int mnFrame::showDataEntryDialog(mnWikiDataEntryDialog* dlg)  
 {  
         return wxID_CANCEL;  
 }  
   
 int mnFrame::showDataEditDialog(mnWikiDataEntryDialog* dlg)  
 {  
         wxTreeItemData* itemData = getSelectedItem();  
         wxString        subject  = getSelectedLabel();  
           
         if(itemData == NULL) return wxID_CANCEL;  
         const wxString* wikiText = ((WikiData*)(itemData))->getText();  
   
         dlg->setSubject(subject);  
         dlg->setPlainText(*wikiText);  
         return dlg->ShowModal();  
 }  
   
   
58  void mnFrame::set_properties()  void mnFrame::set_properties()
59  {  {
60      // begin wxGlade: mnFrame::set_properties      // begin wxGlade: mnFrame::set_properties

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

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