/////////////////////////////////////////////////////////////////////////////
-// Name: dc.h
+// Name: wx/palmos/dc.h
// Purpose: wxDC class
-// Author: William Osborne
+// Author: William Osborne - minimal working wxPalmOS port
// Modified by:
// Created: 10/13/04
-// RCS-ID: $Id:
+// RCS-ID: $Id$
// Copyright: (c) William Osborne
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#ifndef _WX_DC_H_
#define _WX_DC_H_
-#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
- #pragma interface "dc.h"
-#endif
-
#include "wx/defs.h"
#include "wx/dc.h"
public:
wxDCCacheEntry(WXHBITMAP hBitmap, int w, int h, int depth);
wxDCCacheEntry(WXHDC hDC, int depth);
- ~wxDCCacheEntry();
+ virtual ~wxDCCacheEntry();
WXHBITMAP m_bitmap;
WXHDC m_dc;
{
public:
wxDC();
- ~wxDC();
+ virtual ~wxDC();
// implement base class pure virtuals
// ----------------------------------
virtual void DoSetClippingRegionAsRegion(const wxRegion& region);
virtual void DoSetClippingRegion(wxCoord x, wxCoord y,
wxCoord width, wxCoord height);
- virtual void DoGetClippingRegion(wxCoord *x, wxCoord *y,
- wxCoord *width, wxCoord *height)
- {
- GetClippingBox(x, y, width, height);
- }
virtual void DoGetClippingBox(wxCoord *x, wxCoord *y,
wxCoord *w, wxCoord *h) const;