]> git.saurik.com Git - wxWidgets.git/commitdiff
WinCE doesn't have wxCheckListBox, and doesn't like wxRmDir
authorJulian Smart <julian@anthemion.co.uk>
Tue, 15 Mar 2005 21:18:06 +0000 (21:18 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Tue, 15 Mar 2005 21:18:06 +0000 (21:18 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32839 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/debugrpt.cpp
src/generic/dbgrptg.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());
index c09e021cd73f659ff43b29eff22af13ec5eb64ab..4a6397b5b42f0d3e44fabe14888d12f63fe7a50e 100644 (file)
@@ -29,7 +29,7 @@
     #include "wx/textctrl.h"
 #endif // WX_PRECOMP
 
-#if wxUSE_DEBUGREPORT
+#if wxUSE_DEBUGREPORT && wxUSE_CHECKLISTBOX
 
 #include "wx/debugrpt.h"