CreateBase(parent, id, pos, size, style, wxDefaultValidator, name);
parent->AddChild(this);
CreateBase(parent, id, pos, size, style, wxDefaultValidator, name);
parent->AddChild(this);
wxEraseEvent erase_event( GetId(), &dc );
erase_event.SetEventObject( this );
wxEraseEvent erase_event( GetId(), &dc );
erase_event.SetEventObject( this );
// This calls the UI-update mechanism (querying windows for
// menu/toolbar/control state information)
// This calls the UI-update mechanism (querying windows for
// menu/toolbar/control state information)
// TranslateXXXEvent() functions
// ----------------------------------------------------------------------------
// TranslateXXXEvent() functions
// ----------------------------------------------------------------------------
-bool wxTranslateMouseEvent(wxMouseEvent& wxevent, wxWindow *win, Window window, XEvent *xevent)
+bool wxTranslateMouseEvent(wxMouseEvent& wxevent,
+ wxWindow *win,
+ Window WXUNUSED(window),
+ XEvent *xevent)