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;
}