]> git.saurik.com Git - wxWidgets.git/blobdiff - src/osx/carbon/combobxc.cpp
Correct format specifiers used to show wxIPV4address.
[wxWidgets.git] / src / osx / carbon / combobxc.cpp
index 1f47fd78c899fe24ba36550fcf7f16595d540df2..b568c23c89a2882ff330f1c743148eadbf6b60dc 100644 (file)
@@ -478,10 +478,9 @@ void wxComboBox::SetEditable(bool editable)
     {
         m_text = new wxComboBoxText( this );
     }
-    else if ( ( m_text != NULL ) && !editable )
+    else if ( !editable )
     {
-        delete m_text;
-        m_text = NULL;
+        wxDELETE(m_text);
     }
 
     int currentX, currentY;
@@ -776,7 +775,7 @@ bool wxComboBox::CanRedo() const
 #endif
 }
 
-bool wxComboBox::HandleClicked( double timestampsec )
+bool wxComboBox::OSXHandleClicked( double timestampsec )
 {
     wxCommandEvent event(wxEVT_COMMAND_COMBOBOX_SELECTED, m_windowId );
     event.SetInt(GetSelection());