IMplement SetFilterINdex()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16301 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
26a0063198
commit
04ea7f93e2
@ -1211,6 +1211,14 @@ wxFileDialog::~wxFileDialog()
|
||||
}
|
||||
}
|
||||
|
||||
void wxFileDialog::SetFilterIndex( int filterindex )
|
||||
{
|
||||
m_choice->SetSelection( filterindex );
|
||||
wxCommandEvent event;
|
||||
event.SetInt( filterindex );
|
||||
OnChoice( event );
|
||||
}
|
||||
|
||||
void wxFileDialog::OnChoice( wxCommandEvent &event )
|
||||
{
|
||||
int index = (int)event.GetInt();
|
||||
|
Loading…
Reference in New Issue
Block a user