X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4c51a665c649f7579fb39e62070cef4f66b3210d..d2e66707deb10dea6f92e3e4092f8a43ef942a5d:/src/cocoa/window.mm?ds=sidebyside diff --git a/src/cocoa/window.mm b/src/cocoa/window.mm index 8a432a0609..8fb822a76f 100644 --- a/src/cocoa/window.mm +++ b/src/cocoa/window.mm @@ -735,7 +735,7 @@ int wxWindowCocoaScrollView::GetScrollPos(wxOrientation orient) position is at range-thumbsize. The range of an NSScroller is 0.0 to 1.0. Much easier! NOTE: Apple doesn't really specify - but GNUStep docs do say that 0.0 is top/left and 1.0 is bottom/right. This is actualy + but GNUStep docs do say that 0.0 is top/left and 1.0 is bottom/right. This is actually in contrast to NSSlider which generally has 1.0 at the TOP when it's done vertically. */ CGFloat cocoaScrollPos = [cocoaScroller floatValue];