Lines Matching refs:canvas
381 // Only if we're _really_ a canvas (not a dialog box/panel)
849 // Adjusting scrollbars can resize the canvas accidentally
1106 wxCanvas *canvas = (wxCanvas *) this;
1107 deviceX = canvas->GetDC ()->LogicalToDeviceX (x);
1108 deviceY = canvas->GetDC ()->LogicalToDeviceY (y);
1961 wxWindow *canvas = wxGetWindowFromTable(drawingArea);
1964 if (canvas==NULL)
1979 if (wxTranslateMouseEvent(wxevent, canvas, drawingArea, xevent))
1981 canvas->GetEventHandler()->ProcessEvent(wxevent);
1988 if (wxTranslateKeyEvent (event, canvas, (Widget) 0, xevent))
1991 wxWindow *parent = canvas;
2007 if (!canvas->GetEventHandler()->ProcessEvent (event))
2010 canvas->GetEventHandler()->ProcessEvent (event);
2018 if (wxTranslateKeyEvent (event, canvas, (Widget) 0, xevent))
2020 canvas->GetEventHandler()->ProcessEvent (event);
2028 wxFocusEvent event(wxEVT_SET_FOCUS, canvas->GetId());
2029 event.SetEventObject(canvas);
2030 canvas->GetEventHandler()->ProcessEvent(event);
2038 wxFocusEvent event(wxEVT_KILL_FOCUS, canvas->GetId());
2039 event.SetEventObject(canvas);
2040 canvas->GetEventHandler()->ProcessEvent(event);