menu alignment

chris elliott biol75 at york.ac.uk
Thu Mar 1 06:31:53 PST 2007



Troels wrote:
> 
> chris elliott wrote:
>> I have now built the menu sample with Borland (5.5) and msys (gcc 
>> 3.4.5 winapi version not known) Both these have the correct alignment
> 
> Quite a surprise. Are you sure about gcc, the codeblocks people see the 
> problem using MinGW 3.4.5 
yes, and I've just checked it compiles the code after #if 
defined(MIIM_BITMAP) && (_WIN32_WINNT >= 0x0500)

the winapi version is possibly different

> (http://forums.codeblocks.org/index.php?topic=5252.0)
> 
>  > #if defined(MIIM_BITMAP) && (_WIN32_WINNT >= 0x0500)
>  >             WinStruct<MENUITEMINFO> mii;
>  > This next part is not compiled by vc6.
> 
> IIRC I tried setting _WIN32_WINNT to 0x0500 in VC6, 
thanks, I my VC6 is failing on the MIIM_BITMAP half of the construct

chris




More information about the wx-users mailing list