From: Stefan Csomor Date: Sat, 22 Dec 2007 09:05:13 +0000 (+0000) Subject: keeping the constness X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/1f991c9d52b50ec9cd381157ceed21843a896ac1 keeping the constness git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50884 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/dc.h b/include/wx/dc.h index 24c77d0441..ab3b1c9ccf 100644 --- a/include/wx/dc.h +++ b/include/wx/dc.h @@ -566,7 +566,7 @@ public: const wxDCImpl *GetImpl() const { return m_pimpl; } - wxWindow *GetWindow() + wxWindow *GetWindow() const { return m_pimpl->GetWindow(); } bool IsOk() const