Re: Change in wxPersistentRegisterAndRestore behaviour with wxAui
jon bird <[email protected]> Sat, 8 Nov 2025 16:30:22 +0000
| Newsgroups | gmane.comp.lib.wxwindows.general |
|---|---|
| Organization | OnAStickSoftware |
| Message-ID | <[email protected]> |
On Sat, 8 Nov 2025 15:15:04 +0100 Vadim Zeitlin <[email protected]> wrote: > On Sat, 8 Nov 2025 09:56:36 +0000 jon bird wrote: > > jb> However if I call SetSize with a figure that is less than this > jb> minimum size, this seems to be ignored in 3.3.1 and it always > jb> uses it's own pre-determined size. Whereas in 3.2.x (and > jb> earlier), I could reduce the window size. > > Which window exactly do you call SetSize() on? > > Regards, > VZ > Take a look at this picture: https://www.onasticksoftware.co.uk/images/playout4_2018-09-07_10-02-09.png There are 3 aui panels, those 2 strips of buttons on each side & everything else in the middle one. The width of those button strips can of course be adjusted by the user, the desired behaviour is that the width is then preserved between sessions. Those button strips are pretty simple - literally a wxFrame with a wxBoxSizer holding the buttons (and a wxGridSizer for the two at the bottom). When the app closes, I call GetSize on each of the wxFrames & save the width. When it starts up, I call SetSize (as described in my previous mail) on them, specifying the previously saved width. Rgs, Jon. -- -- == jon bird - software engineer == <reply to address _may_ be invalid, real mail below> == <reduce rsi, stop using the shift key> == posted as: news 'at' onasticksoftware 'dot' co 'dot' uk -- Please read https://www.wxwidgets.org/support/mlhowto.htm before posting. --- You received this message because you are subscribed to the Google Groups "wx-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion visit https://groups.google.com/d/msgid/wx-users/20251108163022.65a79913%40lapdog.onasticksoftware.net.