frmQueryBuilder.cpp.patch

Поиск
Список
Период
Сортировка
Искать

frmQueryBuilder.cpp.patch

От:
"Adam H. Pendleton" <fmonkey@fmonkey.net>
Дата:
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;
 }
 
 

Re: frmQueryBuilder.cpp.patch

От:
"Dave Page" <dpage@vale-housing.co.uk>
Дата:
Thanks, patch applied.

Regards, Dave.

> -----Original Message-----
> From: Adam H. Pendleton [mailto:fmonkey@fmonkey.net] 
> Sent: 26 June 2003 19:24
> To: pgadmin-hackers@postgresql.org
> 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
> 
> 
FAQ