// Purpose: wx wrappers for DirectFB interfaces
// Author: Vaclav Slavik
// Created: 2006-09-04
-// RCS-ID: $Id$
// Copyright: (c) 2006 REA Elektronik GmbH
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
// these are programming errors, assert:
#define DFB_ASSERT(code) \
case code: \
- wxFAIL_MSG( "DirectFB error: " _T(#code) ); \
+ wxFAIL_MSG( "DirectFB error: " wxT(#code) ); \
return false \
DFB_ASSERT(DFB_DEAD);
default:
// FIXME: should handle the errors individually
- wxLogError(_("DirectFB error %d occured."), (int)code);
+ wxLogError(_("DirectFB error %d occurred."), (int)code);
return false;
}
}