SVN Commit by dpage: r4552 - trunk/pgadmin3/src/frm - Mailing list pgadmin-hackers

From [email protected]
Subject SVN Commit by dpage: r4552 - trunk/pgadmin3/src/frm
Date
Msg-id [email protected]
Whole thread Raw
List 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
oureditor 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)


pgadmin-hackers by date:

Previous
From: [email protected]
Date:
Subject: SVN Commit by dpage: r4548 - in trunk/pgadmin3: . src/base
Next
From: "Dave Page"
Date:
Subject: Re: Edit grid sizing