Removed unused code

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4042 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Michael Bedward 1999-10-18 03:16:29 +00:00
parent edc2c29006
commit 45bee2eea9

View File

@ -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 // Grid view classes
@ -412,7 +372,6 @@ class wxGrid : public wxPanel
wxWindow* m_topEditCtrl; wxWindow* m_topEditCtrl;
bool m_topEditCtrlEnabled; bool m_topEditCtrlEnabled;
// ------ internal init and update functions // ------ internal init and update functions
// //
void Create(); void Create();