From: <pst...@us...> - 2011-08-05 20:30:43
|
Revision: 885 http://jazzplusplus.svn.sourceforge.net/jazzplusplus/?rev=885&view=rev Author: pstieber Date: 2011-08-05 20:30:37 +0000 (Fri, 05 Aug 2011) Log Message: ----------- Change c_str() to wx_str() due to Microsoft template specializations. Modified Paths: -------------- trunk/jazz/src/JazzPlusPlusApplication.cpp Modified: trunk/jazz/src/JazzPlusPlusApplication.cpp =================================================================== --- trunk/jazz/src/JazzPlusPlusApplication.cpp 2011-08-05 20:26:59 UTC (rev 884) +++ trunk/jazz/src/JazzPlusPlusApplication.cpp 2011-08-05 20:30:37 UTC (rev 885) @@ -196,7 +196,7 @@ // Test for the existence of the help file. bool HelpFileFound = false; ifstream Is; - Is.open(HelpFileNameAndPath.c_str()); + Is.open(HelpFileNameAndPath.wx_str()); if (!Is) { // Ask the user to find the help file. @@ -207,7 +207,7 @@ // Try one more time. Is.close(); Is.clear(); - Is.open(HelpFileNameAndPath.c_str()); + Is.open(HelpFileNameAndPath.wx_str()); if (!Is) { wxString Message = "Failed to add the Jazz++ book " + mHelpFileName; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |