X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3ec4107dfc11fe843b787ecf602e1f526b19d6b9..40b83d2901a46081a0a20ff92e5613bf52aa8684:/include/wx/msw/missing.h diff --git a/include/wx/msw/missing.h b/include/wx/msw/missing.h index 516a68b863..83129ec448 100644 --- a/include/wx/msw/missing.h +++ b/include/wx/msw/missing.h @@ -240,6 +240,50 @@ struct HH_AKLINK BOOL fIndexOnFail; }; +// ---------------------------------------------------------------------------- +// SHGetFileInfo-related things +// ---------------------------------------------------------------------------- + +#ifndef SHGetFileInfo + #ifdef UNICODE + #define SHGetFileInfo SHGetFileInfoW + #else + #define SHGetFileInfo SHGetFileInfoA + #endif +#endif + +#ifndef SHGFI_ATTRIBUTES + #define SHGFI_ATTRIBUTES 2048 +#endif + +#ifndef SFGAO_READONLY + #define SFGAO_READONLY 0x00040000L +#endif + +#ifndef SFGAO_REMOVABLE + #define SFGAO_REMOVABLE 0x02000000L +#endif + +#ifndef SHGFI_DISPLAYNAME + #define SHGFI_DISPLAYNAME 512 +#endif + +#ifndef SHGFI_ICON + #define SHGFI_ICON 256 +#endif + +#ifndef SHGFI_SMALLICON + #define SHGFI_SMALLICON 1 +#endif + +#ifndef SHGFI_SHELLICONSIZE + #define SHGFI_SHELLICONSIZE 4 +#endif + +#ifndef SHGFI_OPENICON + #define SHGFI_OPENICON 2 +#endif + // ---------------------------------------------------------------------------- // Rich text control // ---------------------------------------------------------------------------- @@ -319,7 +363,7 @@ typedef struct _paraformat2 { #endif -#endif +#endif // wxUSE_RICHEDIT // ---------------------------------------------------------------------------- // Misc stuff @@ -337,5 +381,9 @@ typedef struct _paraformat2 { #define ENDSESSION_LOGOFF 0x80000000 #endif +#ifndef HANGUL_CHARSET + #define HANGUL_CHARSET 129 +#endif + #endif // _WX_MISSING_H_