samples/mfc: disable composition to allow wxClientDC to work
This commit is contained in:
parent
6b1683757f
commit
6ab144f9bf
1 changed files with 1 additions and 0 deletions
|
|
@ -297,6 +297,7 @@ wxEND_EVENT_TABLE()
|
|||
MyCanvas::MyCanvas(wxWindow *parent, const wxPoint& pos, const wxSize& size)
|
||||
: wxScrolledWindow(parent, -1, pos, size)
|
||||
{
|
||||
MSWDisableComposited();
|
||||
}
|
||||
|
||||
// Define the repainting behaviour
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue