I want to add a listerer to see if the combobox content has changed ( for selecting a midi input ). I’ve the following code, but when debugging (VC++) it pop’s up juceasyncupdater.cpp
ComboBox* comboBox1;
ComboBoxListener* test;
comboBox1 = new ComboBox (T("combo"));
addAndMakeVisible (comboBox1);
comboBox1->addListener(test);
comboBox1->setBounds (10, 75, 200, 24);
How do I need change the code to check if the listerer works ?
//void comboBoxChanged(ComboBox *combobox)
//{ if(combobox==comboBox1)
// { DBG (T("test"));
// }
//}
[/code]