Share

wxWidgets

Tracker: Patches

5 [wxMac 2.6.0] -Fix- Maximize() bug - ID: 1203976
Last Update: Comment added ( csomor )


wxMac carbon:

When you call Maximize(true) and then Maximize(false)
the window should come back to the position where it
was located when Maximize(true) was called; but the
window goes to the top left position so the window's
title bar is not visible (because it is under the menu)
OR it goes to last saved user state and not to the
position where it was located when Maximize(true) was
called.

It is happening because the user state is not saved
before calling ZoomWindow. This is documented in Apple
Reference Library: "If the part code is inZoomOut, your
application ordinarily calculates and sets the standard
state before calling ZoomWindow."

Proper saving of the user state is required or it will
not know the windows position and size when ZoomWindow
with inZoomIn is called.


Milan Kupcevic ( micok ) - 2005-05-17 23:09

5

Closed

Fixed

Stefan Csomor

Mac specific

bug fix

Public


Comments ( 3 )

Date: 2005-05-19 05:39
Sender: csomorAccepting Donations

Logged In: YES
user_id=81467

perfect, thanks a lot

Stefan


Date: 2005-05-18 17:24
Sender: micok

Logged In: YES
user_id=706484


Described problems are different but related.

I have attached a new patch that fixes the 1114381 bug also.




Date: 2005-05-18 07:21
Sender: ghazel

Logged In: YES
user_id=731668

Is this patch related to this bug?

http://sourceforge.net/tracker/index.php?
func=detail&aid=1114381&group_id=9863&atid=109863


Attached File ( 1 )

Filename Description Download
wxMAC-2.6+-ZoomWindow_2.patch Fixes bug 1114381 bug also Download

Changes ( 6 )

Field Old Value Date By
status_id Open 2005-05-19 05:39 csomor
resolution_id None 2005-05-19 05:39 csomor
close_date - 2005-05-19 05:39 csomor
File Added 135037: wxMAC-2.6+-ZoomWindow_2.patch 2005-05-18 17:24 micok
File Deleted 134915: 2005-05-18 17:14 micok
File Added 134915: wxMAC-2.6+-ZoomWindow.patch 2005-05-17 23:09 micok