SVN Commit by dpage: r4552 - trunk/pgadmin3/src/frm
SVN Commit by dpage: r4552 - trunk/pgadmin3/src/frm
От:
svn@pgadmin.org
Дата:
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)