New scrolling code.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3897 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
1999-10-08 20:09:32 +00:00
parent 2136a764e5
commit ed673c6a48
12 changed files with 2058 additions and 890 deletions

View File

@@ -14,6 +14,7 @@
#include "wx/dcclient.h"
#include "wx/dcmemory.h"
#include "wx/image.h"
#include "wx/gtk/win_gtk.h"
#include <math.h> // for floating-point functions
#include "gdk/gdk.h"
@@ -118,7 +119,8 @@ wxWindowDC::wxWindowDC( wxWindow *window )
wxASSERT_MSG( widget, wxT("DC needs a widget") );
m_window = widget->window;
GtkMyFixed *myfixed = GTK_MYFIXED( widget );
m_window = myfixed->bin_window;
/* not realized ? */
if (!m_window)