]> 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 b35d9cfc5922d5354f216da046a3636612a652e9..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 */ }
@@ -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