What version of wxWidgets are you using?
Edit: In theory wxWidgets 3.2 supports Wayland; but, the versions before that all had problems.
Edit2: I am primary a Windows CB user, so, I have no idea which desktop and related items are best under Linux.
My info is all about 5 years old about Linux; so, best not to comment on it.
Tim S.