]> git.saurik.com Git - wxWidgets.git/commitdiff
make popup on mac behave as on msw
authorStefan Csomor <csomor@advancedconcepts.ch>
Tue, 25 Mar 2008 07:39:43 +0000 (07:39 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Tue, 25 Mar 2008 07:39:43 +0000 (07:39 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52791 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/nonownedwnd.h
include/wx/popupwin.h

index 8e4cd1daa8c59233e30dc5a95a99256ad212d4b3..f89c6048ee8ed40e9af7214965a63c78297949cd 100644 (file)
@@ -14,6 +14,8 @@
 
 #if defined(__WXDFB__)
     #include "wx/dfb/nonownedwnd.h"
+#elif defined(__WXMAC__)
+    #include "wx/mac/nonownedwnd.h"
 #else
     // other ports can derive both wxTLW and wxPopupWindow directly
     // from wxWindow:
index 72d822411cd8678288df637d25eda1b182165f2a..72f2518c26ba1f725105aa9dc1f059ba121dab65 100644 (file)
@@ -129,7 +129,7 @@ protected:
     // get alerted when child gets deleted from under us
     void OnDestroy(wxWindowDestroyEvent& event);
 
-#ifdef __WXMSW__
+#if defined( __WXMSW__ ) || defined( __WXMAC__)
     // check if the mouse needs captured or released
     void OnIdle(wxIdleEvent& event);
 #endif