| From: | svn(at)pgadmin(dot)org |
|---|---|
| To: | pgadmin-hackers(at)postgresql(dot)org |
| Subject: | SVN Commit by andreas: r4835 - trunk/pgadmin3/src/schema |
| Date: | 2005-12-11 22:01:20 |
| Message-ID: | 200512112201.jBBM1KbV004249@developer.pgadmin.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgadmin-hackers |
Author: andreas
Date: 2005-12-11 22:01:08 +0000 (Sun, 11 Dec 2005)
New Revision: 4835
Modified:
trunk/pgadmin3/src/schema/pgObject.cpp
Log:
wxASSERT fix
Modified: trunk/pgadmin3/src/schema/pgObject.cpp
===================================================================
--- trunk/pgadmin3/src/schema/pgObject.cpp 2005-12-11 22:00:51 UTC (rev 4834)
+++ trunk/pgadmin3/src/schema/pgObject.cpp 2005-12-11 22:01:08 UTC (rev 4835)
@@ -162,7 +162,7 @@
bool pgObject::UpdateIcon(ctlTree *browser)
{
int icon=GetIconId();
- if (browser->GetItemImage(GetId(), wxTreeItemIcon_Normal) != icon)
+ if (GetId() && browser->GetItemImage(GetId(), wxTreeItemIcon_Normal) != icon)
{
browser->SetItemImage(GetId(), GetIconId(), wxTreeItemIcon_Normal);
browser->SetItemImage(GetId(), GetIconId(), wxTreeItemIcon_Selected);
| From | Date | Subject | |
|---|---|---|---|
| Next Message | svn | 2005-12-11 22:16:17 | SVN Commit by andreas: r4836 - in branches/REL-1_4_0_PATCHES/pgadmin3/src: include/ctl slony slony/include |
| Previous Message | svn | 2005-12-11 22:00:53 | SVN Commit by andreas: r4834 - branches/REL-1_4_0_PATCHES/pgadmin3/src/schema |