diff --git a/common/grid_tricks.cpp b/common/grid_tricks.cpp index 8da752cb6e..f464b9ee98 100644 --- a/common/grid_tricks.cpp +++ b/common/grid_tricks.cpp @@ -30,7 +30,8 @@ #include #include #include - +#include +#include // It works for table data on clipboard for an Excel spreadsheet, // why not us too for now. @@ -95,8 +96,11 @@ void GRID_TRICKS::init() bool GRID_TRICKS::isTextEntry( int aRow, int aCol ) { wxGridCellEditor* editor = m_grid->GetCellEditor( aRow, aCol ); - bool retval = ( dynamic_cast( editor ) - || dynamic_cast( editor ) ); + bool retval = ( dynamic_cast( editor ) + || dynamic_cast( editor ) + || dynamic_cast( editor ) + || dynamic_cast( editor ) + || dynamic_cast( editor ) ); editor->DecRef(); return retval;