]> git.saurik.com Git - wxWidgets.git/commitdiff
deal with Cocoa as we do with Carbon, see #15008
authorStefan Csomor <csomor@advancedconcepts.ch>
Mon, 3 Jun 2013 09:40:50 +0000 (09:40 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Mon, 3 Jun 2013 09:40:50 +0000 (09:40 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74093 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/popupwin.h

index 84474fa8ebc343e1c565483e78e7127660b21678..3a16fa1b1a82164b54a716322b021996128e235c 100644 (file)
@@ -130,7 +130,7 @@ protected:
     // get alerted when child gets deleted from under us
     void OnDestroy(wxWindowDestroyEvent& event);
 
-#if defined(__WXMSW__) ||(defined(__WXMAC__) && wxOSX_USE_CARBON)
+#if defined(__WXMSW__) ||(defined(__WXMAC__) && wxOSX_USE_COCOA_OR_CARBON)
     // Check if the mouse needs to be captured or released: we must release
     // when it's inside our window if we want the embedded controls to work.
     void OnIdle(wxIdleEvent& event);