fix adding non owned window for mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52808 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -219,7 +219,7 @@ static pascal OSStatus wxWebKitCtrlEventHandler( EventHandlerCallRef handler , E
|
|||||||
|
|
||||||
ControlRef controlRef ;
|
ControlRef controlRef ;
|
||||||
wxWebKitCtrl* thisWindow = (wxWebKitCtrl*) data ;
|
wxWebKitCtrl* thisWindow = (wxWebKitCtrl*) data ;
|
||||||
wxTopLevelWindowMac* tlw = NULL;
|
wxNonOwnedWindow* tlw = NULL;
|
||||||
if (thisWindow)
|
if (thisWindow)
|
||||||
tlw = thisWindow->MacGetTopLevelWindow();
|
tlw = thisWindow->MacGetTopLevelWindow();
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user