]> git.saurik.com Git - wxWidgets.git/commitdiff
Added missing not operator that was preventing the drawing of the
authorRobin Dunn <robin@alldunn.com>
Sat, 8 Apr 2006 23:09:46 +0000 (23:09 +0000)
committerRobin Dunn <robin@alldunn.com>
Sat, 8 Apr 2006 23:09:46 +0000 (23:09 +0000)
gridlines

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38630 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/generic/grid.cpp

index 6d11973ad42dc5b3ee0306e7034cb8e04749a268..c2a3bc721ca3b1b4cfd20f343245017324990e0b 100644 (file)
@@ -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;