wxFrame Minimum Size on Load

If you are using the main C++ distribution of wxWidgets, Feel free to ask any question related to wxWidgets development here. This means questions regarding to C++ and wxWidgets, not compile problems.
Post Reply
Lowkus
Experienced Solver
Experienced Solver
Posts: 61
Joined: Sun May 01, 2016 2:48 am

wxFrame Minimum Size on Load

Post by Lowkus »

When I load a window, the window is loaded at a size that is smaller than the wxFrame minimum size dimensions. After the window has loaded, if I use the mouse to resize the window, even just slightly, the window size is automatically enlarged to be larger than the wxFrame minimum size.

How should I design the code (are there common functions for it?) so that the window opens with dimensions that obey the wxFrame dimension restrictions? I am assigning the wxFrame minwidth/minheight using wxSmith, if that matters.
Lowkus
Experienced Solver
Experienced Solver
Posts: 61
Joined: Sun May 01, 2016 2:48 am

Re: wxFrame Minimum Size on Load

Post by Lowkus »

Never mind, I just had to set the wxFrame default size to something larger than the minimum size.
Post Reply