Example was not updated in last commit
parent
5f62cae07c
commit
6284edc7c8
|
@ -65,7 +65,7 @@ void loadWidgets( tgui::Gui& gui )
|
|||
gui.add(button);
|
||||
|
||||
// Call the login function when the button is pressed and pass the edit boxes that we created as parameters
|
||||
button->onPress->connect([=]{ login(editBoxUsername, editBoxPassword); });
|
||||
button->onPress.connect([=]{ login(editBoxUsername, editBoxPassword); });
|
||||
}
|
||||
|
||||
int main()
|
||||
|
|
Loading…
Reference in New Issue