frmQueryBuilder.cpp.patch - Mailing list pgadmin-hackers

From Adam H. Pendleton
Subject frmQueryBuilder.cpp.patch
Date
Msg-id 3EFB3A2D.3050009@fmonkey.net
Whole thread Raw
List pgadmin-hackers
Here is a patch that fixes bug #2 in QB.  I have, of course, encountered
another fatal bug right away :-(, but at least here's another one down.
This code actually overcomes a problem with the wxWindows code, not our
own, per se, but until it is fixed  in wx (I have notified them of the
problem), this will have to do.

ahp

--- pgadmin3/src/ui/frmQueryBuilder.cpp    2003-06-26 05:38:24.000000000 -0400
+++ pgadmin3.new/src/ui/frmQueryBuilder.cpp    2003-06-26 14:05:53.000000000 -0400
@@ -299,8 +299,10 @@
 ////////////////////////////////////////////////////////////////////////////////
 wxMDIClientWindow* frmQueryBuilder::OnCreateClient()
 {
-    myClientWindow *tmpwin = new myClientWindow();
-    return tmpwin;
+    m_clientWindow = new myClientWindow();
+    return m_clientWindow;
+//    myClientWindow *tmpwin = new myClientWindow();
+//    return tmpwin;
 }



pgadmin-hackers by date:

Previous
From: "Dave Page"
Date:
Subject: Re: wxWindows Build
Next
From: "Dave Page"
Date:
Subject: Re: frmQueryBuilder.cpp.patch