On Wed, Jul 6, 2011 at 3:13 AM, Josh Berkus <josh@agliodbs.com> wrote:
>
>> Spent a couple of hours(!) trying to figure this out, and no joy so
>> far. It appears that wxTopLevelWindow::IsActive() doesn't work when
>> wxAuiNotebooks are in use, but I haven't figured out why yet.
>
> Odd, it worked perfectly in 1.12. Well, it worked OK.
Yeah, but that version didn't use wxAuiNotebooks there. I've committed
a change which should at least fire the alert when the window is
minimised, but I've yet to find a full workaround for the IsActive()
failure.
I also notice that even with 1.12, the alert only seems to fire once.
That seems to be a wxWidgets issue.
Further investigation needed, but not today.
--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake
EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company