diff --git a/src/mac/carbon/listbox.cpp b/src/mac/carbon/listbox.cpp index 39304e0c31..f84803aeca 100644 --- a/src/mac/carbon/listbox.cpp +++ b/src/mac/carbon/listbox.cpp @@ -713,9 +713,11 @@ void wxListBox::MacScrollTo( int n ) verify_noerr( ::RevealDataBrowserItem((ControlRef) m_macControl , id , kTextColumnId , kDataBrowserRevealWithoutSelecting ) ) ; } +#if !TARGET_API_MAC_OSX void wxListBox::OnSize( wxSizeEvent &event) { } +#endif void wxListBox::MacSetRedraw( bool doDraw ) { @@ -779,6 +781,8 @@ void wxListBox::MacDoDoubleClick() */ } +#if !TARGET_API_MAC_OSX + void wxListBox::OnChar(wxKeyEvent& event) { // todo trigger proper events here @@ -887,3 +891,5 @@ void wxListBox::OnChar(wxKeyEvent& event) } } +#endif +