Error in wxBitmap::DoCreate using VFB history and high image aspect ratio

Full error text:

An internal error occurred: wxWidgets assertion failure. Please, report this problem to us.
File: C:\Corona\dependencies\src\wxWidgets-3.1.0\src\msw\bitmap.cpp(741)
Function: wxBitmap::DoCreate
Condition: "w > 0 && h > 0"
Message: invalid bitmap size

Repro:

  1. Set render size to 1280x6px
  2. Render iterative
  3. Go to history tab of Corona VFB
  4. Press “Store Current VFB”

Good Luck

Corona v5 final & v3.1 | Max2016&2018

Thanks frood reported it.

(internal id=443355324)