Bug #150: fixed ignoring $checkTheme param in CWidget.

Issue #150