+ wxGraphicsContext* GetGraphicsContext();
+ void SetGraphicsContext( wxGraphicsContext* ctx );
+
+#ifdef __WXMSW__
+ // override wxDC virtual functions to provide access to HDC associated with
+ // this Graphics object (implemented in src/msw/graphics.cpp)
+ virtual WXHDC AcquireHDC();
+ virtual void ReleaseHDC(WXHDC hdc);
+#endif // __WXMSW__
+
+private:
+ DECLARE_DYNAMIC_CLASS(wxGCDC)
+ wxDECLARE_NO_COPY_CLASS(wxGCDC);
+};
+
+
+class WXDLLIMPEXP_CORE wxGCDCImpl: public wxDCImpl
+{
+public:
+ wxGCDCImpl( wxDC *owner, const wxWindowDC& dc );
+ wxGCDCImpl( wxDC *owner, const wxMemoryDC& dc );
+#if wxUSE_PRINTING_ARCHITECTURE
+ wxGCDCImpl( wxDC *owner, const wxPrinterDC& dc );
+#endif
+ wxGCDCImpl( wxDC *owner );
+
+ virtual ~wxGCDCImpl();
+