]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/scrolwin.cpp
Insert row/col now uses the current position to determine where to insert.
[wxWidgets.git] / src / generic / scrolwin.cpp
index 17facb6ea23aaf37fa686042c4e2a2aca1fd2d4a..74b4d6bbd26ef07283ae0f4f3a2ed39348e45c08 100644 (file)
@@ -317,6 +317,7 @@ int wxScrolledWindow::CalcScrollInc(wxScrollWinEvent& event)
             break;
         }
         case wxEVT_SCROLLWIN_THUMBTRACK:
+        case wxEVT_SCROLLWIN_THUMBRELEASE:
         {
             if (orient == wxHORIZONTAL)
                 nScrollInc = pos - m_xScrollPosition;