+ // find the entry for this DC in the cache (keyed by the window)
+ wxPaintDCInfo *FindInCache(size_t *index = NULL) const;
+
+private:
+ DECLARE_CLASS(wxPaintDCImpl)
+ DECLARE_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 WXDLLEXPORT wxPaintDCEx : public wxPaintDC
+{
+public:
+ wxPaintDCEx(wxWindow *canvas, WXHDC dc);
+
+private:
+ DECLARE_CLASS(wxPaintDCEx)
+ DECLARE_NO_COPY_CLASS(wxPaintDCEx)