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();