summaryrefslogtreecommitdiffstats
path: root/macosx/tkMacOSXInit.c
diff options
context:
space:
mode:
authorKevin Walzer <kw@codebykevin.com>2015-01-30 15:27:00 (GMT)
committerKevin Walzer <kw@codebykevin.com>2015-01-30 15:27:00 (GMT)
commitbcde7b5b7afb793a7300bd511a37b78a87c25267 (patch)
treed9397c2110d4ed67517b5c545b04433ca99f0e1c /macosx/tkMacOSXInit.c
parentd6a7bbf485d5e7342f6abba5a631cf081e321201 (diff)
downloadtk-bcde7b5b7afb793a7300bd511a37b78a87c25267.zip
tk-bcde7b5b7afb793a7300bd511a37b78a87c25267.tar.gz
tk-bcde7b5b7afb793a7300bd511a37b78a87c25267.tar.bz2
Scrolling is now working at an acceptable level; using Unix bindings to drive scrolling in Tk window, and just requiring Mac HITheme scrollbar to re-draw itself
Diffstat (limited to 'macosx/tkMacOSXInit.c')
-rw-r--r--macosx/tkMacOSXInit.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/macosx/tkMacOSXInit.c b/macosx/tkMacOSXInit.c
index a807dfa..219efd1 100644
--- a/macosx/tkMacOSXInit.c
+++ b/macosx/tkMacOSXInit.c
@@ -1,5 +1,5 @@
/*
- * tkMacOSXInit.c --
+ * tkMacOSXInit.c --
*
* This file contains Mac OS X -specific interpreter initialization
* functions.
@@ -31,7 +31,7 @@ static char scriptPath[PATH_MAX + 1] = "";
int tkMacOSXGCEnabled = 0;
long tkMacOSXMacOSXVersion = 0;
-#pragma mark TKApplication(TKInit)
+#pragma mark TKApplication(TKInit)
#if MAC_OS_X_VERSION_MIN_REQUIRED < 1060
#define NSTextInputContextKeyboardSelectionDidChangeNotification @"NSTextInputContextKeyboardSelectionDidChangeNotification"
@@ -53,10 +53,6 @@ static void keyboardChanged(CFNotificationCenterRef center, void *observer, CFSt
- (void) _setupWindowNotifications;
@end
-@interface TKApplication(TKScrlbr)
-- (void) _setupScrollBarNotifications;
-@end
-
@interface TKApplication(TKMenus)
- (void) _setupMenus;
@end
@@ -108,7 +104,6 @@ static void keyboardChanged(CFNotificationCenterRef center, void *observer, CFSt
selector:@selector(_postedNotification:) name:nil object:nil];
#endif
[self _setupWindowNotifications];
- [self _setupScrollBarNotifications];
[self _setupApplicationNotifications];
}