git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32839
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
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());
#include "wx/textctrl.h"
#endif // WX_PRECOMP
-#if wxUSE_DEBUGREPORT
+#if wxUSE_DEBUGREPORT && wxUSE_CHECKLISTBOX
#include "wx/debugrpt.h"