Don't use m_popupInterface pointer if it is still NULL (backport from HEAD)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45512 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -2199,7 +2199,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