]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/popupwin.h
Add WX_FIND_LIB() function to simplify testing for libraries in configure.
[wxWidgets.git] / include / wx / popupwin.h
index 03bb274c5a4d97486c7605e3211604d2f1c1f8dd..a4438261d4ad656c56b6efc4c203d091c0b3fb45 100644 (file)
@@ -132,7 +132,9 @@ protected:
     // get alerted when child gets deleted from under us
     void OnDestroy(wxWindowDestroyEvent& event);
 
-#if defined( __WXMSW__ ) || defined( __WXMAC__)
+    // wxOSX/Carbon doesn't generate mouse capture loss events currently so
+    // poll for the capture loss ourselves.
+#if defined(__WXMAC__) && wxOSX_USE_CARBON
     // check if the mouse needs captured or released
     void OnIdle(wxIdleEvent& event);
 #endif