[wxPython 2.8.3.0 on Mac OS 10.4.11] What exactly is OVERWRITE_PROMPT supposed to do?

David.Goldsmith David.L.Goldsmith at noaa.gov
Fri Dec 7 12:10:14 PST 2007


OK, thanks for checking, I'll look for more clues at my end (starting w/ 
making sure the demo works "as advertised").

DG

Stefan Csomor wrote:
> Hi
>
> also wxPython demo as of 2.8.7.1 works correctly, oring the 
> wx.OVERWRITE_PROMPT to the wx.SAVE flag gives the correct replacement 
> warning.
>
> Best,
>
> Stefan
>
> Stefan Csomor wrote:
>> Hi
>>
>> I've just tested with the c++ dialog sample in 2.8 branch, everything 
>> is working as it should, having the OVERWRITE_PROMPT gives a 
>> Cancel/Replace dialog, without it, it just gets the filename and 
>> there is no 'confirmation dialog'
>>
>> I'll have a look at the wxPython version
>>
>> Best,
>>
>> Stefan
>>
>>
>>
>> Stefan Csomor wrote:
>>> Hi David
>>>
>>> David.Goldsmith wrote:
>>>> Vadim Zeitlin wrote:
>>>>> On Wed, 05 Dec 2007 20:19:11 -0800 "David.Goldsmith" 
>>>>> <David.L.Goldsmith at noaa.gov> wrote:
>>>>>
>>>>> D> What exactly is wx.OVERWRITE_PROMPT supposed to do
>>>>>
>>>>>  It's supposed to show a confirmation prompt if you select the 
>>>>> name of an
>>>>> existing file. I don't think this is implemented under Mac 
>>>> Why wouldn't it be?  (I know us Mac users are smarter ;-), but not 
>>>> necessarily any less error-prone.)
>>> what Vadim probably meant, was the fact that, that it would always 
>>> be shown in case of an existing filename, but I've also implemented 
>>> the 'kNavDontConfirmReplacement' in the case this flag is not set. 
>>> But it's a long time since I've last tested these flags, so I'll do 
>>> that again now and report back (note also that the 'hidden' 
>>> extension feature is a source for files looking the same in the 
>>> finder, but not having the same filename)
>>>
>>> Thanks,
>>>
>>> Stefan
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: wx-users-unsubscribe at lists.wxwidgets.org
>>> For additional commands, e-mail: wx-users-help at lists.wxwidgets.org
>>>
>>
>





More information about the wx-users mailing list