summaryrefslogtreecommitdiffstats
path: root/generic/tkButton.h
diff options
context:
space:
mode:
Diffstat (limited to 'generic/tkButton.h')
-rw-r--r--generic/tkButton.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/generic/tkButton.h b/generic/tkButton.h
index 0d5b928..8e0ee3a 100644
--- a/generic/tkButton.h
+++ b/generic/tkButton.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:
@@ -238,4 +243,7 @@ EXTERN void TkpDisplayButton _ANSI_ARGS_((ClientData clientData));
#endif
EXTERN int TkInvokeButton _ANSI_ARGS_((TkButton *butPtr));
+#undef EXPORT
+#define EXPORT DLLIMPORT
+
#endif /* _TKBUTTON */