- void InsertChild(wxWindow *child) { (*m_insertCallback)(this, child); }
- void DoAddChild(wxWindow *child) { AddChild(child); InsertChild(child); }
-
- /* the methods below are required because many native widgets
- are composed of several subwidgets and setting a style for
- the widget means setting it for all subwidgets as well.
- also, it is nor clear, which native widget is the top
- widget where (most of) the input goes. even tooltips have
- to be applied to all subwidgets. */
-
+ // Internal addition of child windows. differs from class
+ // to class not by using virtual functions but by using
+ // the m_insertCallback.
+ void DoAddChild(wxWindowGTK *child);
+
+ // This methods sends wxPaintEvents to the window. It reads the
+ // update region, breaks it up into rects and sends an event
+ // for each rect. It is also responsible for background erase
+ // events and NC paint events. It is called from "draw" and
+ // "expose" handlers as well as from ::Update()
+ void GtkSendPaintEvents();
+
+ // The methods below are required because many native widgets
+ // are composed of several subwidgets and setting a style for
+ // the widget means setting it for all subwidgets as well.
+ // also, it is nor clear, which native widget is the top
+ // widget where (most of) the input goes. even tooltips have
+ // to be applied to all subwidgets.