By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
444,058 Members | 1,209 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 444,058 IT Pros & Developers. It's quick & easy.

How to save wxListBox contents to a text file?

P: 3
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

Expand|Select|Wrap|Line Numbers
  1. ListBox1->Items->GetText();
  3. ListBox1->Items->SaveToFile(Edit1->Text + "\\gen_avs.bat");
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?
Apr 1 '08 #1
Share this Question
Share on Google+
1 Reply

P: 3
bada bump bada bump bada bump bump bump
Apr 2 '08 #2

Post your reply

Sign in to post your reply or Sign up for a free account.