I have a simple program, with a edit box, the code for the edit box is below
tgui::EditBox::Ptr textbox = std::make_shared<tgui::EditBox>();
gui.add(textbox, "TextBox");
textbox->setPosition(50, 50);
textbox->setSize(200, 50);
textbox->connect("ReturnKeyPressed", dealWithTextEntered);
And I've been looking at all the available edit box signal information - such as the wiki and the examples, as well as the holy google - , and from what I've seen this should work fine, but it generates this error:
error C2338: Parameters passed to the connect function are wrong!
I bet I'm doing something really stupid.
Feel free to yell at me, or to ask for more information.