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.7 by maloninc, Fri Oct 7 10:19:46 2005 UTC revision 1.8 by maloninc, Mon Jan 23 13:37:10 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                          config->Write(wxT(CONF_WIKI_DIR), gotDirName.c_str());  wxLogMessage(wxT("gotDirName:[%s]"), gotDirName.c_str());
64                          mainFrame->addNotePanel(&gotDirName);                          //config->Write(wxT(CONF_WIKI_DIR), gotDirName.c_str());
65                            //mainFrame->addNotePanel(&gotDirName);
66                  }                  }
67                  else {                  else {
68                          mainFrame->Close();                          mainFrame->Close();

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

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