git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31881
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
}
+ // override some base class functions
+ virtual bool Enable(bool enable = true);
+
+
// ------ For compatibility with previous wxGrid only...
//
// ************************************************
EndBatch();
}
+bool wxGrid::Enable(bool enable)
+{
+ if ( !wxScrolledWindow::Enable(enable) )
+ return false;
+
+ // redraw in the new state
+ m_gridWin->Refresh();
+
+ return true;
+}
//
// ------ Edit control functions