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