Stefan Neis
144cf6da64
Enabled handling of drive letters on OS/2.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24649 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-23 22:49:37 +00:00
Vadim Zeitlin
564a150b1f
replaced all occurences of wxColourDatabase::FindColour() with Find(); minor code cleanup here and there
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24231 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-18 23:51:01 +00:00
Vadim Zeitlin
999836aaca
warning fixes for BCC and OW (heavily modified patch 819146)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24196 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-16 10:28:15 +00:00
Vadim Zeitlin
7a1e00a16b
added missing wxCMPFUNC_CONVs (patch 817551)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24189 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-16 09:12:36 +00:00
Vadim Zeitlin
0b98a2524e
memory leak fixes in file dialogs (patch 783812)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23764 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-20 23:59:55 +00:00
Václav Slavík
6a8c7c70c9
compilation fix for wxUSE_UNICODE_MSLU
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23208 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-25 17:33:58 +00:00
Julian Smart
88d6c98889
Correction for Unicode
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23190 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-25 08:13:13 +00:00
Vadim Zeitlin
a9e3ce8f5a
typo in assert (patch 789156)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22928 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-16 12:09:56 +00:00
Václav Slavík
14f355c2b5
added support for gcc precompiled headers
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22723 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-09 12:46:53 +00:00
Vadim Zeitlin
567be18754
wxUniv compilation fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22468 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-02 00:16:06 +00:00
Vadim Zeitlin
a8e25474e4
warning fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22143 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-20 14:05:48 +00:00
Vadim Zeitlin
f74172ab42
extracted common code into a single wxfileDialogBase class (patch 758901)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22113 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-19 17:22:05 +00:00
Vadim Zeitlin
b600ed1362
wxFileDialog cleanup, extracted common code to fldlgcmn.cpp (patch 754187)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21149 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-14 13:31:49 +00:00
Vadim Zeitlin
b8985048a5
fix for Unicode compilation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20368 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-28 11:51:53 +00:00
Mattia Barbon
56cc1400c7
COmpilation fix.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20340 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-24 22:17:14 +00:00
David Webster
4f5c180eba
OS/2 updates to catch the port up with the rest of the library.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20226 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-15 21:08:31 +00:00
Julian Smart
d515343ca2
Removed redundant fixme comment
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20044 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-06 20:47:59 +00:00
Julian Smart
06cc1fb991
Applied [ 716064 ] Second part of wxFileCtrl & wxDirCtrl patch
...
by John Labenski
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20042 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-06 19:57:51 +00:00
Julian Smart
a2f9a63688
APplied patch [ 705301 ] Don't send event for wxSplitter::Unsplit
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19982 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-05 10:33:10 +00:00
Julian Smart
23254b138a
Applied patch [ 708582 ] wxGenericFileDialog & expose generic wxFileCtrl
...
By John Labenski (jrl1)
The wxFileCtrl is a nice little widget that when
married with a wxDirCtrl makes for a simple, easy to
use explorer type widget.
include/wx/generic/filedlgg.h, src/generic/filedlg.cpp
Expose wxFileData and wxFileCtrl, rename wxFileDialog
to wxGenericFileDialog, it can be used in MSW now.
wxFileCtrl - added sorting for clicking in the col headers.
let wxGenericFileDialog manage it's own static text.
allow for viewing of root (for showing drives) in MSW
wxFileData - moved enum for wxFileCtrl col's into it.
added IsDrive and use bitmask instead of a slew of
bools for IsDir...
A couple bug fixes for wxFileCtrl for MSW, c:\.. is not
a file and can't be stated, show drives.
Basicly its the same as before, with no change besides
sorting for GTK. For MSW, the wxFileCtrl works in a few
more cases, hopefully all the MGL etc code was
untouched and should still work.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19964 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-03 13:10:08 +00:00
Julian Smart
083f7497d3
Applied some of patch [ 688466 ] MSVC7 build & bug fixes
...
by Darren Whobrey
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19930 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-02 11:10:37 +00:00
Vadim Zeitlin
c5ef41d3b4
fixed memory leak (patch 696164)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19442 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-02 23:24:28 +00:00
Vadim Zeitlin
1265e13d17
added missing include (patch 690352)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19441 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-02 23:21:53 +00:00
Julian Smart
787d22ec24
Applied patch [ 686843 ] File Dialog Wildcard Bug
...
A bug was introduced in generic/src/filedlgg.cpp
between versions 2.2.9 and 2.4 that causes incomplete
file extensions to be appended to filenames not having
extensions after a user changes the wildcard index in
the filedialog. This patch reverts back to the correct
code.
Bob Downey
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19240 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-18 09:27:23 +00:00
Mattia Barbon
ed39ff57b3
Remove unnecessary header dependencies. Fix resulting compilation
...
problems for wxMSW, wxGTK, wxMotif, wxX11 and wxMac in default
configuration. Non-default configurations will probably need some more
fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19172 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-10 21:07:36 +00:00
Vadim Zeitlin
ce9462d21d
implemented wxFileSelectorEx() (this fixes docview behaviour when multiple selections are specified in doc template)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19051 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-01 21:04:40 +00:00
Václav Slavík
5eac771d09
eliminate __WIN32__ only code
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18943 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-26 16:15:08 +00:00
Vadim Zeitlin
7f04165e6f
don't call stat() *and* lstat() (as if the file dialog wasn't already slow enough...); minor code cleanup (removed a few #ifdef's, TABs and other crap)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18692 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-12 14:24:32 +00:00
Chris Elliott
a2638e741d
fix visual c bugs for wxUNIVRERSAL
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18207 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-13 12:21:19 +00:00
Chris Elliott
099d4217df
fix for wxUniversal on win32 platforms
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18193 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-11 15:10:23 +00:00
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
Vadim Zeitlin
b6b2d787e3
compilation fix after recent patch
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18042 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-04 23:15:10 +00:00
Vadim Zeitlin
2b5f62a0b2
merged 2.4 branch into the trunk
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18040 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-04 14:11:26 +00:00
Julian Smart
cd6b752b83
Renamed duplicate style variable
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17082 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-08 14:10:22 +00:00
Vadim Zeitlin
9cedab372e
made SetDirectory() work, minor code cleanup (much is left to do)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17051 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-07 19:24:45 +00:00
Robert Roebling
8115f9e70f
Adapted to Unicode compilation.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16424 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-08 21:41:16 +00:00
Robert Roebling
04ea7f93e2
IMplement SetFilterINdex()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16301 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-28 10:16:50 +00:00
Vadim Zeitlin
2645b45a75
treat NULL extension properly in wxLoad/SaveFileSelector; don't crash if NULL ext or what pointers are passed to them
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16154 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-12 18:17:24 +00:00
Václav Slavík
41fecb4451
Cosmetic changes to wxSS::GetScreen:
...
1) Renamed to GetScreenType (so that the name better describes its function)
2) Changed use of <,>,<=,>= operators together with wxSYS_SCREEN_* so that
'foo is smaller that bar' is written as 'foo < bar' and not (sic) 'foo > bar'
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15607 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-19 22:44:27 +00:00
Gilles Depeyrot
d84afea9d1
corrected warnings when compiling with -Wall -W
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15412 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-07 21:58:27 +00:00
Robert Roebling
c15521c67e
Added screen design to system settings for
...
different dialog layouts on desktop vs
PDA screens
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15376 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-04 18:33:35 +00:00
Vadim Zeitlin
7a82dabcc7
fixed huge memory leak in wxFileDialog (closes patch 544060)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15214 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-20 11:10:19 +00:00
Robert Roebling
d7fa7eaa2d
Various changes to focus handling when TLW start.
...
Changed wxWindow::Clear() to use m_clearRegion.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15191 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-17 22:44:31 +00:00
Robert Roebling
052c02b37f
Make wxFileDialog even smaller under X11.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14983 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-07 14:47:16 +00:00
Robert Roebling
24f932d22a
Made wxFileDialog PDA friendlier.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14882 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-01 11:59:38 +00:00
Václav Slavík
368d59f0d8
don't use deprecated wxImage methods inside wxWin
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14751 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-24 00:22:15 +00:00
Václav Slavík
60d2cc2571
use wxArtProvider in wxFileDialog
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14730 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-22 19:20:41 +00:00
Vadim Zeitlin
186cecd441
theoretically unnecessary but practically required fix for showing the selected filename in the text control
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14492 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-08 12:27:00 +00:00
Václav Slavík
8f4fcc4ee0
wxFileCtrl::Update was hiding wxWindow::Update
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13821 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-26 00:24:30 +00:00
Vadim Zeitlin
295272bdcd
more Sun C++ compiler warning fixes: in particular, added an ugly but
...
necessary workaround for avoiding warning in the .xpm files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13516 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-11 19:33:37 +00:00