#ifndef WX_PRECOMP
#include "wx/wx.h"
- #include "wx/colordlg.h"
- #include "wx/fontdlg.h"
#endif
+#include "wx/colordlg.h"
+#include "wx/fontdlg.h"
+
#include "wx/grid.h"
#include "wx/generic/gridctrl.h"
for ( int n = 0; n < grid->GetNumberRows(); )
if ( grid->IsInSelection( n , 0 ) )
grid->DeleteRows( n, 1 );
- else
- n++;
+ else
+ n++;
grid->EndBatch();
}
}
for ( int n = 0; n < grid->GetNumberCols(); )
if ( grid->IsInSelection( 0 , n ) )
grid->DeleteCols( n, 1 );
- else
- n++;
+ else
+ n++;
grid->EndBatch();
}
}
if ( (ev.GetCol() == 4) &&
(ev.GetRow() == 0) &&
- (wxMessageBox(_T("Are you sure you wish to edit this cell"),
- _T("Checking"),wxYES_NO) == wxNO ) ) {
+ (wxMessageBox(_T("Are you sure you wish to edit this cell"),
+ _T("Checking"),wxYES_NO) == wxNO ) ) {
- ev.Veto();
- return;
+ ev.Veto();
+ return;
}
-
-
+
wxLogMessage( wxT("Cell editor shown.") );
ev.Skip();
if ( (ev.GetCol() == 4) &&
(ev.GetRow() == 0) &&
- (wxMessageBox(_T("Are you sure you wish to finish editing this cell"),
- _T("Checking"),wxYES_NO) == wxNO ) ) {
+ (wxMessageBox(_T("Are you sure you wish to finish editing this cell"),
+ _T("Checking"),wxYES_NO) == wxNO ) ) {
- ev.Veto();
- return;
+ ev.Veto();
+ return;
}
wxLogMessage( wxT("Cell editor hidden.") );