Create Qt widget painter just once in ctor outside paint event
Remove compilation warnings in wxWindow (wxQT)