The documentation for this issue is a little bit outdated, for WxWidgets 2.x and SFML 1.6
Following the same procedure, I got to make it work, but there seems to be a bug in Windows.cpp
The function is:
Vector2u Window::getSize() const
{
return m_size;
}
It should be:
Vector2u Window::getSize() const
{
return m_impl ? m_impl->getSize() : m_size;
}
Did someone else have the same problem ? When I placed a Sprite inside the WxControl, it was not scaled properly. After the change I suggest, everything seems to be ok.
Greetings