]>
git.saurik.com Git - wxWidgets.git/blob - samples/dll/my_dll.h
1 /////////////////////////////////////////////////////////////////////////////
3 // Purpose: Sample showing how to use wx from a DLL
4 // Author: Vaclav Slavik
7 // Copyright: (c) 2009 Vaclav Slavik
8 // Licence: wxWindows licence
9 /////////////////////////////////////////////////////////////////////////////
18 #ifdef MY_DLL_BUILDING
19 #define MY_DLL_DECL __declspec(dllexport)
21 #define MY_DLL_DECL __declspec(dllimport)
24 // launch wx UI from some application that may or may not be written in wx
25 MY_DLL_DECL
void run_wx_gui_from_dll(const char *title
);
27 // run this to shutdown running threads etc.
28 MY_DLL_DECL
void wx_dll_cleanup();