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:
Robin Dunn
2007-04-16 19:05:47 +00:00
parent a55e4e4260
commit 0da1f4c072

View File

@@ -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();