WxWidgets uses LGPL which means you can dynamically link to it in your project, without it forcing your project to be GPL or LGPL.
However, I suggest using CEGUI instead of the libraries you suggested, for any game or rendering application
CEGUI uses the MIT license which is less strict than LGPL and also allows you to link to the library dynamically (preferred) or statically, both without forcing you to have a specific license for your own project.
- Supports OpenGL 3.2+ Core Profile (OpenGL3 Renderer)
- Supports very old OpenGL versions (OpenGL Renderer)
- If you want to use Ogre or Irrlicht engine, which can also rely on OpenGL, CEGUI also supports these two renderers via the CEGUIOgreRenderer and CEGUIIrrlichtRenderer
- Ssupports Windows, Linux and Mac OS X, just as you want
- Because someone asked in the comments: Unicode characters are fully supported so that
you can use Hebrew, Arabic, all sort of Asian alphabets, etc, as shown in the current Font Demo - of course you need to install either one of the CEGUI fonts or use another Open Source Font
- Was specifically designed for games, simulation and rendering applications
- You can skin all elements in the UI (currently only via XML, soon also using an editor)
- Provides a powerful editor (CEED) for layout editing with WYSIWYG (!) for free!
- Is fully extendable and adaptive via changes in C++ code and/or XML
- Powerful Event System
It might take a bit to set CEGUI and its dependencies up and get it to run with your project but it will still pay off on the long run because it has a lot more features than most free solutions for UI. Imagine how annoying it would be if you used an UI library and then found out it does not provide a specific feature you need and that it would be almost impossible to add this - because CEGUI is based on C++ and XML and because of its design, you can always add specific adjustments to CEGUI. So you will most likely not run into limitations even on the long run. Also it already has a lot of features out of the box - more than comparable libraries.