X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/19d7140ec28c705ad1cfe75c7817ad47492825fc..761df41e86ceeed56d32c038a6c9f88554d4f47a:/samples/newgrid/griddemo.h diff --git a/samples/newgrid/griddemo.h b/samples/newgrid/griddemo.h index 48f5d77870..bdbaf2db77 100644 --- a/samples/newgrid/griddemo.h +++ b/samples/newgrid/griddemo.h @@ -177,7 +177,7 @@ public: int GetNumberCols() { return m_sizeGrid; } wxString GetValue( int row, int col ) { - return wxString::Format("(%d, %d)", row, col); + return wxString::Format(wxT("(%d, %d)"), row, col); } void SetValue( int , int , const wxString& ) { /* ignore */ } @@ -208,7 +208,7 @@ public: virtual ~MyGridCellAttrProvider(); virtual wxGridCellAttr *GetAttr(int row, int col, - wxGridCellAttr::wxAttrKind kind /* = wxGridCellAttr::Any */) const; + wxGridCellAttr::wxAttrKind kind) const; private: wxGridCellAttr *m_attrForOddRows;