fix initialization orders (pedantic)

Originally committed to SVN as r14.
This commit is contained in:
David Lamparter 2006-01-19 10:35:04 +00:00
parent 2abf229414
commit e72d2c9f94
2 changed files with 3 additions and 3 deletions

View File

@ -45,7 +45,7 @@
AutomationScriptThread::AutomationScriptThread(AutomationScript *a_script, AssFile *a_subs)
: wxThread(wxTHREAD_JOINABLE), subs(a_subs), script(a_script)
: wxThread(wxTHREAD_JOINABLE), script(a_script), subs(a_subs)
{
Create();
}

View File

@ -47,7 +47,7 @@
ColorPickerSpectrum::ColorPickerSpectrum(wxWindow *parent, wxWindowID id, wxBitmap *_background, int xx, int yy, PickerDirection _direction)
: wxControl(parent, id, wxDefaultPosition, wxDefaultSize, wxSTATIC_BORDER), background(_background), x(xx), y(yy), direction(_direction)
: wxControl(parent, id, wxDefaultPosition, wxDefaultSize, wxSTATIC_BORDER), x(xx), y(yy), background(_background), direction(_direction)
{
// empty
}
@ -150,7 +150,7 @@ void ColorPickerSpectrum::OnMouse(wxMouseEvent &evt)
ColorPickerRecent::ColorPickerRecent(wxWindow *parent, wxWindowID id, wxSize size, int _cols, int _rows)
: wxControl(parent, id, wxDefaultPosition, size, wxSTATIC_BORDER), cols(_cols), rows(_rows)
: wxControl(parent, id, wxDefaultPosition, size, wxSTATIC_BORDER), rows(_rows), cols(_cols)
{
LoadFromString(wxEmptyString);
}