Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#24 MenuIDs off by one wx 2.8.4

closed-fixed
nobody
None
5
2007-08-22
2007-08-07
Mike Wey
No

When linking with wxWidgets 2.8.4 some MenuIDs are off by one. Probably because of the new IDs in 2.8 :

wxID_PAGE_SETUP and
wxID_EDIT

Discussion

  • Logged In: YES
    user_id=5895
    Originator: NO

    Yup, haven't thought of a good solution except making all enums load a function. <gasp>

     
  • defs.diff

     
    Attachments
  • Logged In: YES
    user_id=5895
    Originator: NO

    File Added: defs.diff

     
  • Logged In: YES
    user_id=5895
    Originator: NO

    Fixed by exporting the wxWidgets "release" from C++ to D, and then doing two separate menu ID enums (one for each ABI version). Since we already need to export platform and encoding, adding one more crap to the dung heap doesn't matter.

     
    • status: open --> pending-fixed
     
    • status: pending-fixed --> closed-fixed