Browse CVS Repository
Diff of /malonnote/mnController.cpp
Parent Directory
| Revision Log
| Revision Graph
| Patch
| 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; |
| 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 |
|
|
|