]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/carbon/combobox.cpp
Fixed wxMac's wxTextCtrl::SetSelection so that (-1,-1) will select the
[wxWidgets.git] / src / mac / carbon / combobox.cpp
index 7d2a6819ea93aff36c36c0f1310ae2c6050770f2..8ffecd04894a536061a63694480cbb66d4aabaed 100644 (file)
@@ -456,7 +456,7 @@ wxString wxComboBox::GetStringSelection() const
     if (sel > -1)
         return wxString(this->GetString (sel));
     else
-        return wxString("");
+        return wxEmptyString;
 }
 
 bool wxComboBox::SetStringSelection(const wxString& sel)