i don't know how to link "wxfiledialog" and "wxlistctrl"....
select the wav file(use wxfiledialog) and add to wxlistctrl..., but i'm beginner about wxwidgets....
please help me...please!!! :oops:
void testdrawFrame::OnButton1Click(wxCommandEvent& event)
{
wxFileDialog* FileDialog1 =new wxFileDialog (this);
wxListCtrl ListCtrl1;
if(FileDialog1->ShowModal() == wxID_OK)
{
wxString strfile = FileDialog1->GetPath();
wxString strname = FileDialog1->GetTitle();
wxListItem itemCol;
itemCol.m_text=strname;
ListCtrl1.InsertItem(itemCol);
}
}