]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/newgrid/griddemo.h
added wxEncodingToCodepage() and implemented it properly (using in32 API instead...
[wxWidgets.git] / samples / newgrid / griddemo.h
index 48f5d778707f163033868cd9d1829da5cfc22b60..bdbaf2db7762c0eeac0db8a64a9842abcc69fa49 100644 (file)
@@ -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;