summaryrefslogtreecommitdiffstats
path: root/mac/tkMacAppInit.c
diff options
context:
space:
mode:
authorjingham <jingham@noemail.net>2000-02-10 08:53:05 (GMT)
committerjingham <jingham@noemail.net>2000-02-10 08:53:05 (GMT)
commitf195f8e412ce3f86979e96e3bbaec21ee5d63c64 (patch)
tree21b220e7ac86ad13179df4f981925f81d287544e /mac/tkMacAppInit.c
parent04d59007aa554b84ba8610f6b0d636ae67840e3a (diff)
downloadtk-f195f8e412ce3f86979e96e3bbaec21ee5d63c64.zip
tk-f195f8e412ce3f86979e96e3bbaec21ee5d63c64.tar.gz
tk-f195f8e412ce3f86979e96e3bbaec21ee5d63c64.tar.bz2
Add support for Appearance Manager 1.2 Floating windows, and the new window classes in unsupported1
FossilOrigin-Name: 60c069c95bdec88c3f471f4c60ca2d53a6d47837
Diffstat (limited to 'mac/tkMacAppInit.c')
-rw-r--r--mac/tkMacAppInit.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/mac/tkMacAppInit.c b/mac/tkMacAppInit.c
index 9772f36..670e8fa 100644
--- a/mac/tkMacAppInit.c
+++ b/mac/tkMacAppInit.c
@@ -9,7 +9,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkMacAppInit.c,v 1.11 1999/06/16 05:33:58 jingham Exp $
+ * RCS: @(#) $Id: tkMacAppInit.c,v 1.12 2000/02/10 08:53:06 jingham Exp $
*/
#include <Gestalt.h>
@@ -250,7 +250,11 @@ MacintoshInit()
InitGraf(&tcl_macQdPtr->thePort);
InitFonts();
+ if (TkMacHaveAppearance() >= 0x110) {
+ InitFloatingWindows();
+ } else {
InitWindows();
+ }
InitMenus();
InitDialogs((long) NULL);
InitCursor();