From: Robin Dunn <robin@alldunn.com> Date: Tue, 20 Jul 2004 18:13:12 +0000 (+0000) Subject: DoPrepareDC needs the dc. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/fe5ddd9250907dd4012161c810e5640b2182818c DoPrepareDC needs the dc. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28337 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/gtk/scrolwin.h b/include/wx/gtk/scrolwin.h index bcfb3940df..3023df7fc4 100644 --- a/include/wx/gtk/scrolwin.h +++ b/include/wx/gtk/scrolwin.h @@ -127,7 +127,7 @@ public: // Override this function if you don't want to have wxScrolledWindow // automatically change the origin according to the scroll position. - void PrepareDC(wxDC& dc) { DoPrepareDC(); } + void PrepareDC(wxDC& dc) { DoPrepareDC(dc); } // lay out the window and its children virtual bool Layout(); diff --git a/include/wx/gtk1/scrolwin.h b/include/wx/gtk1/scrolwin.h index bcfb3940df..3023df7fc4 100644 --- a/include/wx/gtk1/scrolwin.h +++ b/include/wx/gtk1/scrolwin.h @@ -127,7 +127,7 @@ public: // Override this function if you don't want to have wxScrolledWindow // automatically change the origin according to the scroll position. - void PrepareDC(wxDC& dc) { DoPrepareDC(); } + void PrepareDC(wxDC& dc) { DoPrepareDC(dc); } // lay out the window and its children virtual bool Layout();