void set(ContainerWindow &parent, const TCHAR *text, unsigned _index, int left, int top, unsigned width, unsigned height, ButtonWindowStyle style=ButtonWindowStyle()) { index = _index; #ifdef GREEN_MENU style.enable_custom_painting(); #endif ButtonWindow::set(parent, text, left, top, width, height, style); }