From 9034c5906c1c5248dda83f186177f07279bfbab4 Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Tue, 15 Mar 2005 21:18:06 +0000 Subject: [PATCH] WinCE doesn't have wxCheckListBox, and doesn't like wxRmDir git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32839 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/debugrpt.cpp | 5 +++++ src/generic/dbgrptg.cpp | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/common/debugrpt.cpp b/src/common/debugrpt.cpp index 96ccc60012..2f5ba823e3 100644 --- a/src/common/debugrpt.cpp +++ b/src/common/debugrpt.cpp @@ -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()); diff --git a/src/generic/dbgrptg.cpp b/src/generic/dbgrptg.cpp index c09e021cd7..4a6397b5b4 100644 --- a/src/generic/dbgrptg.cpp +++ b/src/generic/dbgrptg.cpp @@ -29,7 +29,7 @@ #include "wx/textctrl.h" #endif // WX_PRECOMP -#if wxUSE_DEBUGREPORT +#if wxUSE_DEBUGREPORT && wxUSE_CHECKLISTBOX #include "wx/debugrpt.h" -- 2.45.2