X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c905c0d60f4bd407cc4cbfd809d5cf8a51a61523..b724bafee0cbbb5c587d11e82a18c8ea5b060f26:/src/common/combocmn.cpp diff --git a/src/common/combocmn.cpp b/src/common/combocmn.cpp index 588772db18..ef60292f51 100644 --- a/src/common/combocmn.cpp +++ b/src/common/combocmn.cpp @@ -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();