Ticket #14739 (closed defect: fixed)
Mac Cocoa assert-fail, wxFD_FILE_MUST_EXIST==wxFRAME_SHAPED
|Reported by:||andyr||Owned by:|
I'm actually using a snapshot from 2012-09-24
And as I say,
You can see this cause an assert in the dialogs sample as follows:
In MyApp:OnInit, add
And in FileOpen2, add the style wxFD_FILE_MUST_EXIST
It now asserts when you select Dialogs - File operations - Second open file.
This is caused by some drawing code thinking it is seeing the wxFRAME_SHAPED flag, tries to get the shape of the window, but it hasn't got one.