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:
@@ -14,6 +14,8 @@
|
|||||||
|
|
||||||
#if defined(__WXDFB__)
|
#if defined(__WXDFB__)
|
||||||
#include "wx/dfb/nonownedwnd.h"
|
#include "wx/dfb/nonownedwnd.h"
|
||||||
|
#elif defined(__WXMAC__)
|
||||||
|
#include "wx/mac/nonownedwnd.h"
|
||||||
#else
|
#else
|
||||||
// other ports can derive both wxTLW and wxPopupWindow directly
|
// other ports can derive both wxTLW and wxPopupWindow directly
|
||||||
// from wxWindow:
|
// from wxWindow:
|
||||||
|
@@ -129,7 +129,7 @@ protected:
|
|||||||
// get alerted when child gets deleted from under us
|
// get alerted when child gets deleted from under us
|
||||||
void OnDestroy(wxWindowDestroyEvent& event);
|
void OnDestroy(wxWindowDestroyEvent& event);
|
||||||
|
|
||||||
#ifdef __WXMSW__
|
#if defined( __WXMSW__ ) || defined( __WXMAC__)
|
||||||
// check if the mouse needs captured or released
|
// check if the mouse needs captured or released
|
||||||
void OnIdle(wxIdleEvent& event);
|
void OnIdle(wxIdleEvent& event);
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user