#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

  • Anders F Björklund

    Logged In: YES
    user_id=5895
    Originator: NO

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

     
  • Anders F Björklund

    defs.diff

     
  • Anders F Björklund

    Logged In: YES
    user_id=5895
    Originator: NO

    File Added: defs.diff

     
  • Anders F Björklund

    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.

     
  • Anders F Björklund

    • status: open --> pending-fixed
     
  • Anders F Björklund

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

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks