]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/debugrpt.cpp
added wxString ctor from std::string (inside #ifdef wxUSE_STD_STRING); removed pragma...
[wxWidgets.git] / src / common / debugrpt.cpp
index 96ccc600124acd755f16652b94b0b08668bb383f..2f5ba823e3187635e61425ef82618aae1fc18573 100644 (file)
@@ -224,7 +224,12 @@ wxDebugReport::~wxDebugReport()
 
     if ( !m_dir.empty() )
     {
+        // Temp fix: what should this be? eVC++ doesn't like wxRmDir
+#ifdef __WXWINCE__
+        if ( wxRmdir(m_dir.fn_str()) != 0 )
+#else
         if ( wxRmDir(m_dir.fn_str()) != 0 )
+#endif
         {
             wxLogSysError(_("Failed to clean up debug report directory \"%s\""),
                           m_dir.c_str());