From 1f991c9d52b50ec9cd381157ceed21843a896ac1 Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Sat, 22 Dec 2007 09:05:13 +0000 Subject: [PATCH] keeping the constness git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50884 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/dc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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