]> git.saurik.com Git - wxWidgets.git/commitdiff
Add const to GetTargetSize()
authorRobert Roebling <robert@roebling.de>
Tue, 12 Sep 2006 09:12:52 +0000 (09:12 +0000)
committerRobert Roebling <robert@roebling.de>
Tue, 12 Sep 2006 09:12:52 +0000 (09:12 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41170 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/scrolwin.h

index c27b7fa8307d5f705e3d05b02fbed3cc2968599d..96df44be6f7e160d820979e758bf75879d108779 100644 (file)
@@ -177,7 +177,7 @@ protected:
                                          : m_targetWindow->GetClientSize();
     }
 
-    void GetTargetSize(int *w, int *h)
+    void GetTargetSize(int *w, int *h) const
     {
         wxSize size = GetTargetSize();
         if ( w )