I would like to save the contents of a wxListBox to a text file. Using borland c++ builder I am able to accomplish this by using the following code
This would save a text file with the contents of the listbox to a text file named gen_avs.bat
How can I accomplish the same thing using wxWidgets wxListBox?
Code:
ListBox1->Items->GetText(); ListBox1->Items->SaveToFile(Edit1->Text + "\\gen_avs.bat");
How can I accomplish the same thing using wxWidgets wxListBox?
Comment