]> git.saurik.com Git - wxWidgets.git/commitdiff
Don't use m_popupInterface pointer if it is still NULL
authorRobin Dunn <robin@alldunn.com>
Mon, 16 Apr 2007 19:05:47 +0000 (19:05 +0000)
committerRobin Dunn <robin@alldunn.com>
Mon, 16 Apr 2007 19:05:47 +0000 (19:05 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45505 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/combocmn.cpp

index 588772db18f6f42b712d9569ea5d3d967ba195d8..ef60292f514fa993226c985519577229903a0bca 100644 (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();