Make sure settings are written on app shutdown.
Make sure settings are written on app shutdown.

E.g.  on OS X, window sizes wouldn't be stored due to wxConfig being
deleted before the windows.

PKRoma/poedit,BenKeyFSI/poedit,egoitzro/poedit,PatidarWeb/poedit,huoxudong125/poedit,vslavik/poedit,c72578/poedit,PatidarWeb/poedit,PKRoma/poedit,egoitzro/poedit,BenKeyFSI/poedit,c72578/poedit,nawawi/poedit,PKRoma/poedit,huoxudong125/poedit,babycaseny/poedit,BenKeyFSI/poedit,alexhenrie/poedit,huoxudong125/poedit,c72578/poedit,nawawi/poedit,alexhenrie/poedit,alexhenrie/poedit,c72578/poedit,nawawi/poedit,PKRoma/poedit,PKRoma/poedit,BenKeyFSI/poedit,egoitzro/poedit,babycaseny/poedit,dwaynebailey/poedit,egoitzro/poedit,dwaynebailey/poedit,PatidarWeb/poedit,alexhenrie/poedit,PatidarWeb/poedit,babycaseny/poedit,egoitzro/poedit,nawawi/poedit,alexhenrie/poedit,vslavik/poedit,c72578/poedit,PatidarWeb/poedit,huoxudong125/poedit,babycaseny/poedit,nawawi/poedit,babycaseny/poedit,BenKeyFSI/poedit,vslavik/poedit,dwaynebailey/poedit,vslavik/poedit,dwaynebailey/poedit,vslavik/poedit,dwaynebailey/poedit,huoxudong125/poedit