when i select the it. i would want to hide or show a panel.
could someone please give me a simple example of how to select an item on a list and what syntax to use.
on selecting a particular item on a listbox
Code: Select all
void Frame::OnListBox(wxCommandEvent& event);
{
if (listboxitem == 1)
{panel1->show();
panel2->hide();
}
if (listboxitem ==2)
{panel1->hide();
panel2->show();
}
}