]> git.saurik.com Git - wxWidgets.git/blobdiff - src/osx/combobox_osx.cpp
setting the image position after the label is set, otherwise image_only will have...
[wxWidgets.git] / src / osx / combobox_osx.cpp
index 1d4529bbbcf1ad62cdac2e94eead12dd3b801ee8..fe9f812f757eecee19a82e0f16f65d1af05669de 100644 (file)
@@ -25,10 +25,6 @@ wxComboBox::~wxComboBox()
 {
 }
 
-void wxComboBox::Init()
-{
-}
-
 bool wxComboBox::Create(wxWindow *parent, wxWindowID id,
            const wxString& value,
            const wxPoint& pos,
@@ -53,11 +49,11 @@ bool wxComboBox::Create(wxWindow *parent, wxWindowID id,
            const wxValidator& validator,
            const wxString& name)
 {
+    DontCreatePeer();
+    
     m_text = NULL;
     m_choice = NULL;
-
-    m_macIsUserPane = false;
-
+    
     if ( !wxControl::Create( parent, id, pos, size, style, validator, name ) )
         return false;