]> 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 4f451a644e76e397b0d059354634b519410b070b..a4438261d4ad656c56b6efc4c203d091c0b3fb45 100644 (file)
@@ -134,7 +134,7 @@ protected:
 
     // wxOSX/Carbon doesn't generate mouse capture loss events currently so
     // poll for the capture loss ourselves.
-#if wxOSX_USE_CARBON
+#if defined(__WXMAC__) && wxOSX_USE_CARBON
     // check if the mouse needs captured or released
     void OnIdle(wxIdleEvent& event);
 #endif