From: Robert Roebling Date: Tue, 12 Sep 2006 09:12:52 +0000 (+0000) Subject: Add const to GetTargetSize() X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/2d6dd9c09e7084d402fc923d2f09d8b7158a1a04 Add const to GetTargetSize() git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41170 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/scrolwin.h b/include/wx/scrolwin.h index c27b7fa830..96df44be6f 100644 --- a/include/wx/scrolwin.h +++ b/include/wx/scrolwin.h @@ -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 )