From: Stefan Csomor Date: Tue, 25 Mar 2008 13:00:31 +0000 (+0000) Subject: fix adding non owned window for mac X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/d0d7f207283cb249b4a78de0c37d81c27bba3313 fix adding non owned window for mac git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52808 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/html/htmlctrl/webkit/webkit.mm b/src/html/htmlctrl/webkit/webkit.mm index 49ebedf1f3..5af328fa45 100755 --- a/src/html/htmlctrl/webkit/webkit.mm +++ b/src/html/htmlctrl/webkit/webkit.mm @@ -219,7 +219,7 @@ static pascal OSStatus wxWebKitCtrlEventHandler( EventHandlerCallRef handler , E ControlRef controlRef ; wxWebKitCtrl* thisWindow = (wxWebKitCtrl*) data ; - wxTopLevelWindowMac* tlw = NULL; + wxNonOwnedWindow* tlw = NULL; if (thisWindow) tlw = thisWindow->MacGetTopLevelWindow();