Dave Page wrote:



-----Original Message-----
From: Andreas Pflug [mailto:[EMAIL PROTECTED] Sent: 10 October 2004 21:16
To: Dave Page
Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: [pgadmin-support] Function editor


Dave Page wrote:


In previous apps like pgAdmin II I overcame this problem by only saving the size/position if the form is normalised. If minimised or maximised then I simply didn't bother writing the new sizes. Any reason this will not work in the pga3 code?

- There's no facility for that in wx


wxTopLevelWindow::IsIconized
wxTopLevelWindow::IsMaximized

Both wxFrame and wxDialog are derived from wxTopLevelWindow. Any reason
these cannot be used?

You discussed yourself it's not easily done in dlgProperty.
wxFrame does handle sizes correctly (frmMain etc, still has the maximize button), wxDlg not. I won't spent a second to find out why.


Regards,
Andreas

---------------------------(end of broadcast)---------------------------
TIP 8: explain analyze is your friend

Reply via email to