| 2933 | } |
| 2934 | |
| 2935 | static void |
| 2936 | macClickText(EventRecord *theEvent, WindowPtr theWindow) |
| 2937 | { |
| 2938 | NhWindow *aWin = GetNhWin(theWindow); |
| 2939 | |
| 2940 | if (aWin->scrollBar && IsControlVisible(aWin->scrollBar)) { |
| 2941 | short code; |
| 2942 | Point p = theEvent->where; |
| 2943 | ControlHandle theBar; |
| 2944 | |
| 2945 | GlobalToLocal(&p); |
| 2946 | code = FindControl(p, theWindow, &theBar); |
| 2947 | if (code) { |
| 2948 | DoScrollBar(p, code, theBar, aWin); |
| 2949 | } |
| 2950 | } |
| 2951 | } |
| 2952 | |
| 2953 | #endif /* !TARGET_API_MAC_CARBON */ |
| 2954 |
no test coverage detected