Search found 204 matches
- Wed Jan 26, 2011 9:47 pm
- Forum: C++ Development
- Topic: wxlistbox Arrays with CASE and SWITCH not working
- Replies: 22
- Views: 8267
- Wed Jan 26, 2011 8:49 pm
- Forum: C++ Development
- Topic: wxlistbox Arrays with CASE and SWITCH not working
- Replies: 22
- Views: 8267
you have to declare your m_pListBox in the wxFrameListBox and create it in its constructor like this: class ListBoxFrame : public wxFrame { ... private: wxListBox* m_pListBox; ... } ListBoxFrame::ListBoxFrame(...) { ... m_pListBox = new wxListBox(this, ... } The enum was meant to be for numeric cas...
- Wed Jan 26, 2011 8:39 pm
- Forum: C++ Development
- Topic: wxlistbox Arrays with CASE and SWITCH not working
- Replies: 22
- Views: 8267
you have to declare your m_pListBox in the wxFrameListBox and create it in its constructor like this: class ListBoxFrame : public wxFrame { ... private: wxListBox* m_pListBox; ... } ListBoxFrame::ListBoxFrame(...) { ... m_pListBox = new wxListBox(this, ... } The enum was meant to be for numeric cas...
- Wed Jan 26, 2011 7:50 pm
- Forum: C++ Development
- Topic: wxlistbox Arrays with CASE and SWITCH not working
- Replies: 22
- Views: 8267
- Wed Jan 26, 2011 4:31 pm
- Forum: C++ Development
- Topic: wxlistbox Arrays with CASE and SWITCH not working
- Replies: 22
- Views: 8267
- Wed Jan 26, 2011 3:05 pm
- Forum: C++ Development
- Topic: wxlistbox Arrays with CASE and SWITCH not working
- Replies: 22
- Views: 8267
I did google it. I am just becoming more clear at what I am seeing here now. Thank you for that info it's almost good. I have one more error to fix in my code and I am stumped on why I am getting the error. The error tells me that c1 and c2 and c3 and c4 were not declared in this scope. Here is my ...
- Tue Jan 25, 2011 11:18 pm
- Forum: C++ Development
- Topic: wxlistbox Arrays with CASE and SWITCH not working
- Replies: 22
- Views: 8267
I did google it. I am just becoming more clear at what I am seeing here now. Thank you for that info it's almost good. I have one more error to fix in my code and I am stumped on why I am getting the error. The error tells me that c1 and c2 and c3 and c4 were not declared in this scope. Here is my c...
- Tue Jan 25, 2011 9:55 pm
- Forum: C++ Development
- Topic: wxlistbox Arrays with CASE and SWITCH not working
- Replies: 22
- Views: 8267
- Tue Jan 25, 2011 5:14 pm
- Forum: C++ Development
- Topic: wxlistbox Arrays with CASE and SWITCH not working
- Replies: 22
- Views: 8267
wxlistbox Arrays with CASE and SWITCH not working
Hello I need help I been trying to make a list box like one I made in C# where you select and item in the listbox and then press a button and it does something like launch internet explorer. In my program I just have a button and a wxlistbox on the frame. I want to make a number of items and when ea...