]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/window.cpp
Fix for #15520: wxRichTextCtrl: Drawing the selection doesn't respect its container...
[wxWidgets.git] / src / gtk1 / window.cpp
index da39d7a90e2b06feef4d524846df54c28a08ac7a..9d5331e008e7205d8bec397805563cddee62d69a 100644 (file)
@@ -2,7 +2,6 @@
 // Name:        src/gtk1/window.cpp
 // Purpose:
 // Author:      Robert Roebling
-// Id:          $Id$
 // Copyright:   (c) 1998 Robert Roebling, Julian Smart
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
@@ -1332,6 +1331,7 @@ template<typename T> void InitMouseEvent(wxWindowGTK *win,
     if (event.GetEventType() == wxEVT_MOUSEWHEEL)
     {
        event.m_linesPerAction = 3;
+       event.m_columnsPerAction = 3;
        event.m_wheelDelta = 120;
        if (((GdkEventButton*)gdk_event)->button == 4)
            event.m_wheelRotation = 120;