Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: debugview on October 23, 2020, 10:09:01 am

Title: How can I disable a wxFrame from being resized by the user on the debian os
Post by: debugview on October 23, 2020, 10:09:01 am

How can I disable a wxFrame from being resized by the user on the debian os? the same code compiled on the centos is run well.

I set the wxFrame's style wxCLOSE_BOX | wxRESIZE_BORDER, but it's still can resized by mouse

it is so strange
Title: Re: How can I disable a wxFrame from being resized by the user on the debian os
Post by: Miguel Gimenez on October 23, 2020, 11:28:09 am
If you specify wxRESIZE_BORDER style then you are asking explicitly for a resizeable frame. Anyway, this is OT here; please ask in the wxWidgets forum at https://forums.wxwidgets.org/ (https://forums.wxwidgets.org/)