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:
parent
53bc349182
commit
9034c5906c
@ -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());
|
||||
|
@ -29,7 +29,7 @@
|
||||
#include "wx/textctrl.h"
|
||||
#endif // WX_PRECOMP
|
||||
|
||||
#if wxUSE_DEBUGREPORT
|
||||
#if wxUSE_DEBUGREPORT && wxUSE_CHECKLISTBOX
|
||||
|
||||
#include "wx/debugrpt.h"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user