git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39374
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
virtual void AddChild( wxWindowBase *child );
virtual void RemoveChild( wxWindowBase *child );
+ // currently wxGTK2-only
+ void SetDoubleBuffered(bool on);
+
// implementation
// --------------
m_updateRegion.Clear();
}
+void wxWindowGTK::SetDoubleBuffered( bool on )
+{
+ wxCHECK_RET( (m_widget != NULL), wxT("invalid window") );
+
+ if ( m_wxwindow )
+ gtk_widget_set_double_buffered( m_wxwindow, on );
+}
+
void wxWindowGTK::ClearBackground()
{
wxCHECK_RET( m_widget != NULL, wxT("invalid window") );