]> git.saurik.com Git - wxWidgets.git/commitdiff
bracketing non OSX code
authorStefan Csomor <csomor@advancedconcepts.ch>
Thu, 13 May 2004 16:50:54 +0000 (16:50 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Thu, 13 May 2004 16:50:54 +0000 (16:50 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27257 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/mac/carbon/listbox.cpp

index 39304e0c316c264f5b0139e109fb58c3b3e9b822..f84803aecad9bd5615f745ab7064df8a867408b2 100644 (file)
@@ -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
+