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