From 24e1c5fbb28f1876d40a6a5307508377440a66e4 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Thu, 27 Apr 2000 15:26:50 +0000 Subject: [PATCH] ifdeff'd out the region checking code in DrawAllGridLines git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7287 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/generic/grid.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/generic/grid.cpp b/src/generic/grid.cpp index 104f685066..867502b1bb 100644 --- a/src/generic/grid.cpp +++ b/src/generic/grid.cpp @@ -5582,7 +5582,7 @@ void wxGrid::DrawAllGridLines( wxDC& dc, const wxRegion & WXUNUSED_GTK(reg) ) int top, bottom, left, right; -#ifndef __WXGTK__ +#if 0 //#ifndef __WXGTK__ if (reg.IsEmpty()) { int cw, ch; @@ -5956,7 +5956,7 @@ bool wxGrid::IsCellEditControlShown() const wxGridCellEditor* editor = attr->GetEditor((wxGrid*) this, row, col); if ( editor && editor->IsCreated() ) { - wxWindow *control = editor->GetControl(); + wxWindow *control = editor->GetControl(); return control->IsShown(); } }