]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/scroll/scroll.cpp
Wrap wxImage specifics in wxUSE_IMAGE and wxBitmap specifics in wxUSE_GUI.
[wxWidgets.git] / samples / scroll / scroll.cpp
index f4dd64f70efc3e15169f0d9d9dc190175866084b..4a9e3aac097e77d4e720c318d4e6a37fabafbedf 100644 (file)
@@ -630,10 +630,10 @@ void MyScrolledWindowSmart::OnDraw(wxDC& dc)
 // ----------------------------------------------------------------------------
 
 BEGIN_EVENT_TABLE(MyAutoTimedScrollingWindow, wxScrolledWindow)
-    EVT_LEFT_DOWN(OnMouseLeftDown)
-    EVT_LEFT_UP(OnMouseLeftUp)
-    EVT_MOTION(OnMouseMove)
-    EVT_SCROLLWIN(OnScroll)
+    EVT_LEFT_DOWN(MyAutoTimedScrollingWindow::OnMouseLeftDown)
+    EVT_LEFT_UP(MyAutoTimedScrollingWindow::OnMouseLeftUp)
+    EVT_MOTION(MyAutoTimedScrollingWindow::OnMouseMove)
+    EVT_SCROLLWIN(MyAutoTimedScrollingWindow::OnScroll)
 END_EVENT_TABLE()
 
 MyAutoTimedScrollingWindow::MyAutoTimedScrollingWindow(wxWindow* parent)