]>
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
6 // Copyright: (c) 2009 Vaclav Slavik
7 // Licence: wxWindows licence
8 /////////////////////////////////////////////////////////////////////////////
17 #ifdef MY_DLL_BUILDING
18 #define MY_DLL_DECL __declspec(dllexport)
20 #define MY_DLL_DECL __declspec(dllimport)
23 // launch wx UI from some application that may or may not be written in wx
24 MY_DLL_DECL
void run_wx_gui_from_dll(const char *title
);
26 // run this to shutdown running threads etc.
27 MY_DLL_DECL
void wx_dll_cleanup();