A bit of scrolling works under GTK 2.0

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14865 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
2002-03-29 18:01:50 +00:00
parent af1d24da23
commit b5a49d4c52
6 changed files with 29 additions and 23 deletions

View File

@@ -4092,10 +4092,10 @@ void wxWindowGTK::ScrollWindow( int dx, int dy, const wxRect* WXUNUSED(rect) )
m_clipPaintRegion = FALSE;
#else
gdk_window_scroll( GTK_PIZZA(m_wxwindow)->bin_window, -dx, -dy );
gdk_window_scroll( GTK_PIZZA(m_wxwindow)->bin_window, dx, dy );
GTK_PIZZA(m_wxwindow)->xoffset -= dx;
GTK_PIZZA(m_wxwindow)->yoffset -= dy;
GTK_PIZZA(m_wxwindow)->xoffset += dx;
GTK_PIZZA(m_wxwindow)->yoffset += dy;
#endif