add const overload for GetImpl()

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49862 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling 2007-11-12 19:03:03 +00:00
parent 8953748b9a
commit 3204315276

View File

@ -518,6 +518,9 @@ public:
wxImplDC *GetImpl() wxImplDC *GetImpl()
{ return m_pimpl; } { return m_pimpl; }
const wxImplDC *GetImpl() const
{ return m_pimpl; }
bool IsOk() const bool IsOk() const
{ return m_pimpl && m_pimpl->IsOk(); } { return m_pimpl && m_pimpl->IsOk(); }