How to save wxListBox contents to a text file?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • papafreebird
    New Member
    • Mar 2008
    • 3

    How to save wxListBox contents to a text file?

    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

    Code:
    ListBox1->Items->GetText();
    
    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?
    Last edited by papafreebird; Apr 1 '08, 03:57 PM. Reason: Edited title to be more descriptive
  • papafreebird
    New Member
    • Mar 2008
    • 3

    #2
    bada bump bada bump bada bump bump bump

    Comment

    Working...