X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/03647350fc7cd141953c72e0284e928847d30f44..bcd286534a7d880de1b9156a87e6bf5df87f6573:/include/wx/dcgraph.h?ds=inline diff --git a/include/wx/dcgraph.h b/include/wx/dcgraph.h index de977b7577..a5c7e6ff97 100644 --- a/include/wx/dcgraph.h +++ b/include/wx/dcgraph.h @@ -35,6 +35,14 @@ public: 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); };