]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/dataview/dataview.cpp
build a 2.9.x windows setup file and chm and htb sets of docs
[wxWidgets.git] / samples / dataview / dataview.cpp
index 3ca52dc0e9ec2de3db671f5540da6305df5ae090..cf7f30e41c6aaa503e3dc419902e48b06dd81e20 100644 (file)
@@ -931,6 +931,7 @@ void MyFrame::OnHeaderClick( wxDataViewEvent &event )
     int pos = m_ctrl[0]->GetColumnPosition( event.GetDataViewColumn() );
 
     wxLogMessage( "wxEVT_COMMAND_DATAVIEW_COLUMN_HEADER_CLICK, Column position: %d", pos );
+    wxLogMessage( "Column width: %d", event.GetDataViewColumn()->GetWidth() );
 }
 
 void MyFrame::OnHeaderRightClick( wxDataViewEvent &event )