]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/classic/combobox.cpp
Return the correct encoding for X font spec construction
[wxWidgets.git] / src / mac / classic / combobox.cpp
index 4991d4587cd9cbaea713b9084f6d02813455ed05..1a52315844545453c6a1a1ff3039ec21d5e960e4 100644 (file)
@@ -18,9 +18,7 @@
 #include "wx/menu.h"
 #include "wx/mac/uma.h"
 
-#if !USE_SHARED_LIBRARY
 IMPLEMENT_DYNAMIC_CLASS(wxComboBox, wxControl)
-#endif
 
 // composite combobox implementation by Dan "Bud" Keith bud@otsys.com
 
@@ -511,18 +509,6 @@ wxString wxComboBox::GetStringSelection() const
         return wxEmptyString;
 }
 
-bool wxComboBox::SetStringSelection(const wxString& sel)
-{
-    int s = FindString (sel);
-    if (s > -1)
-        {
-            SetSelection (s);
-            return true;
-        }
-    else
-        return false;
-}
-
 void wxComboBox::SetString(int n, const wxString& s)
 {
     m_choice->SetString( n , s ) ;