Merge pull request #9032 from cocoscodeide/v3

runtime demo is ugly when screen orientation is portrait
fixes some compiler warnings

don't call deprecated functions
Merge pull request #9040 from ricardoquesada/warnings_fixes

fixes some compiler warnings