From afd0f084f419d769dba772863472a3f388fd6ab1 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Sat, 8 Apr 2006 23:09:46 +0000 Subject: [PATCH] Added missing not operator that was preventing the drawing of the gridlines git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38630 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/generic/grid.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/generic/grid.cpp b/src/generic/grid.cpp index 6d11973ad4..c2a3bc721c 100644 --- a/src/generic/grid.cpp +++ b/src/generic/grid.cpp @@ -7290,7 +7290,7 @@ void wxGrid::DrawAllGridLines( wxDC& dc, const wxRegion & WXUNUSED(reg) ) return; #endif - if ( !m_gridLinesEnabled || m_numRows || !m_numCols ) + if ( !m_gridLinesEnabled || !m_numRows || !m_numCols ) return; int top, bottom, left, right;