10 Jun
2008
10 Jun
'08
7:10 p.m.
On Tue, Jun 10, 2008 at 03:27:11PM +0100, Jeremy Henty wrote:
Two patches here.
The first patch turns DilloHtmlSelect and DilloHtmlOption into classes and implements their constructors and destructors. It also makes DilloHtmlInput::DilloHtmlInput() responsible for creating the select object if necessary (as determined by examining the input type) and removes the select argumentfrom DilloHtmlInput::DilloHtmlInput() and DilloHtmlForm::addInput() .
Committed.
The second patch is a small followup that simplifies select handling elsewhere: instead of checking the input type we check if the input's select is non-NULL.
Not committed. The canonical way is more orthogonal. -- Cheers Jorge.-