X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d2520c85b013473a5861426aa639ad6ba8c83510..be71e18af4e329233714e2e0b59049ef6b3c606d:/samples/newgrid/griddemo.h?ds=inline diff --git a/samples/newgrid/griddemo.h b/samples/newgrid/griddemo.h index b35d9cfc59..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 */ } @@ -207,7 +207,8 @@ public: MyGridCellAttrProvider(); virtual ~MyGridCellAttrProvider(); - virtual wxGridCellAttr *GetAttr(int row, int col) const; + virtual wxGridCellAttr *GetAttr(int row, int col, + wxGridCellAttr::wxAttrKind kind) const; private: wxGridCellAttr *m_attrForOddRows; @@ -247,5 +248,6 @@ public: BugsGridFrame(); }; + #endif // griddemo_h