/////////////////////////////////////////////////////////////////////////////
#ifdef __GNUG__
- #pragma interface "gridctrl.h"
+ #pragma implementation "gridctrl.h"
#endif
#include "wx/wxprec.h"
#pragma hdrstop
#endif
+#ifndef WX_PRECOMP
+ #include "wx/textctrl.h"
+ #include "wx/dc.h"
+#endif // WX_PRECOMP
+
#include "wx/generic/gridctrl.h"
#include "wx/tokenzr.h"
if (grid->GetTable()->CanSetValueAs(row, col, wxGRID_VALUE_NUMBER))
grid->GetTable()->SetValueAsLong(row, col, pos);
else
- grid->GetTable()->SetValue(row, col,wxString::Format("%i",pos));
+ grid->GetTable()->SetValue(row, col,wxString::Format(wxT("%i"),pos));
}
return changed;