fix ui_document_new creating a wrong self_doc ptr

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 -3 +3 +10 +30 tip

mercurial