Re: Another tiny UI bug

From: Dave Page <dpage(at)pgadmin(dot)org>
To: Timwi <timwi(at)gmx(dot)net>
Cc: pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>
Subject: Re: Another tiny UI bug
Date: 2011-06-20 11:57:21
Message-ID: BANLkTimzLe1+qKHpFQg_8jdCXALx13VNOQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

On Mon, Jun 20, 2011 at 12:37 PM, Timwi <timwi(at)gmx(dot)net> wrote:
>
> Hi guys,
>
> Here’s another tiny UI thingie. Normally double-clicking on a parent node in
> a tree-view control expands/collapses it. PgAdmin III appears to ignore the
> double-click. I realise this is probably a problem with wxWidgets rather
> than pgAdmin itself, but you said I should report these things, so here you
> go :)

On Windows right? that was annoying me the other day too - thanks for
the reminder :-)

For some reason (I suspect, an old wxWidgets bug) the code that
handled the treeview double-clicks had:

#ifndef __WXMSW__
browser->Expand(item);
#endif

I've removed the #ifndef __WXMSW__, and it seems to work as one would
expect on Windows now (as it does on Mac).

--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

In response to

Browse pgadmin-hackers by date

  From Date Subject
Next Message Dave Page 2011-06-20 19:13:25 1.14 Branched
Previous Message Dave Page 2011-06-20 11:53:05 pgAdmin III commit: For some reason we prevented expansion of treeview