From 0da1f4c07282be03d9e244ca9cfeb41390fc78c5 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Mon, 16 Apr 2007 19:05:47 +0000 Subject: [PATCH] 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 --- src/common/combocmn.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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(); -- 2.45.2