many changes; major ones:
1. start of !wxUSE_GUI support 2. _T() macro renamed to T() 3. wxConvertWX2MB and MB2WX macro added git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3828 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -69,7 +69,7 @@
|
||||
/* Header signatutes for various resources */
|
||||
#define BFT_ICON 0x4349 /* 'IC' */
|
||||
#define BFT_BITMAP 0x4d42 /* 'BM' */
|
||||
#define BFT_CURSOR 0x5450 /* 'PT' */
|
||||
#define BFT_CURSOR 0x5450 /* 'PT(' */
|
||||
|
||||
/* macro to determine if resource is a DIB */
|
||||
#define ISDIB(bft) ((bft) == BFT_BITMAP)
|
||||
@@ -436,8 +436,8 @@ BOOL wxReadDIB(LPTSTR lpFileName, HBITMAP *bitmap, HPALETTE *palette)
|
||||
|
||||
fh = OpenFile (wxFNCONV(lpFileName), &of, OF_READ);
|
||||
if (fh == -1) {
|
||||
wsprintf(str,_T("Can't open file '%s'"), lpFileName);
|
||||
MessageBox(NULL, str, _T("Error"), MB_ICONSTOP | MB_OK);
|
||||
wsprintf(str,T("Can't open file '%s'"), lpFileName);
|
||||
MessageBox(NULL, str, T("Error"), MB_ICONSTOP | MB_OK);
|
||||
return (0);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user