summaryrefslogtreecommitdiffstats
path: root/doc/HWNDToWindow.3
diff options
context:
space:
mode:
authorericm <ericm>2000-09-07 00:28:38 (GMT)
committerericm <ericm>2000-09-07 00:28:38 (GMT)
commitafa5142dc2d0c3a33bd4b391b000c152c2576337 (patch)
tree91c6cac39950aa1f64d9c29ffd03feecbc42da20 /doc/HWNDToWindow.3
parent35bef08e556a55ceea7225fb321da5395f1e3afa (diff)
downloadtk-afa5142dc2d0c3a33bd4b391b000c152c2576337.zip
tk-afa5142dc2d0c3a33bd4b391b000c152c2576337.tar.gz
tk-afa5142dc2d0c3a33bd4b391b000c152c2576337.tar.bz2
* doc/HWNDToWindow.3:
* doc/GetHWND.3: Changed synopsis to indicate the tkPlatDecls.h should be included, not tk.h. * generic/tkPlatDecls.h: Removed #include <windows.h> for Windows, a better solution for now is to update the docs and have extension authors #include <tkPlatDecls.h>. * generic/tk.h: Removed '#include "tkPlatDecls.h"', as the incorrect inclusion order between windows.h/tkPlatDecls.h causes build conflicts on Windows. * generic/tkPlatDecls.h: Added #include <windows.h> for Windows, so that HWND, etc., are defined properly.
Diffstat (limited to 'doc/HWNDToWindow.3')
-rw-r--r--doc/HWNDToWindow.34
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/HWNDToWindow.3 b/doc/HWNDToWindow.3
index 7e47c90..0aab1ed 100644
--- a/doc/HWNDToWindow.3
+++ b/doc/HWNDToWindow.3
@@ -2,7 +2,7 @@
'\" Copyright (c) 1998-2000 by Scriptics Corporation.
'\" All rights reserved.
'\"
-'\" RCS: @(#) $Id: HWNDToWindow.3,v 1.1 2000/04/24 19:11:10 ericm Exp $
+'\" RCS: @(#) $Id: HWNDToWindow.3,v 1.2 2000/09/07 00:28:38 ericm Exp $
'\"
.so man.macros
.TH Tk_HWNDToWindow 3 "" Tk "Tk Library Procedures"
@@ -11,7 +11,7 @@
Tk_HWNDToWindow \- Find Tk's window information for a Windows window
.SH SYNOPSIS
.nf
-\fB#include <tk.h>\fR
+\fB#include <tkPlatDecls.h>\fR
.sp
Tk_Window
\fBTk_HWNDToWindow\fR(\fIhwnd\fR)