]> git.saurik.com Git - wxWidgets.git/commitdiff
Add HideCol/RowLabels
authorRobert Roebling <robert@roebling.de>
Sat, 22 Dec 2007 19:46:12 +0000 (19:46 +0000)
committerRobert Roebling <robert@roebling.de>
Sat, 22 Dec 2007 19:46:12 +0000 (19:46 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50907 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/generic/grid.h

index 7e32a046f29b6cef2584bc8108e29011af1410c2..bdb2e1ff7b4d7ab38af8b118a72085f6cb1d116e 100644 (file)
@@ -1315,6 +1315,8 @@ public:
     void     SetUseNativeColLabels( bool native = true );
     void     SetRowLabelSize( int width );
     void     SetColLabelSize( int height );
+    void     HideRowLabels() { SetRowLabelSize( 0 ); }
+    void     HideColLabels() { SetColLabelSize( 0 ); }
     void     SetLabelBackgroundColour( const wxColour& );
     void     SetLabelTextColour( const wxColour& );
     void     SetLabelFont( const wxFont& );