/usr/lib/wxSmithContribItems/libwxcustombutton.so is in codeblocks-contrib 10.05-2.
This file is owned by root:root, with mode 0o777.
It is a symlink to /usr/lib/wxSmithContribItems/libwxcustombutton.so.0.0.1
/usr/lib/wxSmithContribItems/libwxcustombutton.so.0.0.1