int x_diff = 0;
if (win->GetLayoutDirection() == wxLayout_RightToLeft)
x_diff = rect.width;
-
+
gtk_paint_box
(
button->style,
rect.height = full_size;
rect.width = w;
}
-
+
int x_diff = 0;
if (win->GetLayoutDirection() == wxLayout_RightToLeft)
x_diff = rect.width;
rect.width,
rect.height );
}
+ else // !wxCONTROL_SELECTED
+ {
+ state = GTK_STATE_NORMAL;
+ }
if (flags & wxCONTROL_CURRENT)
{
- gtk_paint_focus( win->m_widget->style,
+ gtk_paint_focus( win->m_widget->style,
gdk_window,
- GTK_STATE_SELECTED,
+ state,
NULL,
win->m_wxwindow,
"treeview",