X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1d156af3247c862e51a7c62f569a3fd302052a42..5bdcb1f3248ebcac6c73e314e752c13dee8776c7:/include/wx/dc.h?ds=inline diff --git a/include/wx/dc.h b/include/wx/dc.h index b519785afa..9c6748a920 100644 --- a/include/wx/dc.h +++ b/include/wx/dc.h @@ -283,6 +283,8 @@ public: return NULL; } + virtual void* GetHandle() const = 0; + // query dimension, colour deps, resolution virtual void DoGetSize(int *width, int *height) const = 0; @@ -787,6 +789,9 @@ public: wxWindow *GetWindow() const { return m_pimpl->GetWindow(); } + void *GetHandle() const + { return m_pimpl->GetHandle(); } + bool IsOk() const { return m_pimpl && m_pimpl->IsOk(); }