]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/scroll/scroll.cpp
No changes, just update a comment about default buttons in wxMSW.
[wxWidgets.git] / samples / scroll / scroll.cpp
index 281ee38b92d4160a116b94d07bee7391132b719e..d8bc171f0640ea2872b4f0e6a5135b64918af5cb 100644 (file)
@@ -22,7 +22,7 @@
 #include "wx/log.h"
 #include "wx/tglbtn.h"
 
-#ifndef __WXMSW__
+#ifndef wxHAS_IMAGES_IN_RESOURCES
     #include "../sample.xpm"
 #endif
 
@@ -1314,7 +1314,7 @@ void MyAutoScrollingWindow::OnMouseMove(wxMouseEvent& event)
         // set the new cursor position
         m_cursor = DeviceCoordsToGraphicalChars(event.GetPosition());
         // draw/erase selection
-        // MyRefresh();
+        MyRefresh();
         // capture mouse to activate auto-scrolling
         if (!HasCapture()) {
             CaptureMouse();