]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/newgrid/griddemo.h
Correction to position of rotated text.
[wxWidgets.git] / samples / newgrid / griddemo.h
index 651d40112fdd616a07c56db7b21d30f05ccf0383..56d10dee2a71b95e591d9da82dc1e5a2545744d1 100644 (file)
@@ -1,7 +1,12 @@
-// griddemo.h
-//
-//  grid test program
-//
+/////////////////////////////////////////////////////////////////////////////
+// Name:        griddemo.h
+// Purpose:     Grid control wxWindows sample
+// Author:      Michael Bedward
+// Modified by:
+// RCS-ID:      $Id$
+// Copyright:   (c) Michael Bedward, Julian Smart
+// Licence:     wxWindows license
+/////////////////////////////////////////////////////////////////////////////
 
 
 #ifndef griddemo_h
@@ -36,6 +41,11 @@ class GridFrame : public wxFrame
     void SetColLabelHorizAlignment( wxCommandEvent& );
     void SetColLabelVertAlignment( wxCommandEvent& );
     void SetGridLineColour( wxCommandEvent& );
+
+    void InsertRow( wxCommandEvent& );    
+    void InsertCol( wxCommandEvent& );    
+    void DeleteRow( wxCommandEvent& );    
+    void DeleteCol( wxCommandEvent& );    
     void ClearGrid( wxCommandEvent& );
 
     void About( wxCommandEvent& );
@@ -44,6 +54,7 @@ class GridFrame : public wxFrame
     void OnCellLeftClick( wxGridEvent& );
     void OnRowSize( wxGridSizeEvent& );
     void OnColSize( wxGridSizeEvent& );
+    void OnSelectCell( wxGridEvent& );
     void OnRangeSelected( wxGridRangeSelectEvent& );
     void OnCellValueChanged( wxGridEvent& );
     
@@ -67,6 +78,10 @@ class GridFrame : public wxFrame
            ID_COLLABELHORIZALIGN,
            ID_COLLABELVERTALIGN,
            ID_GRIDLINECOLOUR,
+           ID_INSERTROW,
+           ID_INSERTCOL,
+           ID_DELETEROW,
+           ID_DELETECOL,
            ID_CLEARGRID,
            ID_ABOUT,