Fixed compilation warning

This commit is contained in:
Xawotihs@gmail.com
2012-01-29 17:20:53 +00:00
parent 05e3c350b3
commit 4db47dcbd6

View File

@@ -19,7 +19,7 @@ SimpleButton::SimpleButton(int id): JGuiObject(id)
}
SimpleButton::SimpleButton(JGuiController* _parent, int id, int fontId, string text, float x, float y, bool hasFocus, bool autoTranslate) :
JGuiObject(id), parent(_parent), mX(x), mY(y), mFontId(fontId)
JGuiObject(id), mX(x), mY(y), parent(_parent), mFontId(fontId)
{
mYOffset = 0;
if (autoTranslate)