planpanel: removed the casting to wxNode