pre-decide image can supported.fix crash caused by wxPropertyGrid.