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
This commit is contained in:
Julian Smart 2005-03-15 21:18:06 +00:00
parent 53bc349182
commit 9034c5906c
2 changed files with 6 additions and 1 deletions

View 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());

View File

@ -29,7 +29,7 @@
#include "wx/textctrl.h"
#endif // WX_PRECOMP
#if wxUSE_DEBUGREPORT
#if wxUSE_DEBUGREPORT && wxUSE_CHECKLISTBOX
#include "wx/debugrpt.h"