under a sash.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32768
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
- // we must erase everything first, otherwise the garbage from the old sash
- // is left when dragging it
- //
- // TODO: is this the right way to draw themed background?
+#if 0
+ // RR: After a correction to the orientation of the sash
+ // this doesn't seem to be required anymore and it
+ // seems to confuse some themes
+
+ // we must erase everything first, otherwise the garbage
+ // from the old sash is left when dragging it
gtk_paint_flat_box
(
win->m_wxwindow->style,
gtk_paint_flat_box
(
win->m_wxwindow->style,
GTK_SHADOW_NONE,
NULL,
win->m_wxwindow,
GTK_SHADOW_NONE,
NULL,
win->m_wxwindow,
- (char *)"base", // const_cast
+ (char *)"viewportbin", // const_cast
erase_rect.x,
erase_rect.y,
erase_rect.width,
erase_rect.height
);
erase_rect.x,
erase_rect.y,
erase_rect.width,
erase_rect.height
);
#ifdef __WXGTK20__
gtk_paint_handle
#ifdef __WXGTK20__
gtk_paint_handle
- // we must erase everything first, otherwise the garbage from the old sash
- // is left when dragging it
- //
- // TODO: is this the right way to draw themed background?
+#if 0
+ // RR: After a correction to the orientation of the sash
+ // this doesn't seem to be required anymore and it
+ // seems to confuse some themes
+
+ // we must erase everything first, otherwise the garbage
+ // from the old sash is left when dragging it
gtk_paint_flat_box
(
win->m_wxwindow->style,
gtk_paint_flat_box
(
win->m_wxwindow->style,
GTK_SHADOW_NONE,
NULL,
win->m_wxwindow,
GTK_SHADOW_NONE,
NULL,
win->m_wxwindow,
- (char *)"base", // const_cast
+ (char *)"viewportbin", // const_cast
erase_rect.x,
erase_rect.y,
erase_rect.width,
erase_rect.height
);
erase_rect.x,
erase_rect.y,
erase_rect.width,
erase_rect.height
);
#ifdef __WXGTK20__
gtk_paint_handle
#ifdef __WXGTK20__
gtk_paint_handle