[ wxwindows-Bugs-1885358 ] EVT_ICONIZE not triggered by Iconize()
call after Show()
SourceForge.net
noreply at sourceforge.net
Thu Feb 7 15:13:02 PST 2008
Bugs item #1885358, was opened at 2008-02-02 19:03
Message generated for change (Comment added) made by exsecant
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=109863&aid=1885358&group_id=9863
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: wxMSW specific
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Andy (exsecant)
Assigned to: Nobody/Anonymous (nobody)
Summary: EVT_ICONIZE not triggered by Iconize() call after Show()
Initial Comment:
Calling Iconize() (with a true or false parameter) on a previously hidden wxFrame after Show() has been called will fail to generate an EVT_ICONIZE event on Windows.
eg.
Iconize(true); // Generates an EVT_ICONIZE event
Hide();
Show();
Iconize(false); // The window is restored but EVT_ICONIZE is not triggered under wxMSW
Tested on two WinXP machines both using wxWidgets-2.8.7.1 (Unicode Release build).
Everything behaves correctly under wxGTK.
Demo app attached if you need a working example.
----------------------------------------------------------------------
>Comment By: Andy (exsecant)
Date: 2008-02-07 23:13
Message:
Logged In: YES
user_id=1872731
Originator: YES
That should of course say "wxWidgets-2.8.7", not "2.8.7.1" (although
naturally this bug is also present when using wxPython 2.8.7.1).
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=109863&aid=1885358&group_id=9863
More information about the wx-dev
mailing list