From 275ca791f67bd77bb5100ef662b570fb2d362c75 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Mon, 16 Apr 2007 20:51:27 +0000 Subject: [PATCH] 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 --- 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 d1c34dfbeb..abf89f4fbd 100644 --- a/src/common/combocmn.cpp +++ b/src/common/combocmn.cpp @@ -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();