Update paned.cpp