]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/gridctrl.cpp
applied patch for compilation with gcc 3.0
[wxWidgets.git] / src / generic / gridctrl.cpp
index f1cb66b99b27b8bf3074c523f6da25e8866b2456..6a6076ace6f0b63533cf14bbf4155e6c7f004686 100644 (file)
@@ -265,7 +265,7 @@ bool wxGridCellEnumEditor::EndEdit(int row, int col, wxGrid* grid)
         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;