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.11 by maloninc, Fri Aug 26 11:17:51 2005 UTC revision 1.12 by maloninc, Sat Aug 27 01:19:57 2005 UTC
# Line 269  void mnController::openUrl(wxString& url Line 269  void mnController::openUrl(wxString& url
269  #endif  #endif
270    
271  #ifdef __WXGTK__  #ifdef __WXGTK__
272          wxLogMessage(wxT("Ooops!, I don't know how to launch %s"), url.c_str());          cmd.sprintf(wxT("gnome-open %s"), url.c_str());
         return;  
273  #endif  #endif
274    
275          //wxExecute(argv);          //wxExecute(argv);
# Line 294  void mnController::openDoc(wxString& doc Line 293  void mnController::openDoc(wxString& doc
293  #endif  #endif
294    
295  #ifdef __WXGTK__  #ifdef __WXGTK__
296          wxLogMessage(wxT("Ooops!, I don't know how to launch %s"), doc.c_str());          cmd.sprintf(wxT("gnome-open %s"), doc.c_str());
         return;  
297  #endif  #endif
298    
         //wxExecute(argv);  
299          wxExecute(cmd);          wxExecute(cmd);
300  }  }

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

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