]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/grid.cpp
Fix Yes/No/Cancel buttons order in wxGTK wxStdDialogButtonSizer.
[wxWidgets.git] / src / generic / grid.cpp
index 096844478688a7c9836c293cf1955a8368d3aa78..34f232f3bdfb6c0ca6313677237497970c32222b 100644 (file)
@@ -4132,13 +4132,13 @@ bool wxGrid::DoEndDragResizeLine(const wxGridOperations& oper)
             oper.SelectSize(rect) = oper.Select(size);
 
             int subtractLines = 0;
-            const int lineStart = oper.PosToLine(this, posLineStart);
+            const int lineStart = doper.PosToLine(this, posLineStart);
             if ( lineStart >= 0 )
             {
                 // ensure that if we have a multi-cell block we redraw all of
                 // it by increasing the refresh area to cover it entirely if a
                 // part of it is affected
-                const int lineEnd = oper.PosToLine(this, posLineEnd, true);
+                const int lineEnd = doper.PosToLine(this, posLineEnd, true);
                 for ( int line = lineStart; line < lineEnd; line++ )
                 {
                     int cellLines = oper.Select(