Combobox may not be fully created at this point
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39184 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
69328c1a88
commit
00dff4d222
@ -1358,6 +1358,9 @@ void MyPanel::OnChoiceButtons( wxCommandEvent &event )
|
||||
|
||||
void MyPanel::OnCombo( wxCommandEvent &event )
|
||||
{
|
||||
if (!m_combo)
|
||||
return;
|
||||
|
||||
wxLogMessage(_T("EVT_COMBOBOX: item %d/%d (event/control), string \"%s\"/\"%s\""),
|
||||
(int)event.GetInt(),
|
||||
m_combo->GetSelection(),
|
||||
|
Loading…
Reference in New Issue
Block a user