#include "capp.h"
extern CApplication app;

#ifdef _DEBUG
	#define DEBUGPRINT(x) app.mainWindow->GetOutputWindow()->AddLine(x);
	#define DEBUGPRINT2(x,y) { char *tmp = CMemory::printstr(x,y); app.mainWindow->GetOutputWindow()->AddLine(tmp); _DELETE(tmp);}
#else
	#define DEBUGPRINT(x) ;
	#define DEBUGPRINT2(x,y) ;
#endif