]> git.saurik.com Git - wxWidgets.git/commitdiff
add const overload for GetImpl()
authorRobert Roebling <robert@roebling.de>
Mon, 12 Nov 2007 19:03:03 +0000 (19:03 +0000)
committerRobert Roebling <robert@roebling.de>
Mon, 12 Nov 2007 19:03:03 +0000 (19:03 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49862 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/dc.h

index 9810b919d7c343a6bac31486e2a1efc9d1c41b40..403fbd5157911dd3a26a5b1257f68d8162760d42 100644 (file)
@@ -518,6 +518,9 @@ public:
 
     wxImplDC *GetImpl()
         { return m_pimpl; }
+    const wxImplDC *GetImpl() const
+        { return m_pimpl; }
+
 
     bool IsOk() const 
         { return m_pimpl && m_pimpl->IsOk(); }