X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d33e45f134004bdb8199de60d60a251569bbed96..53c43278a9d71e15f43cbe359abea50d3775d8ad:/src/osx/carbon/combobox.cpp diff --git a/src/osx/carbon/combobox.cpp b/src/osx/carbon/combobox.cpp index a3a419dc6e..f8223c9108 100644 --- a/src/osx/carbon/combobox.cpp +++ b/src/osx/carbon/combobox.cpp @@ -150,7 +150,7 @@ protected: event.Skip(); } - + private: wxComboBox *m_cb; @@ -292,7 +292,7 @@ void wxComboBox::DoMoveWindow(int x, int y, int width, int height) m_text->SetSize(TEXTFOCUSBORDER, TEXTFOCUSBORDER, wText, -1); wxSize tSize = m_text->GetSize(); wxSize cSize = m_choice->GetSize(); - + int yOffset = ( tSize.y + 2 * TEXTFOCUSBORDER - cSize.y ) / 2; // put it at an inset of 1 to have outer area shadows drawn as well @@ -402,7 +402,7 @@ bool wxComboBox::Create(wxWindow *parent, } void wxComboBox::EnableTextChangedEvents(bool enable) -{ +{ if ( m_text ) m_text->ForwardEnableTextChangedEvents(enable); }