I use wxGTK 3.1.14 on Fedora with Code::blocks 20.3.
I can't detect the rectangle of the Desktop, because the following variants do not consider the Taskbar.
1)
Code: Select all
wxDisplay display((unsigned int)0);
wxRect r=display.GetClientArea();
Code: Select all
wxRect r=wxGetClientDisplayRect();
The code "frame->Maximize()" does not work. And style wxMAXIMIZE for wxFrame is ignored too.On Windows this means the area not covered by the taskbar, etc. Other platforms are currently defaulting to the whole display until a way is found to provide this info for all window managers, etc.
But I have no any problems on Windows with these functions.
How to deside this problem on Linux ?