From 5ecae0b74825e297bf3f0aadcc1ccd0aeb7e8b4c Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Thu, 13 May 2004 16:50:54 +0000 Subject: [PATCH] bracketing non OSX code git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27257 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/mac/carbon/listbox.cpp | 6 ++++++ 1 file changed, 6 insertions(+) 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 + -- 2.45.2