Extra check for GTK2.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16600 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling 2002-08-19 17:00:06 +00:00
parent a3c24e91eb
commit 127328cdd3
2 changed files with 2 additions and 0 deletions

View File

@ -4267,6 +4267,7 @@ void wxWindowGTK::ScrollWindow( int dx, int dy, const wxRect* WXUNUSED(rect) )
m_clipPaintRegion = FALSE;
#else
wxCHECK_RET( GTK_PIZZA(m_wxwindow)->bin_window != NULL, wxT("window needs client area for scrolling") );
gdk_window_scroll( GTK_PIZZA(m_wxwindow)->bin_window, dx, dy );

View File

@ -4267,6 +4267,7 @@ void wxWindowGTK::ScrollWindow( int dx, int dy, const wxRect* WXUNUSED(rect) )
m_clipPaintRegion = FALSE;
#else
wxCHECK_RET( GTK_PIZZA(m_wxwindow)->bin_window != NULL, wxT("window needs client area for scrolling") );
gdk_window_scroll( GTK_PIZZA(m_wxwindow)->bin_window, dx, dy );