menu alignment

Troels tk at tk.tk
Thu Mar 1 06:04:44 PST 2007


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 
(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, and tinkered a 
little with the code in this particular section, got me nowhere. Perhaps 
you have more luck and talent - or could there be some other such 
section somewhere else, that is the real root of the problem?

Regards






More information about the wx-users mailing list