fix ui/widget.h in case no specific toolkit is used (UI_GENERIC)

allow usage of toolkit.h without defining a specific UI toolkit

(0) -1000 -300 -100 -30 -10 -2 +2 +10 +30 tip

mercurial