]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/dcgraph.h
adding standard menu items for cocoa, adding translation macro to menulabels, fixes...
[wxWidgets.git] / include / wx / dcgraph.h
index de977b7577eed796dd3cd4a59f813044fe5f0dad..a5c7e6ff975dc434d636c2f11407f73ef52eacb7 100644 (file)
@@ -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);
 };