summaryrefslogtreecommitdiffstats
path: root/generic/tkPlatDecls.h
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2020-08-31 07:12:31 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2020-08-31 07:12:31 (GMT)
commit35720db1d661f7697792d72d75dbdd519c7f20b1 (patch)
treeee09125b330b284ffbca8b2ff548977d57842207 /generic/tkPlatDecls.h
parent5eb1ee14861ec921faf373ca991b67cc770a4f4e (diff)
downloadtk-35720db1d661f7697792d72d75dbdd519c7f20b1.zip
tk-35720db1d661f7697792d72d75dbdd519c7f20b1.tar.gz
tk-35720db1d661f7697792d72d75dbdd519c7f20b1.tar.bz2
More tweaks, (mainly TkMacOSXGetCGContextForDrawable <-> TkMacOSXCGContext)
Diffstat (limited to 'generic/tkPlatDecls.h')
-rw-r--r--generic/tkPlatDecls.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/generic/tkPlatDecls.h b/generic/tkPlatDecls.h
index 08e9715..3485f35 100644
--- a/generic/tkPlatDecls.h
+++ b/generic/tkPlatDecls.h
@@ -85,7 +85,7 @@ EXTERN int Tk_MacOSXIsAppInFront(void);
/* 11 */
EXTERN TkWindow* TkMacOSXGetTkWindow(void *w);
/* 12 */
-EXTERN void * TkMacOSXCGContext(Drawable drawable);
+EXTERN void * TkMacOSXGetCGContextForDrawable(Drawable drawable);
/* Slot 13 is reserved */
/* Slot 14 is reserved */
/* Slot 15 is reserved */
@@ -119,7 +119,7 @@ typedef struct TkPlatStubs {
void (*tk_MacOSXSetupTkNotifier) (void); /* 9 */
int (*tk_MacOSXIsAppInFront) (void); /* 10 */
TkWindow* (*tkMacOSXGetTkWindow) (void *w); /* 11 */
- void * (*tkMacOSXCGContext) (Drawable drawable); /* 12 */
+ void * (*tkMacOSXGetCGContextForDrawable) (Drawable drawable); /* 12 */
void (*reserved13)(void);
void (*reserved14)(void);
void (*reserved15)(void);
@@ -178,8 +178,8 @@ extern const TkPlatStubs *tkPlatStubsPtr;
(tkPlatStubsPtr->tk_MacOSXIsAppInFront) /* 10 */
#define TkMacOSXGetTkWindow \
(tkPlatStubsPtr->tkMacOSXGetTkWindow) /* 11 */
-#define TkMacOSXCGContext \
- (tkPlatStubsPtr->tkMacOSXCGContext) /* 12 */
+#define TkMacOSXGetCGContextForDrawable \
+ (tkPlatStubsPtr->tkMacOSXGetCGContextForDrawable) /* 12 */
/* Slot 13 is reserved */
/* Slot 14 is reserved */
/* Slot 15 is reserved */
@@ -202,7 +202,7 @@ extern const TkPlatStubs *tkPlatStubsPtr;
#ifdef MAC_OSX_TK /* AQUA */
#undef TkMacOSXGetTkWindow
#undef TkMacOSXGetCGContextForDrawable
-#undef TkGenWMConfigureEvent_
#endif
+#undef TkGenWMConfigureEvent_
#endif /* _TKPLATDECLS */