added SetDoubleBuffered() (patch 1491093)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39374 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
0a089246e7
commit
8e1a5bf979
@ -109,6 +109,9 @@ public:
|
||||
virtual void AddChild( wxWindowBase *child );
|
||||
virtual void RemoveChild( wxWindowBase *child );
|
||||
|
||||
// currently wxGTK2-only
|
||||
void SetDoubleBuffered(bool on);
|
||||
|
||||
// implementation
|
||||
// --------------
|
||||
|
||||
|
@ -3743,6 +3743,14 @@ void wxWindowGTK::GtkSendPaintEvents()
|
||||
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") );
|
||||
|
Loading…
Reference in New Issue
Block a user