]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/dc.h
fixed memory leak in wxXmlResource introduced when fixing wxVector<> usage (patch...
[wxWidgets.git] / include / wx / dc.h
index 24c77d04417ac762b79edc5027d9be9282c33de8..ab3b1c9ccf3e3c8c4b20b1623a2dfd885a683fb6 100644 (file)
@@ -566,7 +566,7 @@ public:
     const wxDCImpl *GetImpl() const
         { return m_pimpl; }
 
-    wxWindow *GetWindow()
+    wxWindow *GetWindow() const
         { return m_pimpl->GetWindow(); }
 
     bool IsOk() const