Don't use m_popupInterface pointer if it is still NULL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45505 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -2261,7 +2261,8 @@ void wxComboCtrlBase::SetValueWithEvent(const wxString& value, bool withEvent)
|
||||
|
||||
EnsurePopupControl();
|
||||
|
||||
m_popupInterface->SetStringValue(value);
|
||||
if (m_popupInterface)
|
||||
m_popupInterface->SetStringValue(value);
|
||||
}
|
||||
|
||||
Refresh();
|
||||
|
Reference in New Issue
Block a user