make sure mouse moved events are always delivered, see #15008
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74091 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -568,12 +568,12 @@ long style, long extraStyle, const wxString& WXUNUSED(name) )
|
|||||||
|
|
||||||
if ( style & wxFRAME_TOOL_WINDOW || ( style & wxPOPUP_WINDOW ) ||
|
if ( style & wxFRAME_TOOL_WINDOW || ( style & wxPOPUP_WINDOW ) ||
|
||||||
GetWXPeer()->GetExtraStyle() & wxTOPLEVEL_EX_DIALOG )
|
GetWXPeer()->GetExtraStyle() & wxTOPLEVEL_EX_DIALOG )
|
||||||
{
|
|
||||||
m_macWindow = [wxNSPanel alloc];
|
m_macWindow = [wxNSPanel alloc];
|
||||||
}
|
|
||||||
else
|
else
|
||||||
m_macWindow = [wxNSWindow alloc];
|
m_macWindow = [wxNSWindow alloc];
|
||||||
|
|
||||||
|
[m_macWindow setAcceptsMouseMovedEvents:YES];
|
||||||
|
|
||||||
CGWindowLevel level = kCGNormalWindowLevel;
|
CGWindowLevel level = kCGNormalWindowLevel;
|
||||||
|
|
||||||
if ( style & wxFRAME_TOOL_WINDOW )
|
if ( style & wxFRAME_TOOL_WINDOW )
|
||||||
|
Reference in New Issue
Block a user