summaryrefslogtreecommitdiffstats
path: root/macosx/tkMacOSXSubwindows.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2017-11-27 11:12:01 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2017-11-27 11:12:01 (GMT)
commitc7c7d22777da93312e8351f289c0eae3253889c7 (patch)
tree0c6af3e83a24e865135704b4e3aaf230c769b3de /macosx/tkMacOSXSubwindows.c
parent1a9ed03cff3ca2e3ce2fba690a478d0651c55d12 (diff)
downloadtk-c7c7d22777da93312e8351f289c0eae3253889c7.zip
tk-c7c7d22777da93312e8351f289c0eae3253889c7.tar.gz
tk-c7c7d22777da93312e8351f289c0eae3253889c7.tar.bz2
tkWinDialog.c: Change a LoadLibrary() call to GetModuleHandle(), since "shell32.dll" is already linked to Tk.
Also various whitespace changes (mainly at line-ends) and comment fixes. Nothing functional.
Diffstat (limited to 'macosx/tkMacOSXSubwindows.c')
-rw-r--r--macosx/tkMacOSXSubwindows.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/macosx/tkMacOSXSubwindows.c b/macosx/tkMacOSXSubwindows.c
index 2c036bb..3d5e986 100644
--- a/macosx/tkMacOSXSubwindows.c
+++ b/macosx/tkMacOSXSubwindows.c
@@ -156,7 +156,7 @@ XMapWindow(
* before applicationDidFinishLaunching returns. Forcing
* the app to activate too early can make the menu bar
* unresponsive.
- */
+ */
[NSApp activateIgnoringOtherApps:NO];
if ( [win canBecomeKeyWindow] ) {
[win makeKeyAndOrderFront:NSApp];