Re: Another tiny UI bug - Mailing list pgadmin-hackers

From Dave Page
Subject Re: Another tiny UI bug
Date
Msg-id BANLkTimzLe1+qKHpFQg_8jdCXALx13VNOQ@mail.gmail.com
Whole thread Raw
In response to Another tiny UI bug  (Timwi <timwi@gmx.net>)
List pgadmin-hackers
On Mon, Jun 20, 2011 at 12:37 PM, Timwi <timwi@gmx.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

pgadmin-hackers by date:

Previous
From: Dave Page
Date:
Subject: pgAdmin III commit: For some reason we prevented expansion of treeview
Next
From: Dave Page
Date:
Subject: 1.14 Branched