Do you have a typical platform dependent issue you're battling with ? Ask it here. Make sure you mention your platform, compiler, and wxWidgets version.
Hi everyone. I'm developing a gui app for windows/linux. I have multiple frames and i switch between them with the Idle event.
The questions is: on windows, when I do
then I get my frame fullscreen, instead in linux it doesn't float over the task bar and the bar with the program names.
How to solve this?
(Windows 10 - Linux 16 GTK3+, wxWidgets 3.0.1 )
Hi ONEEYEMAN,
GTK: gtk+3.0 Version: 3.18.9-1ubuntu3.3
Im running Ubuntu 16.04 (with unity, the default one)
wxWidgets version: 3.0.3
Does this help?
I noticed that even trying a super simple example (derive wxFrame, create wxApp, override OnInit and show the frame with wxFrame.ShowFullscreen(true)...) doesn't work: the bar on the left (with the icons) and the menu bar at the top stay there.
The problem was a combination of two things (or at least this is what I found):
- hintSize
At the start of the frame, I would always set the size like this, made by default by wxFormBuilder, commented out.
- style = 0
The style for the frame was set to 0, changed to wxDEFAULT_FRAME_STYLE.
With these two fixes now fullscreen works as expected, thanks!