]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/newgrid/griddemo.h
use Windows standard icons instead of our own (patch 443856)
[wxWidgets.git] / samples / newgrid / griddemo.h
index 235ea69b58ecc9e78f09f13022fee74df4be26e7..d10a53a2f30cfe100cc05cf4ebf98323ff513e60 100644 (file)
@@ -83,6 +83,9 @@ class GridFrame : public wxFrame
     void OnEditorShown(wxGridEvent&);
     void OnEditorHidden(wxGridEvent&);
 
     void OnEditorShown(wxGridEvent&);
     void OnEditorHidden(wxGridEvent&);
 
+    void OnSetHighlightWidth(wxCommandEvent&);
+    void OnSetROHighlightWidth(wxCommandEvent&);
+
 public:
     GridFrame();
     ~GridFrame();
 public:
     GridFrame();
     ~GridFrame();
@@ -135,6 +138,9 @@ public:
         ID_DESELECT_COL,
         ID_DESELECT_CELL,
 
         ID_DESELECT_COL,
         ID_DESELECT_CELL,
 
+        ID_SET_HIGHLIGHT_WIDTH,
+        ID_SET_RO_HIGHLIGHT_WIDTH,
+
         ID_TESTFUNC
     };
 
         ID_TESTFUNC
     };
 
@@ -201,7 +207,8 @@ public:
     MyGridCellAttrProvider();
     virtual ~MyGridCellAttrProvider();
 
     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;
 
 private:
     wxGridCellAttr *m_attrForOddRows;
@@ -241,5 +248,6 @@ public:
     BugsGridFrame();
 };
 
     BugsGridFrame();
 };
 
+
 #endif // griddemo_h
 
 #endif // griddemo_h