]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/scrolwin.cpp
don't call SelectObject() twice in SetBrush() nor SetFont() neither
[wxWidgets.git] / src / gtk1 / scrolwin.cpp
index 9232d1e5432b928784baa122a79ae55877cc9549..8a302f507b96a69e6bc7938ba801ae15b6379d9c 100644 (file)
@@ -442,7 +442,7 @@ void wxScrolledWindow::SetTargetWindow( wxWindow *target, bool WXUNUSED(pushEven
     m_targetWindow = target;
 }
 
     m_targetWindow = target;
 }
 
-wxWindow *wxScrolledWindow::GetTargetWindow()
+wxWindow *wxScrolledWindow::GetTargetWindow() const
 {
     return m_targetWindow;
 }
 {
     return m_targetWindow;
 }