On 16/11/05 10:13 pm, "Andreas Pflug" <[EMAIL PROTECTED]> wrote:
> [EMAIL PROTECTED] wrote:
>
>> Author: dpage
>> Date: 2005-11-16 21:57:28 +0000 (Wed, 16 Nov 2005)
>> New Revision: 4744
>>
>> Modified:
>> trunk/pgadmin3/src/ctl/ctlSQLBox.cpp
>> trunk/pgadmin3/src/include/ctl/ctlSQLBox.h
>> Log:
>> Swap between Find/Replace dialogues correctly on non-windows platforms
>> properly. Looks like we might have to live with slightly odd behaviour on
>> Windows due to the design of wx :-(
>>
>>
>
> Hu, slightly odd? Isn't this crashing for you? It did for me, since
> apparently there are messages stuck in the msg queue that aren't
> removable even by Yield.
It shouldn't crash on Windows (can't test ATM) because the changes are all
#ifndef __WXMSW__. On Unix, wx derives the find/replace dialgue from
wxWindows so it can be easily destroyed and recreated in the other form. On
Windows that's not the case, and basically you can't fully kill off a
dialogue except by pressing a button on it :-(
Regards, Dave
---------------------------(end of broadcast)---------------------------
TIP 5: don't forget to increase your free space map settings