]> git.saurik.com Git - wxWidgets.git/blobdiff - src/osx/carbon/combobox.cpp
build fix for systems where HAVE_STRPTIME is defined
[wxWidgets.git] / src / osx / carbon / combobox.cpp
index 807194c8d7af8eda18ab8fc1344780909608a612..6792bbf1ae12d59c5c61f317d1a63a141c93eb46 100644 (file)
@@ -394,6 +394,13 @@ bool wxComboBox::Create(wxWindow *parent,
     return true;
 }
 
+wxString wxComboBox::DoGetValue() const
+{
+    wxCHECK_MSG( m_text, wxString(), "can't be called for read-only combobox" );
+
+    return m_text->GetValue();
+}
+
 wxString wxComboBox::GetValue() const
 {
     wxString        result;