/////////////////////////////////////////////////////////////////////////////
// Name: wx_cw_d.h
-// Purpose: wxWindows definitions for CodeWarrior builds (Debug)
+// Purpose: wxWidgets definitions for CodeWarrior builds (Debug)
// Author: Stefan Csomor
// Modified by:
// Created: 12/10/98
#ifndef _WX_CW__
#define _WX_CW__
+#if __MWERKS__ >= 0x2400 && __MWERKS__ < 0x3200
+#pragma old_argmatch on
+#endif
+
+#if __option(profile)
+#error "profiling is not supported in debug versions"
+#else
#ifdef __cplusplus
#if __POWERPC__
#include <wx_PPC++_d.mch>
#include <wx_68k_d.mch>
#endif
#endif
+#endif
#endif
// _WX_CW__