Commit 1b0f1ca4 authored by kdecker's avatar kdecker

2007-06-18 Kevin Decker <kdecker@apple.com>

        * Carbon/HIWebView.m:
        (WindowHandler): Fixed the Tiger build; ControlKind wasn't defined.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@23578 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 2d55e968
......@@ -760,8 +760,9 @@ OSStatus HIWebViewCreateWithClass(Class aClass, HIViewRef * outControl)
#ifndef BUILDING_ON_TIGER
if (HIObjectIsOfClass((HIObjectRef)view, kHIWebViewClassID))
#else
ControlKind kind;
GetControlKind(view, &kind);
if ( kind.signature == 'appl' && kind.kind == 'wbvw' )
if (kind.signature == 'appl' && kind.kind == 'wbvw')
#endif
result = SendEventToEventTargetWithOptions(inEvent, HIObjectGetEventTarget((HIObjectRef)view), kEventTargetDontPropagate);
}
......@@ -777,8 +778,9 @@ OSStatus HIWebViewCreateWithClass(Class aClass, HIViewRef * outControl)
#ifndef BUILDING_ON_TIGER
if (HIObjectIsOfClass((HIObjectRef)view, kHIWebViewClassID))
#else
ControlKind kind;
GetControlKind(view, &kind);
if ( kind.signature == 'appl' && kind.kind == 'wbvw' )
if (kind.signature == 'appl' && kind.kind == 'wbvw')
#endif
result = SendEventToEventTargetWithOptions(inEvent, HIObjectGetEventTarget((HIObjectRef)view), kEventTargetDontPropagate);
}
......
2007-06-18 Kevin Decker <kdecker@apple.com>
* Carbon/HIWebView.m:
(WindowHandler): Fixed the Tiger build; ControlKind wasn't defined.
2007-06-18 Kevin Decker <kdecker@apple.com>
Reviewed by Tim Hatcher.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment