Menu

#1079 Don't call wxChoice::GetString() with wxNOT_FOUND

Next_Nightly
fixed
Patch
2021-04-03
2021-03-14
No

The upcoming wx3.1.5 will assert when calling wxChoice::GetString(wxNOT_FOUND). The file manager plugin calls GetString(GetSelection()) from two places without checking if the selection is valid, so it is getting assertions with current wxMaster.

See wxWidgets 3.1.5 for the discussion.

The attached patch fixes this .

1 Attachments

Discussion

  • Morten MacFly

    Morten MacFly - 2021-04-03
    • status: open --> fixed
    • assigned_to: Morten MacFly
    • Milestone: Undefined --> Next_Nightly
     
  • Morten MacFly

    Morten MacFly - 2021-04-03

    Applied in SVN. Thank you!

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.