make popup on mac behave as on msw

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52791 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor
2008-03-25 07:39:43 +00:00
parent 3950d49c4f
commit 53b9afdefb
2 changed files with 3 additions and 1 deletions

View 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:

View 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