I'm getting this error when I run make on the SooperLooper 1.7.8 source code:
I installed wxWidgets compiled for gtk2 as suggested, so I'm not sure what's going on here. I looked on the WxWiki and I found something about SetVirtualSizeHints being deprecated:main_panel.cpp: In member function ‘void SooperLooperGui::MainPanel::init_loopers(int)’:
main_panel.cpp:471:28: error: ‘class wxScrolledWindow’ has no member named ‘SetVirtualSizeHints’; did you mean ‘SetVirtualSize’?
471 | _scroller->SetVirtualSizeHints (bestsz.GetWidth(), -1);
| ^~~~~~~~~~~~~~~~~~~
| SetVirtualSize
make[3]: *** [Makefile:480: main_panel.o] Error 1
I tried changing the first instance of SetVirtualSizeHints, and the next instance threw an error too. I installed wxWidgets-3.2.1. Is this the wrong version?void wxSizer::SetVirtualSizeHints ( wxWindow * window )
Tell the sizer to set the minimal size of the window virtual area to match the sizer's minimal size.
For windows with managed scrollbars this will set them appropriately.
Deprecated:
This is exactly the same as FitInside() in wxWidgets 2.9 and later, please replace calls to it with FitInside().
See also
wxScrolled::SetScrollbars()
Let me know and thanks!