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:
@@ -5582,7 +5582,7 @@ void wxGrid::DrawAllGridLines( wxDC& dc, const wxRegion & WXUNUSED_GTK(reg) )
|
|||||||
|
|
||||||
int top, bottom, left, right;
|
int top, bottom, left, right;
|
||||||
|
|
||||||
#ifndef __WXGTK__
|
#if 0 //#ifndef __WXGTK__
|
||||||
if (reg.IsEmpty())
|
if (reg.IsEmpty())
|
||||||
{
|
{
|
||||||
int cw, ch;
|
int cw, ch;
|
||||||
@@ -5956,7 +5956,7 @@ bool wxGrid::IsCellEditControlShown() const
|
|||||||
wxGridCellEditor* editor = attr->GetEditor((wxGrid*) this, row, col);
|
wxGridCellEditor* editor = attr->GetEditor((wxGrid*) this, row, col);
|
||||||
if ( editor && editor->IsCreated() )
|
if ( editor && editor->IsCreated() )
|
||||||
{
|
{
|
||||||
wxWindow *control = editor->GetControl();
|
wxWindow *control = editor->GetControl();
|
||||||
return control->IsShown();
|
return control->IsShown();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user