changing drawitemhook to trunk version