Empty wxNotebooks trip an assertion during every paint on MSW in dark mode.
Looks like it is a regression from 365b07b, which moved a GetTabRect(0) call before the corresponding GetPageCount() check.
Run the notebook sample in dark mode, press Alt+L a few times to delete notebook pages, and see the assertion once the last one is deleted.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.![]()
Thanks for noticing and reporting this, I'll push a fix soon.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.![]()