wxWidgets/include/wx
Julian Smart df41317113 Applied patch [ 649590 ] fixes bug 611264: wxFileDialog entry
In bug 611264 I reported that typing a filename into a
multiple selection file dialog failed. The file
returned was "..".

I discovered that this was because the previous
directory folder came up automatically selected when
the dialog was created. Then, I discovered a related
bug. If any file or folder was selected, then that was
the file which was returned regardless of what was
typed in.

To fix the problem I added an EVT_TEXT handler which
deselects everything that is selected when the user
types. The handler does not deselect anything unless
the user actually types something.

This patch implements the fix.

John Skiff


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18144 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-09 10:44:13 +00:00
..
generic Applied patch [ 649590 ] fixes bug 611264: wxFileDialog entry 2002-12-09 10:44:13 +00:00
gtk merged 2.4 branch into the trunk 2002-12-04 14:11:26 +00:00
gtk1 merged 2.4 branch into the trunk 2002-12-04 14:11:26 +00:00
html Added missing AddBook 2002-12-09 09:15:22 +00:00
mac merged 2.4 branch into the trunk 2002-12-04 14:11:26 +00:00
mgl disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
motif Refactored & cleaned up wxChoice & wxComboBox code, fixed client data 2002-12-08 18:48:05 +00:00
msw Corrected line endings, deps now relative 2002-12-07 15:31:02 +00:00
os2 merged 2.4 branch into the trunk 2002-12-04 14:11:26 +00:00
protocol disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
stc merged 2.4 branch into the trunk 2002-12-04 14:11:26 +00:00
univ fix typo in drawing slider ticks; added assert to check for it (slightly modified patch 646256) 2002-12-06 21:02:50 +00:00
unix disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
x11 merged 2.4 branch into the trunk 2002-12-04 14:11:26 +00:00
xrc merged 2.4 branch into the trunk 2002-12-04 14:11:26 +00:00
.cvsignore
accel.h implemented explicit copy constructor and assignement operator 2002-05-07 20:40:04 +00:00
app.h always declare wxAppInitializerFunction() as returning wxApp, whether we use gcc or not 2002-12-07 23:58:13 +00:00
arrimpl.cpp merged 2.4 branch into the trunk 2002-12-04 14:11:26 +00:00
artprov.h merged 2.4 branch into the trunk 2002-12-04 14:11:26 +00:00
bitmap.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
bmpbuttn.h corrected warnings when compiling with -Wall -W 2002-05-07 21:58:27 +00:00
brush.h Reformatted Motif headers; added __WXX11__ symbol support to common headers; 2002-02-05 16:34:33 +00:00
buffer.h Various compile fixes for WinCE. 2002-12-07 15:41:13 +00:00
build.h added wxBuildOptions and check that they are the same for the program and the library on startup 2002-05-07 19:56:43 +00:00
busyinfo.h merged 2.4 branch into the trunk 2002-12-04 14:11:26 +00:00
button.h updated the comment about the flags meaning 2002-09-02 15:18:25 +00:00
calctrl.h
caret.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
checkbox.h
checklst.h
chkconf.h merged 2.4 branch into the trunk 2002-12-04 14:11:26 +00:00
choicdlg.h
choice.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
clipbrd.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
clntdata.h Added wxClientDataDictionary, used (in wxMotif ATM) to maintain the 2002-12-08 18:43:45 +00:00
cmdline.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
cmdproc.h merged 2.4 branch into the trunk 2002-12-04 14:11:26 +00:00
cmndata.h merged 2.4 branch into the trunk 2002-12-04 14:11:26 +00:00
colordlg.h merged 2.4 branch into the trunk 2002-12-04 14:11:26 +00:00
colour.h Reformatted Motif headers; added __WXX11__ symbol support to common headers; 2002-02-05 16:34:33 +00:00
combobox.h
confbase.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
config.h
containr.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
control.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
cshelp.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
ctrlsub.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
cursor.h Reformatted Motif headers; added __WXX11__ symbol support to common headers; 2002-02-05 16:34:33 +00:00
dataobj.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
date.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
datetime.h merged 2.4 branch into the trunk 2002-12-04 14:11:26 +00:00
datetime.inl merged 2.4 branch into the trunk 2002-12-04 14:11:26 +00:00
datstrm.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
db.h merged 2.4 branch into the trunk 2002-12-04 14:11:26 +00:00
dbgrid.h new member functio of wxDbColInfo to allow two step creation , to be 2002-12-08 16:04:36 +00:00
dbkeyg.h
dbtable.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
dc.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
dcbuffer.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
dcclient.h Reformatted Motif headers; added __WXX11__ symbol support to common headers; 2002-02-05 16:34:33 +00:00
dcmemory.h Reformatted Motif headers; added __WXX11__ symbol support to common headers; 2002-02-05 16:34:33 +00:00
dcprint.h
dcps.h
dcscreen.h Reformatted Motif headers; added __WXX11__ symbol support to common headers; 2002-02-05 16:34:33 +00:00
dcsvg.h wxSVGDC class include files 2002-06-19 09:17:46 +00:00
dde.h
debug.h Various compile fixes for WinCE. 2002-12-07 15:41:13 +00:00
defs.h Various compile fixes for WinCE. 2002-12-07 15:41:13 +00:00
dialog.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
dialup.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
dir.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
dirctrl.h
dirdlg.h added missing include file 2002-05-04 13:17:36 +00:00
display.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
dnd.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
docmdi.h merged 2.4 branch into the trunk 2002-12-04 14:11:26 +00:00
docview.h merged 2.4 branch into the trunk 2002-12-04 14:11:26 +00:00
dragimag.h merged 2.4 branch into the trunk 2002-12-04 14:11:26 +00:00
dynarray.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
dynlib.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
dynload.h merged 2.4 branch into the trunk 2002-12-04 14:11:26 +00:00
effects.h Added some accessors for wxEffects 2002-09-05 19:37:25 +00:00
encconv.h merged 2.4 branch into the trunk 2002-12-04 14:11:26 +00:00
event.h merged 2.4 branch into the trunk 2002-12-04 14:11:26 +00:00
evtloop.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
expr.h
fdrepdlg.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
features.h added raw key code and flags support (based on patch from Bryce Denney) 2002-04-07 21:06:59 +00:00
ffile.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
file.h compilation fix for wxUSE_WCHAR_T=0 2002-09-04 22:17:09 +00:00
fileconf.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
filedlg.h Now compiling 2002-02-08 17:44:23 +00:00
filefn.h Various compile fixes for WinCE. 2002-12-07 15:41:13 +00:00
filename.h merged 2.4 branch into the trunk 2002-12-04 14:11:26 +00:00
filesys.h modifications to URL<->filename conversion: take wxFileName, rename 2002-12-08 20:28:12 +00:00
font.h merged 2.4 branch into the trunk 2002-12-04 14:11:26 +00:00
fontdlg.h fixes to wxFontDialog after recent changes 2002-05-12 22:26:01 +00:00
fontenc.h merged 2.4 branch into the trunk 2002-12-04 14:11:26 +00:00
fontenum.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
fontmap.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
fontutil.h merged 2.4 branch into the trunk 2002-12-04 14:11:26 +00:00
frame.h merged 2.4 branch into the trunk 2002-12-04 14:11:26 +00:00
fs_inet.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
fs_mem.h merged 2.4 branch into the trunk 2002-12-04 14:11:26 +00:00
fs_zip.h merged 2.4 branch into the trunk 2002-12-04 14:11:26 +00:00
gauge.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
gdicmn.h merged 2.4 branch into the trunk 2002-12-04 14:11:26 +00:00
gdiobj.h Reformatted Motif headers; added __WXX11__ symbol support to common headers; 2002-02-05 16:34:33 +00:00
geometry.h merged 2.4 branch into the trunk 2002-12-04 14:11:26 +00:00
gifdecod.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
glcanvas.h merged 2.4 branch into the trunk 2002-12-04 14:11:26 +00:00
grid.h
gsocket.h fix for cygwin warning in winsock.h about sys/types.h from Dimitri 2002-09-12 13:48:55 +00:00
hash.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
hashmap.h removed trailing semicolons at the end of HASH_MAP macros 2002-12-07 01:30:47 +00:00
help.h Use wxHtmlHelpController for HTML help, not wxHelpControllerHtml :-) 2002-03-23 12:02:54 +00:00
helpbase.h merged 2.4 branch into the trunk 2002-12-04 14:11:26 +00:00
helphtml.h
helpwin.h
icon.h Reformatted Motif headers; added __WXX11__ symbol support to common headers; 2002-02-05 16:34:33 +00:00
iconbndl.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
imagbmp.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
image.h added semicolons after HASH_MAP macros 2002-12-07 02:28:02 +00:00
imaggif.h merged 2.4 branch into the trunk 2002-12-04 14:11:26 +00:00
imagiff.h merged 2.4 branch into the trunk 2002-12-04 14:11:26 +00:00
imagjpeg.h merged 2.4 branch into the trunk 2002-12-04 14:11:26 +00:00
imaglist.h Added wxListCtrl to derive from wxGenericListCtrl, 2002-07-22 23:03:03 +00:00
imagpcx.h merged 2.4 branch into the trunk 2002-12-04 14:11:26 +00:00
imagpng.h merged 2.4 branch into the trunk 2002-12-04 14:11:26 +00:00
imagpnm.h merged 2.4 branch into the trunk 2002-12-04 14:11:26 +00:00
imagtiff.h merged 2.4 branch into the trunk 2002-12-04 14:11:26 +00:00
imagxpm.h merged 2.4 branch into the trunk 2002-12-04 14:11:26 +00:00
intl.h added wxLocale::GetLanguageInfo() 2002-09-07 22:53:04 +00:00
ioswrap.h
ipc.h added wx/ipc.h and used/documented it 2002-04-15 18:24:46 +00:00
ipcbase.h Changed char* to wxChar* 2002-09-03 11:22:56 +00:00
isql.h HWND already typedef'ed when compiling with EMX (OS/2). 2002-08-25 18:25:21 +00:00
isqlext.h
joystick.h Reformatted Motif headers; added __WXX11__ symbol support to common headers; 2002-02-05 16:34:33 +00:00
layout.h include the header needed to compile this file 2002-09-02 18:10:39 +00:00
laywin.h
list.h merged 2.4 branch into the trunk 2002-12-04 14:11:26 +00:00
listbase.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
listbox.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
listctrl.h merged 2.4 branch into the trunk 2002-12-04 14:11:26 +00:00
listimpl.cpp
log.h Various compile fixes for WinCE. 2002-12-07 15:41:13 +00:00
longlong.h merged 2.4 branch into the trunk 2002-12-04 14:11:26 +00:00
matrix.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
mdi.h Make OS/2 use the generic MDI. 2002-09-15 17:18:59 +00:00
memconf.h
memory.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
memtext.h corrected warnings when compiling with -Wall -W 2002-05-07 21:58:27 +00:00
menu.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
menuitem.h Applied docview patch 2002-04-12 13:15:44 +00:00
metafile.h
mimetype.h char -> wxChar 2002-09-08 00:49:48 +00:00
minifram.h Reformatted Motif headers; added __WXX11__ symbol support to common headers; 2002-02-05 16:34:33 +00:00
module.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
msgdlg.h
msgout.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
mstream.h
notebook.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
object.h merged 2.4 branch into the trunk 2002-12-04 14:11:26 +00:00
odbc.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
ownerdrw.h disable use of #pragma interface under Mac OS X 2002-09-02 19:15:40 +00:00
palette.h Reformatted Motif headers; added __WXX11__ symbol support to common headers; 2002-02-05 16:34:33 +00:00
panel.h
paper.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
pen.h Reformatted Motif headers; added __WXX11__ symbol support to common headers; 2002-02-05 16:34:33 +00:00
platform.h Platform define for wxWinCE 2002-12-07 12:36:03 +00:00
popupwin.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
print.h merged 2.4 branch into the trunk 2002-12-04 14:11:26 +00:00
printdlg.h merged 2.4 branch into the trunk 2002-12-04 14:11:26 +00:00
prntbase.h merged 2.4 branch into the trunk 2002-12-04 14:11:26 +00:00
process.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
progdlg.h
prop.h merged 2.4 branch into the trunk 2002-12-04 14:11:26 +00:00
propform.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
proplist.h merged 2.4 branch into the trunk 2002-12-04 14:11:26 +00:00
ptr_scpd.h Applied patch [ 587450 ] Scoped Smart pointers and docs 2002-08-08 09:57:05 +00:00
quantize.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
radiobox.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
radiobut.h
regex.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
region.h Reformatted Motif headers; added __WXX11__ symbol support to common headers; 2002-02-05 16:34:33 +00:00
resource.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
sashwin.h
sckaddr.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
sckipc.h Changed char* to wxChar* 2002-09-03 11:22:56 +00:00
sckstrm.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
scrolbar.h
scrolwin.h added ViewStart() as synonym for GetViewStart() in WXWIN_COMPATIBILITY_2_2 mode 2002-06-18 12:47:40 +00:00
settings.h Cosmetic changes to wxSS::GetScreen: 2002-05-19 22:44:27 +00:00
setup_redirect.h Moved setup.h out of the way 2002-01-26 10:59:51 +00:00
sizer.h merged 2.4 branch into the trunk 2002-12-04 14:11:26 +00:00
slider.h
snglinst.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
socket.h Missing #include 2002-09-04 16:42:53 +00:00
spawnbrowser.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
spinbutt.h
spinctrl.h another part of SetSelection() change I forgot to commit 2002-09-01 20:24:25 +00:00
splash.h
splitter.h include wx/event.h before declarign the types (patch 543270) 2002-04-13 16:41:03 +00:00
stack.h
statbmp.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
statbox.h
statline.h
stattext.h
statusbr.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
strconv.h merged 2.4 branch into the trunk 2002-12-04 14:11:26 +00:00
stream.h merged 2.4 branch into the trunk 2002-12-04 14:11:26 +00:00
string.h merged 2.4 branch into the trunk 2002-12-04 14:11:26 +00:00
sysopt.h
tab.h
tabctrl.h
taskbar.h
tbarbase.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
tbarsmpl.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
textbuf.h merged 2.4 branch into the trunk 2002-12-04 14:11:26 +00:00
textctrl.h Applied patch [ 603858 ] wxTextCtrl text alignment patch 2002-09-05 16:15:30 +00:00
textdlg.h
textfile.h merged 2.4 branch into the trunk 2002-12-04 14:11:26 +00:00
tglbtn.h
thread.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
thrimpl.cpp wxMutex changes (explicitly specify the type), return values for all wxMutex/wxSemaphore/wxCondition methods and general cleanup 2002-06-06 18:31:59 +00:00
time.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
timer.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
tipdlg.h Applied patch [ 600500 ] Tip-of-day: comments, translatable 2002-08-31 12:08:02 +00:00
tipwin.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
tokenzr.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
toolbar.h compilation fixes for wxUSE_TOOLBAR under MSW 2002-03-15 00:33:05 +00:00
tooltip.h
toplevel.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
treebase.h Applied patch [ 605189 ] add edit cancel notify to wxTreeEvent 2002-09-05 19:50:41 +00:00
treectrl.h
treelay.h
txtstrm.h merged 2.4 branch into the trunk 2002-12-04 14:11:26 +00:00
types.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
url.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
utils.h merged 2.4 branch into the trunk 2002-12-04 14:11:26 +00:00
valgen.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
validate.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
valtext.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
variant.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
vector.h Replaced int with size_t where appropriate, added WXDLLEXPORT, corrected 2002-12-08 18:38:46 +00:00
version.h Updated version 2002-12-05 11:08:08 +00:00
vms_x_fix.h
volume.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
wave.h
wfstream.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
window.h merged 2.4 branch into the trunk 2002-12-04 14:11:26 +00:00
wizard.h Applied patch [ 642162 ] restore wxWizard wxEVT_WIZARD_FINISHED 2002-12-09 09:46:16 +00:00
wx_cw_cm.h opaque toolbox structs under Classic break access to contrlDefProc 2002-08-24 06:55:46 +00:00
wx_cw_d.h
wx_cw.h
wx_cwc_d.h
wx_cwc.h
wx_cwu_d.h
wx.h
wxchar.h merged 2.4 branch into the trunk 2002-12-04 14:11:26 +00:00
wxexpr.h merged 2.4 branch into the trunk 2002-12-04 14:11:26 +00:00
wxhtml.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
wxprec.h applied patch to build wxMSW with CW7 (patch 550445) 2002-05-09 22:34:44 +00:00
wxshlb_cw_d.h prefix files for shared library targets on cw mac 2002-01-20 16:09:58 +00:00
wxshlb_cw.h prefix files for shared library targets on cw mac 2002-01-20 16:09:58 +00:00
wxshlb_cwc_d.h prefix files for shared library targets on cw mac 2002-01-20 16:09:58 +00:00
wxshlb_cwc.h prefix files for shared library targets on cw mac 2002-01-20 16:09:58 +00:00
wxshlba_cw_d.h prefix files for shared library targets on cw mac 2002-01-20 16:09:58 +00:00
wxshlba_cw.h prefix files for shared library targets on cw mac 2002-01-20 16:09:58 +00:00
wxshlba_cwc_d.h prefix files for shared library targets on cw mac 2002-01-20 16:09:58 +00:00
wxshlba_cwc.h prefix files for shared library targets on cw mac 2002-01-20 16:09:58 +00:00
xpmdecod.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
xpmhand.h Added error directive for MSW since no longer needed. 2002-08-07 20:21:26 +00:00
zipstrm.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
zstream.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00