I guess I didn't know that people wanted it. It's no problem for me to make it public.

The reason I made it private in the first place is that I want a more permanent API for this. One of the problems we had with FL is that sometimes the window size gets out of control (large), and then you redock the window, and 80% of your application is a docked window, and the remaining amount is your center pane. Not good.

So we had initially hard coded a fixed limitation of 30% of the window for a newly created dock. The user was then, of course, allowed to make it bigger. It turns out this limitation started to annoy with wxAuiNotebook.

The API I'd like to create would look something like this. SetMaxNewDockSize(0.3, 0.3). The parameters would specify a max percentage of the window for newly created docks. I just couldn't come to terms whether it was better to make a max # of pixels or a percentage, or both.

That's why it is the way it is now. Maybe you can tell me what you'd prefer.