+ // clears the window and sets default parameters:
+ void Clear(int family = wxROMAN, int size=12, int style=wxNORMAL, int weight=wxNORMAL,
+ int underline=0, char const *fg="black", char const
+ *bg="white")
+ {
+ GetLayoutList().Clear(family,size,style,weight,underline,fg,bg);
+ SetBackgroundColour( *GetLayoutList().GetDefaults()->GetBGColour());
+ }
+
+ // callbacks
+ // NB: these functions are used as event handlers and must not be virtual
+ //void OnDraw(wxDC &dc);