#ifndef __GTKDCH__
#define __GTKDCH__
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
#pragma interface
#endif
// classes
//-----------------------------------------------------------------------------
-class wxDC;
+class WXDLLIMPEXP_CORE wxDC;
//-----------------------------------------------------------------------------
// constants
//-----------------------------------------------------------------------------
+#ifndef MM_TEXT
#define MM_TEXT 0
#define MM_ISOTROPIC 1
#define MM_ANISOTROPIC 2
#define MM_TWIPS 5
#define MM_POINTS 6
#define MM_METRIC 7
+#endif
//-----------------------------------------------------------------------------
// wxDC
//-----------------------------------------------------------------------------
-class wxDC : public wxDCBase
+class WXDLLIMPEXP_CORE wxDC : public wxDCBase
{
public:
wxDC();
void SetColourMap( const wxPalette& palette ) { SetPalette(palette); };
- // the first two must be overridden and called
- virtual void DestroyClippingRegion();
-
// Resolution in pixels per logical inch
virtual wxSize GetPPI() const;
- virtual bool StartDoc( const wxString& WXUNUSED(message) ) { return TRUE; }
+ virtual bool StartDoc( const wxString& WXUNUSED(message) ) { return true; }
virtual void EndDoc() { }
virtual void StartPage() { }
virtual void EndPage() { }