summaryrefslogtreecommitdiffstats
path: root/generic/tkMenubutton.h
diff options
context:
space:
mode:
Diffstat (limited to 'generic/tkMenubutton.h')
-rw-r--r--generic/tkMenubutton.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/generic/tkMenubutton.h b/generic/tkMenubutton.h
index 0fb0f65..d8a6659 100644
--- a/generic/tkMenubutton.h
+++ b/generic/tkMenubutton.h
@@ -19,6 +19,11 @@
#include "tkInt.h"
#endif
+#ifdef BUILD_tk
+# undef EXPORT
+# define EXPORT DLLEXPORT
+#endif
+
/*
* A data structure of the following type is kept for each
* widget managed by this file:
@@ -204,4 +209,7 @@ EXTERN void TkpDestroyMenuButton _ANSI_ARGS_((
EXTERN void TkMenuButtonWorldChanged _ANSI_ARGS_((
ClientData instanceData));
+#undef EXPORT
+#define EXPORT DLLIMPORT
+
#endif /* _TKMENUBUTTON */