menu alignment

chris elliott biol75 at york.ac.uk
Thu Mar 1 05:39:32 PST 2007


tracing under Borland (5.4) and Microsoft (VC6) debuggers shows that 
borland executes the code after line 439 of src/menu.cpp; while 
microsoft does not execute this.

#if defined(MIIM_BITMAP) && (_WIN32_WINNT >= 0x0500)
             WinStruct<MENUITEMINFO> mii;

This next part is not compiled by vc6.

chris


Troels wrote:
> 
>> I see a misalignment of the File menu with bitmap with VC and DMC 
>> compilers, but not with watcom
> 
> Significant probably. Perhaps it has to do with
> 
> #if defined(MIIM_BITMAP) && (_WIN32_WINNT >= 0x0500)
> 
> Perhaps MIIM_BITMAP and/or _WIN32_WINNT (or some such) are defined 
> differently in watcom headers? I did try out several different settings 
> of these, in VC, didn't appear to have the desired effect, perhaps 
> watcom have just the right combination of settings??
> 
> Regards
> Troels
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: wx-users-unsubscribe at lists.wxwidgets.org
> For additional commands, e-mail: wx-users-help at lists.wxwidgets.org
> 




More information about the wx-users mailing list