SVN Commit by dpage: r4552 - trunk/pgadmin3/src/frm

From: svn(at)pgadmin(dot)org
To: pgadmin-hackers(at)postgresql(dot)org
Subject: SVN Commit by dpage: r4552 - trunk/pgadmin3/src/frm
Date: 2005-10-17 10:27:50
Message-ID: 200510171027.j9HARoTJ000800@developer.pgadmin.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Author: dpage
Date: 2005-10-17 11:27:50 +0100 (Mon, 17 Oct 2005)
New Revision: 4552

Modified:
trunk/pgadmin3/src/frm/frmEditGrid.cpp
Log:
Fix the grid text editor on Mac so it's at least usable for 1.4. Will continue to try to figure out what's wrong with our editor but time is running short...

Modified: trunk/pgadmin3/src/frm/frmEditGrid.cpp
===================================================================
--- trunk/pgadmin3/src/frm/frmEditGrid.cpp 2005-10-17 07:51:10 UTC (rev 4551)
+++ trunk/pgadmin3/src/frm/frmEditGrid.cpp 2005-10-17 10:27:50 UTC (rev 4552)
@@ -1259,8 +1259,12 @@
columns[i].numeric = false;
columns[i].attr->SetReadOnly(false);
columns[i].needResize = true;
-// editor = new wxGridCellAutoWrapStringEditor();
+// Temorary fix for 1.4.0 - FIXME properly!!
+#ifdef __WXMAC__
+ editor = new wxGridCellAutoWrapStringEditor();
+#else
editor = new sqlGridTextEditor(true);
+#endif
break;
}
if (editor)

Browse pgadmin-hackers by date

  From Date Subject
Next Message Andreas Pflug 2005-10-17 10:56:52 Re: Edit grid sizing
Previous Message Dave Page 2005-10-17 08:56:58 Re: Edit grid sizing