Sorry for responding late, anyway I fixed it! Turns out that there was an error in defining event handlers. Anyway I have a different problem now. As I understood SFML, the 0, 0 position is of renderwindow is always a center. In the case of integration in wxWidgets this is apparently not the case. I drew a sprite just to see where it draws on screen, and no matter the size it drew in the bottom left corner. Tried to move the coordinates by 10 in each direction but (-10, -10; 10, -10; -10, 10; 10, 10) and the object was invisible in all four cases. So apparently I can't find a solution to this, I deducted that the positions might be relative so I was about to try something like 0.5, but I accidentally deleted the project a while before
So is there any way that I can change the position of 0, 0 to the center of component of RenderWindow, regardless of the Form's size.