summaryrefslogtreecommitdiffstats
path: root/generic/tkPlatDecls.h
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2020-08-28 09:36:12 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2020-08-28 09:36:12 (GMT)
commit078bc1618f77b4a7e2ad2a8ea73125e5979bea24 (patch)
treee77064f6aba766c97bc440bdf42c931d7443a268 /generic/tkPlatDecls.h
parent9cfbd3e51461d673752779dc1a09e8011a701846 (diff)
downloadtk-078bc1618f77b4a7e2ad2a8ea73125e5979bea24.zip
tk-078bc1618f77b4a7e2ad2a8ea73125e5979bea24.tar.gz
tk-078bc1618f77b4a7e2ad2a8ea73125e5979bea24.tar.bz2
Export TkMacOSXGetTkWindow() for TkDND, without this it cannot be compiled as stub-enabled extension
Diffstat (limited to 'generic/tkPlatDecls.h')
-rw-r--r--generic/tkPlatDecls.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/generic/tkPlatDecls.h b/generic/tkPlatDecls.h
index ed8b1f5..f2eb7bf 100644
--- a/generic/tkPlatDecls.h
+++ b/generic/tkPlatDecls.h
@@ -82,7 +82,8 @@ EXTERN void * TkMacOSXGetRootControl(Drawable drawable);
EXTERN void Tk_MacOSXSetupTkNotifier(void);
/* 10 */
EXTERN int Tk_MacOSXIsAppInFront(void);
-/* Slot 11 is reserved */
+/* 11 */
+EXTERN TkWindow* TkMacOSXGetTkWindow(void *w);
/* Slot 12 is reserved */
/* Slot 13 is reserved */
/* Slot 14 is reserved */
@@ -116,7 +117,7 @@ typedef struct TkPlatStubs {
void * (*tkMacOSXGetRootControl) (Drawable drawable); /* 8 */
void (*tk_MacOSXSetupTkNotifier) (void); /* 9 */
int (*tk_MacOSXIsAppInFront) (void); /* 10 */
- void (*reserved11)(void);
+ TkWindow* (*tkMacOSXGetTkWindow) (void *w); /* 11 */
void (*reserved12)(void);
void (*reserved13)(void);
void (*reserved14)(void);
@@ -174,7 +175,8 @@ extern const TkPlatStubs *tkPlatStubsPtr;
(tkPlatStubsPtr->tk_MacOSXSetupTkNotifier) /* 9 */
#define Tk_MacOSXIsAppInFront \
(tkPlatStubsPtr->tk_MacOSXIsAppInFront) /* 10 */
-/* Slot 11 is reserved */
+#define TkMacOSXGetTkWindow \
+ (tkPlatStubsPtr->tkMacOSXGetTkWindow) /* 11 */
/* Slot 12 is reserved */
/* Slot 13 is reserved */
/* Slot 14 is reserved */