If I add a ListBox like this, I end up with a crash upon calling tgui::Gui::draw()
tgui::ListBox::Ptr textures_listBox(gui,"Textures List");
textures_listBox->load("graphics/gui/Black.conf"); // Load is returning true
sf::Vector2i screenSize(sf::VideoMode::getDesktopMode().width,sf::VideoMode::getDesktopMode().height);
textures_listBox->setPosition(screenSize.x - 200, 0);
textures_listBox->setSize(200,screenSize.y);
textures_listBox->addItem("Test Item");
Tgui version 0.6
SFML Version, the one shipped with this version of Tgui
IDE - Visual Studio 2012
The gui has a window set to it
load("graphics/gui/Black.conf") is returning true
All other widgets I use are working fine, it's just ListBox that doesn't seem to behave.
When it reaches gui.draw(), I get this
Unhandled exception at 0x5DA942EF (sfml-graphics-2.dll) in Aeldyr Editor.exe: 0xC0000005: Access violation reading location 0x4491C004.
I apologize, I'd have done a bit more research on this but there's very little documentation for ListBox. I've tried a variety of things and I keep getting this access error.