- // find the entry for this DC in the cache (keyed by the window)
- wxPaintDCInfo *FindInCache(size_t *index = NULL) const;
+ DECLARE_CLASS(wxPaintDCImpl)
+ wxDECLARE_NO_COPY_CLASS(wxPaintDCImpl);
+};
+
+/*
+ * wxPaintDCEx
+ * This class is used when an application sends an HDC with the WM_PAINT
+ * message. It is used in HandlePaint and need not be used by an application.
+ */
+
+class WXDLLIMPEXP_CORE wxPaintDCEx : public wxPaintDC
+{
+public:
+ wxPaintDCEx(wxWindow *canvas, WXHDC dc);
+
+ DECLARE_CLASS(wxPaintDCEx)
+ wxDECLARE_NO_COPY_CLASS(wxPaintDCEx);