projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix handling of help buttons with non-empty label under OS X.
[wxWidgets.git]
/
samples
/
dll
/
my_dll.h
diff --git
a/samples/dll/my_dll.h
b/samples/dll/my_dll.h
index ffb53a1053a62b53d455512fd0acf5919a5881a8..3b4c29bf7a2ee52e65b64dbacf2eb002407eaebc 100644
(file)
--- a/
samples/dll/my_dll.h
+++ b/
samples/dll/my_dll.h
@@
-15,11
+15,17
@@
extern "C" {
#endif
extern "C" {
#endif
+#ifdef MY_DLL_BUILDING
+ #define MY_DLL_DECL __declspec(dllexport)
+#else
+ #define MY_DLL_DECL __declspec(dllimport)
+#endif
+
// launch wx UI from some application that may or may not be written in wx
// launch wx UI from some application that may or may not be written in wx
-
WXIMPORT
void run_wx_gui_from_dll(const char *title);
+
MY_DLL_DECL
void run_wx_gui_from_dll(const char *title);
// run this to shutdown running threads etc.
// run this to shutdown running threads etc.
-
WXIMPORT void wx_dll_cleanup(void
);
+
MY_DLL_DECL void wx_dll_cleanup(
);
#ifdef __cplusplus
#ifdef __cplusplus