]> git.saurik.com Git - wxWidgets.git/blob - src/msw/wince/main.cpp
Added inline setters for wxTreeEvent so we don't need to add new
[wxWidgets.git] / src / msw / wince / main.cpp
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: wince/main.cpp
3 // Purpose: Main/DllMain
4 // Author: Marco Cavallini
5 // Modified by:
6 // Created: 08/11/2002
7 // RCS-ID:
8 // Copyright: (c) KOAN SAS ( www.koansoftware.com )
9 // Licence: wxWindows licence
10 ///////////////////////////////////////////////////////////////////////////////
11
12
13 // For compilers that support precompilation, includes "wx.h".
14 #include "wx/wxprec.h"
15
16 //#include "wx/event.h"
17 //#include "wx/app.h"
18
19 //#include "wx/msw/private.h"
20
21 // from src/msw/app.cpp
22 //extern void WXDLLEXPORT wxEntryCleanup();
23
24 // ----------------------------------------------------------------------------
25
26 BOOL APIENTRY DllMain( HANDLE hModule,
27 DWORD ul_reason_for_call,
28 LPVOID lpReserved
29 )
30 {
31 return TRUE;
32 }
33
34 // ----------------------------------------------------------------------------
35 // global
36 // ----------------------------------------------------------------------------
37
38 HINSTANCE wxhInstance = 0;
39
40 // ----------------------------------------------------------------------------
41 // global functions
42 // ----------------------------------------------------------------------------
43
44 HINSTANCE wxGetInstance()
45 {
46 return wxhInstance;
47 }
48
49 void wxSetInstance(HINSTANCE hInst)
50 {
51 wxhInstance = hInst;
52 }