Add wxDataViewCtrl::GetCurrentColumn().
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70375 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -943,6 +943,17 @@ void MyFrame::OnShowCurrent(wxCommandEvent& WXUNUSED(event))
|
||||
{
|
||||
wxLogMessage("There is no current item.");
|
||||
}
|
||||
|
||||
wxDataViewColumn *col = m_ctrl[0]->GetCurrentColumn();
|
||||
if ( col )
|
||||
{
|
||||
wxLogMessage("Current column: %d",
|
||||
m_ctrl[0]->GetColumnPosition(col));
|
||||
}
|
||||
else
|
||||
{
|
||||
wxLogMessage("There is no current column.");
|
||||
}
|
||||
}
|
||||
|
||||
void MyFrame::OnSetNinthCurrent(wxCommandEvent& WXUNUSED(event))
|
||||
|
Reference in New Issue
Block a user