The code
wxAcceleratorTable table(0, entries);
triggers a debug assertion at runtime when compiled with MSVC in Debug mode.
The culprit seems to be 4cc13e1. Replacing the &arr[0] with arr.data() should solve this.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.![]()
Thanks for reporting this. I wonder if we should call CreateAcceleratorTable() at all in this case (when n == 0), does it return a valid HACCEL in this case?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.![]()
Closed #25517 as completed via 750b2a4.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.![]()