X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2bda0e173844e8e0f8acf4e8ad8b5c26e5c6fe5d..5d644707ca96dcaa63dc5a24c9eb5c2b7ee0b50d:/include/wx/msw/curicop.h?ds=sidebyside diff --git a/include/wx/msw/curicop.h b/include/wx/msw/curicop.h index 1ec5056e90..2be9ce59a7 100644 --- a/include/wx/msw/curicop.h +++ b/include/wx/msw/curicop.h @@ -1,9 +1,23 @@ +///////////////////////////////////////////////////////////////////////////// +// Name: curicop.h +// Purpose: Private routines for cursor/icon handling +// Author: Various +// Modified by: +// Created: 01/02/97 +// RCS-ID: $Id$ +// Copyright: (c) Julian Smart +// Licence: wxWindows licence +///////////////////////////////////////////////////////////////////////////// + +#ifndef _WX_CURICOP_H_ +#define _WX_CURICOP_H_ + // PRIVATE STUFF FOLLOWS UNTIL END // Header signatures for various resources #define BFT_ICON 0x4349 /* 'IC' */ #define BFT_BITMAP 0x4d42 /* 'BM' */ -#define BFT_CURSOR 0x5450 /* 'PT' */ +#define BFT_CURSOR 0x5450 /* 'PT(' */ // This WIDTHBYTES macro determines the number of BYTES per scan line. #define WIDTHBYTES( i) ((i + 31) / 32 * 4) @@ -33,7 +47,7 @@ struct tagCURFILERES { typedef struct tagCURFILERES CURFILERES; -HANDLE ReadCur( LPSTR szFileName, LPPOINT lpptHotSpot, int *W = 0, int *H = 0); +HANDLE ReadCur( LPTSTR szFileName, LPPOINT lpptHotSpot, int *W = 0, int *H = 0); HBITMAP ColorDDBToMonoDDB( HBITMAP hbm); HCURSOR MakeCursor( HANDLE hDIB, LPPOINT lpptHotSpot, HINSTANCE hInst); @@ -58,6 +72,8 @@ struct tagICONFILERES { typedef struct tagICONFILERES ICONFILERES; -HANDLE ReadIcon( char *szFileName, int *W = 0, int *H = 0); +HANDLE ReadIcon( wxChar *szFileName, int *W = 0, int *H = 0); HICON MakeIcon( HANDLE hDIB, HINSTANCE hInst); +#endif +