]> git.saurik.com Git - wxWidgets.git/blob - include/wx/msw/curico.h
reverted Julian's unintentional breakage of wxChoice
[wxWidgets.git] / include / wx / msw / curico.h
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: curico.h
3 // Purpose: Icon and cursor functions
4 // Author: Julian Smart
5 // Modified by:
6 // Created: 01/02/97
7 // RCS-ID: $Id$
8 // Copyright: (c) Julian Smart
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
11
12 #ifndef _WX_CURICO_H_
13 #define _WX_CURICO_H_
14
15 HICON ReadIconFile( wxChar *szFileName, HINSTANCE hInst,
16 int *W = 0, int *H = 0);
17 HCURSOR ReadCursorFile( wxChar *szFileName, HINSTANCE hInst,
18 int *W = 0, int *H = 0, int *XHot = 0, int *YHot = 0);
19 HCURSOR IconToCursor( wxChar *szFileName, HINSTANCE hInst, int XHot, int YHot,
20 int *W = 0, int *H = 0);
21 HICON CursorToIcon( wxChar *szFileName, HINSTANCE hInst,
22 int *W = 0, int *H = 0);
23
24 HCURSOR MakeCursorFromBitmap(HINSTANCE hInst, HBITMAP hBitmap, POINT *pPoint);
25 HICON MakeIconFromBitmap(HINSTANCE hInst, HBITMAP hBitmap);
26
27 #endif
28