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