]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/combocmn.cpp
remove unused static function (avoids a warning about it)
[wxWidgets.git] / 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();