fixed some compiler warnings, thanks to vonHalenbach-de for pointing them out

This commit is contained in:
Mark de Wever 2007-02-21 20:17:57 +00:00
parent 051b6958fa
commit 50c3115464

View file

@ -23,17 +23,17 @@ namespace {
namespace gui {
widget::widget(const widget &o)
: events::handler(), video_(o.video_), restorer_(o.restorer_), rect_(o.rect_),
focus_(o.focus_), needs_restore_(o.needs_restore_), state_(o.state_), hidden_override_(o.hidden_override_),
: events::handler(), focus_(o.focus_), video_(o.video_), restorer_(o.restorer_), rect_(o.rect_),
needs_restore_(o.needs_restore_), state_(o.state_), hidden_override_(o.hidden_override_),
enabled_(o.enabled_), clip_(o.clip_), clip_rect_(o.clip_rect_), volatile_(o.volatile_),
help_text_(o.help_text_), help_string_(o.help_string_), align_(o.align_), id_(o.id_)
{
}
widget::widget(CVideo& video, const bool auto_join)
: handler(auto_join), video_(&video), rect_(EmptyRect), focus_(true), needs_restore_(false),
state_(UNINIT), hidden_override_(false), enabled_(true), clip_(false), volatile_(false),
help_string_(0), align_(RIGHT_ALIGN), id_()
: handler(auto_join), focus_(true), video_(&video), rect_(EmptyRect), needs_restore_(false),
state_(UNINIT), hidden_override_(false), enabled_(true), clip_(false),
clip_rect_(EmptyRect), volatile_(false), help_string_(0), align_(RIGHT_ALIGN)
{
}