Re: [pgadmin-hackers] frmQueryBuilder.cpp.patch

2003-06-27 Thread Dave Page
Thanks, patch applied.

Regards, Dave.

> -Original Message-
> From: Adam H. Pendleton [mailto:[EMAIL PROTECTED] 
> Sent: 26 June 2003 19:24
> To: [EMAIL PROTECTED]
> Subject: [pgadmin-hackers] frmQueryBuilder.cpp.patch
> 
> 
> 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
> 
> 

---(end of broadcast)---
TIP 5: Have you checked our extensive FAQ?

   http://www.postgresql.org/docs/faqs/FAQ.html


[pgadmin-hackers] frmQueryBuilder.cpp.patch

2003-06-26 Thread Adam H. Pendleton
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.0 -0400
+++ pgadmin3.new/src/ui/frmQueryBuilder.cpp 2003-06-26 14:05:53.0 -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;
 }
 
 

---(end of broadcast)---
TIP 3: if posting/reading through Usenet, please send an appropriate
  subscribe-nomail command to [EMAIL PROTECTED] so that your
  message can get through to the mailing list cleanly