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
This commit is contained in:
Robin Dunn
2000-04-27 15:26:50 +00:00
parent 1a0e95d600
commit 24e1c5fbb2

View File

@@ -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();
}
}