// where should i put this? we need to make sure of this as it breaks
// the <iostream> code.
#if !wxUSE_IOSTREAMH && defined(__WXDEBUG__)
+#ifndef __MWERKS__
#undef __WXDEBUG__
#endif
+#endif
// Callback function type definition
typedef void (*wxFunction) (wxObject&, wxEvent&);
wxDC(void);
~wxDC(void);
+#ifdef WX_COMP_INLINE_NO_CLASS
+ inline void BeginDrawing(void) {}
+ inline void EndDrawing(void) {}
+#else
inline void wxDC::BeginDrawing(void) {}
inline void wxDC::EndDrawing(void) {}
+#endif
virtual void FloodFill(long x1, long y1, const wxColour& col, int style=wxFLOOD_SURFACE) ;
inline void FloodFill(const wxPoint& pt, const wxColour& col, int style=wxFLOOD_SURFACE)
}
// This should probably be made available on other platforms
+#ifdef WX_COMP_INLINE_NO_CLASS
+ int GetDepth(void) const ;
+#else
int wxDC::GetDepth(void) const ;
+#endif
// Implementation
virtual void SetRop(WXHDC cdc);
#define wxUSE_ODBC 1
// Define 1 to use ODBC classes
+#ifndef __MWERKS__
#define wxUSE_IOSTREAMH 1
+#else
+#define wxUSE_IOSTREAMH 0
+#endif
// VC++ 4.2 and above allows <iostream> and <iostream.h>
// but you can't mix them. Set to 1 for <iostream.h>,
// 0 for <iostream>
+
#define wxUSE_WXCONFIG 1
// if enabled, compiles built-in OS independent wxConfig
//
//
-#ifdef __GNUWIN32__
+#if defined( __GNUWIN32__ ) || defined(__MWERKS__)
#include <wx/msw/gnuwin32/winresrc.h>
#else
#include <windows.h>
#error "this file is only for builds with Metrowerks CodeWarrior"
#endif
+#define WX_COMP_INLINE_NO_CLASS // defined if the compiler does not want the classname repeated for inlines within a class definition
+
#if (__MWERKS__ < 0x0900) || macintosh
#define __MAC__
#define __WXMAC__
#error unknown MW compiler
#endif
-#define __WXDEBUG__ 1
-#define WXDEBUG 1
-
+#define __WXDEBUG__
+#define USE_DEFINE
// in order to avoid problems further down in wxWindows
-char *strdup(const char *s) ;
-
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+ char *strdup(const char *s) ;
+ int isascii( int c ) ;
+#ifdef __cplusplus
+} ;
+#endif
#endif
// _WX_CW__