Develop and Download Open Source Software

Browse CVS Repository

Diff of /malonnote/main.cpp

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

revision 1.8 by maloninc, Mon Jan 23 13:37:10 2006 UTC revision 1.9 by maloninc, Fri Feb 10 05:58:54 2006 UTC
# Line 60  bool mnApp::OnInit() Line 60  bool mnApp::OnInit()
60                  dlg = new wxDirDialog(mainFrame);                  dlg = new wxDirDialog(mainFrame);
61                  if(dlg->ShowModal() == wxID_OK) {                  if(dlg->ShowModal() == wxID_OK) {
62                          gotDirName = dlg->GetPath();                          gotDirName = dlg->GetPath();
63  wxLogMessage(wxT("gotDirName:[%s]"), gotDirName.c_str());                          config->Write(wxT(CONF_WIKI_DIR), gotDirName.c_str());
64                          //config->Write(wxT(CONF_WIKI_DIR), gotDirName.c_str());                          mainFrame->addNotePanel(&gotDirName);
                         //mainFrame->addNotePanel(&gotDirName);  
65                  }                  }
66                  else {                  else {
67                          mainFrame->Close();                          mainFrame->Close();

Legend:
Removed from v.1.8  
changed lines
  Added in v.1.9

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