menu alignment

Markus Greither Markus.Greither at gmx.de
Mon Apr 2 12:52:11 PDT 2007


On 2 Mrz., 13:00, bio... at york.ac.uk (chris elliott) wrote:
> Vadim, I would be grateful if you could check my patch; I'd like to get
> it into 2.8.2
>
> It compiles for me with DMC, Borland, VC6, msys, cygwin
> I don't have a newer VC compiler to check it with
>
> DMC is the only one out of line now, and this is because the headers
> don't seem to have HBITMAPhbmpItemin the typedef tagMENUITEMINFOA /W
>
> chris

Chris and Vadim,

this hbmpitem is only available if WINVER>= 0x0500. As I typically
still compile applications with WINVER=0x0400, wxWidgets 2.8.3 doesn't
compile for me with Borland C++, and probably also not with the other
compilers. So I suggest to extend the condition to not only check for
DMC but for WINVER >= 0x0500 as well.

Regards
Markus








More information about the wx-users mailing list