]> git.saurik.com Git - wxWidgets.git/blobdiff - src/univ/combobox.cpp
don't forward Enter presses to the default button if any of the ancestor windows...
[wxWidgets.git] / src / univ / combobox.cpp
index dadd741eae889a9430c775abd5dd15ad479bb94f..2656c76d15f2d9029f0ca5c334edd7c330487265 100644 (file)
@@ -283,6 +283,11 @@ void wxComboBox::SetValue(const wxString& value)
     wxComboCtrl::SetValue(value);
 }
 
+void wxComboBox::WriteText(const wxString& value)
+{
+    if ( GetTextCtrl() ) GetTextCtrl()->WriteText(value);
+}
+
 void wxComboBox::Copy()
 {
     if ( GetTextCtrl() ) GetTextCtrl()->Copy();
@@ -337,6 +342,11 @@ void wxComboBox::SetSelection(long from, long to)
     if ( GetTextCtrl() ) GetTextCtrl()->SetSelection(from, to);
 }
 
+void wxComboBox::GetSelection(long *from, long *to) const
+{
+    if ( GetTextCtrl() ) GetTextCtrl()->GetSelection(from, to);
+}
+
 void wxComboBox::SetEditable(bool editable)
 {
     if ( GetTextCtrl() ) GetTextCtrl()->SetEditable(editable);
@@ -412,6 +422,16 @@ int wxComboBox::GetSelection() const
 #endif
 }
 
+wxString wxComboBox::GetStringSelection() const
+{
+    return GetLBox()->GetStringSelection();
+}
+
+wxClientDataType wxComboBox::GetClientDataType() const
+{
+    return GetLBox()->GetClientDataType();
+}
+
 void wxComboBox::SetClientDataType(wxClientDataType clientDataItemsType)
 {
     GetLBox()->SetClientDataType(clientDataItemsType);