wx.Window.InitBuffer

Good day,

I am learnign wxPython by wxPython in action.

Came to example about device context drawing.

There is command:

wx.Window.InitBuffer()

There are no explanations in book, neither I have found something on http://docs.wxwidgets.org/.

What is it, and when someone should use it?

Thanks in advance,
Aigars

Sorry, my mistake.

The def code was further in example, I had not found.

Aigars

Quoting Aigars srad@inbox.lv:

ยทยทยท

Good day,

I am learnign wxPython by wxPython in action.

Came to example about device context drawing.

There is command:

wx.Window.InitBuffer()

There are no explanations in book, neither I have found something on http://docs.wxwidgets.org/.

What is it, and when someone should use it?

Thanks in advance,
Aigars