Hm, odd still.
I would expect that CB and wxTreeCtrl would look the same if they use the same wxWidgets libs.
Is this the case from the image above?
gtk2 vs gtk3 differences are expected.
C::B is installed from ubuntu repository, and I guess that is dependent on repository wx *.so libs.
The wxTreeCtrl sample was built from the samples directory of my static libs wxWidgets with gtk2.
/usr/local/bin/wx-config --list
Default config is gtk2-unicode-static-3.0So I did a little bit of research on how to build the wxTreeCtrl sample against the same wxWidgets libs as C::B.
I did :
sudo apt install libwxgtk3.0-gtk3-dev
/usr/bin/wx-config --list
Default config is gtk3-unicode-3.0Then copied sample wxtreectrl to wxtreectrl2 and I changed a line in makefile.unx to
# Location and arguments of wx-config script
WX_CONFIG ?= /usr/bin/wx-configThen did
make -f makefile.unx The attached screenshot shows (from left)
1 wxTreeCtrl sample built with gtk2-unicode-static-3.0
2 wxTreeCtrl sample built with gtk3-unicode-3.0
3 My dep3 app showing that #2 depends on the repository wx libs (*.so) presumably the same as C::B
It is obvious that the tree view sample font is different from gtk2 to gtk3, the font size is smaller in the gtk3 version, which to me is a problem.
So it seems to me to be a gtk3 problem...