From 45bee2eea9184dd09bfd210427570a378d794916 Mon Sep 17 00:00:00 2001 From: Michael Bedward Date: Mon, 18 Oct 1999 03:16:29 +0000 Subject: [PATCH] Removed unused code git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4042 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/generic/grid.h | 41 --------------------------------------- 1 file changed, 41 deletions(-) diff --git a/include/wx/generic/grid.h b/include/wx/generic/grid.h index 18fed34fbd..3133174a82 100644 --- a/include/wx/generic/grid.h +++ b/include/wx/generic/grid.h @@ -195,46 +195,6 @@ class wxGridStringTable : public wxGridTableBase -#if 0 - -// ------ sketchy experimental code to create a grid table for a given type -// -// This doesn't work at the moment !! -// - -#define _WX_DECLARE_GRIDTABLE( T, name ) \ - \ - \ -WX_DECLARE_ARRAY( T, T##Row ) \ -WX_DECLARE_OBJARRAY( T##Row, T##Array ) \ - \ -class WXDLLEXPORT name : public wxGridTableBase \ -{ \ - T##Array m_data; \ - int m_numRows; \ - int m_numCols; \ - \ - public: \ - name() { } \ - name( int numRows, int numCols ); \ - ~name(); \ - \ - wxString GetValue( int row, int col ); \ - wxString SetValue( int row, int col, const wxString& s ); \ - \ - DECLARE_DYNAMIC_CLASS( name ) \ -} - - -#define WX_DECLARE_GRIDTABLE(T, name) \ - typedef T name##var; \ - _WX_DECLARE_GRIDTABLE(name##var, name) - - -#endif // if 0 - - - ////////////////////////////////////////////////////////////////////// // // Grid view classes @@ -411,7 +371,6 @@ class wxGrid : public wxPanel bool m_cellEditCtrlEnabled; wxWindow* m_topEditCtrl; bool m_topEditCtrlEnabled; - // ------ internal init and update functions //