removed obsolete functions wx3.1