Commit Graph

179 Commits

Author SHA1 Message Date
Włodzimierz Skiba
0c0d1521c0 Helpers in disabling warnings for unused params.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34792 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-01 13:39:03 +00:00
Stefan Neis
be283c77a0 Additional imageId values for specific drive types on OS/2.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34640 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-12 11:57:51 +00:00
Julian Smart
13b22a6738 Replaced embedded images
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34463 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-31 16:17:57 +00:00
Włodzimierz Skiba
da865fdd32 Deprecate wxPathExists, make wxDirExists used everywhere, minor source cleaning.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33350 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-05 16:10:48 +00:00
Julian Smart
3bd8a40543 Fixed bug preventing dir enumeration from working on WinCE
Prevented crash on WinCE by removing hidden root style
(a bug in Windows causes crash in child traversal/data retrieval)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33278 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-02 17:38:14 +00:00
Julian Smart
c06dde42fe Applied patch [ 1174270 ] small fixes to wxGenericDirCtrl
Stas Sergeev:

1. CollapseDir() was forgetting to... hrmm, to collapse
the dir...
It was only removing the child elements, leaving the dir
expanded. Missing code added.

2. ReCreateTree(), which, according to the comments, must
collapse and re-open the tree, was not re-opening it.
Fixed.

3. For those who used the bogus ReCreateTree() behaviour
to collapse the tree, I added CollapseTree(). This does
visually what the ReCreateTree() wrongly did before the
patch.

4. Documentation is updated accordingly.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33223 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-31 19:04:03 +00:00
Robert Roebling
dd0138d9a4 Fix bug [ 1170089 ] wxGenericDirCtrl doesn't show files
by giving the control a sensible default filter "*"
   or "*.*".


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33201 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-30 19:45:32 +00:00
Julian Smart
7acf6a921e Small fixes for compiling Cygwin (with --disable-sockets)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32860 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-17 12:43:15 +00:00
Robert Roebling
f0e5a44df1 Applied dir control token patch.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32690 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-08 22:55:26 +00:00
Włodzimierz Skiba
c47addef10 wxPoint/Size/Rect() causes the same code with (0,0) initialization and is incomparably more readable and clear.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32101 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-16 20:34:34 +00:00
Włodzimierz Skiba
2997ca30d6 Use default constructors for wxSize/Point/Rect.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31904 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-10 21:33:56 +00:00
Vadim Zeitlin
d5f330f9bc unused var warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30961 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-12 17:59:41 +00:00
Robert Roebling
82c1f2a390 Make use of new Art.
Add sections to the dir dialog as per the
   GTK 2.4 file dialog (Home, Desktop, "/").


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30803 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-27 23:25:30 +00:00
Włodzimierz Skiba
44d60c0b26 Fix for assert after left click on tree in generic dir dialog in native MSW build. Source cleaning and readability fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30742 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-23 19:58:47 +00:00
Vadim Zeitlin
8e5c652190 construct icon from wxIconLocation, not just the file name without index: this fixes icons display under MSW (replaces patch 1047225)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30430 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-10 21:16:44 +00:00
Václav Slavík
a78955e377 made it possible to customize wxGenericDirCtrl, such as using checked wxTreeCtrl (patch #1019699)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30249 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-03 23:01:57 +00:00
Václav Slavík
09a65e631a be user friendly on Unix and expand the / node automatically
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29966 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-18 12:50:10 +00:00
Włodzimierz Skiba
1b941f2d31 Warning fixes for OpenWatcom.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29961 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-18 05:56:07 +00:00
Włodzimierz Skiba
8253f2e063 Warning fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29880 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-15 16:00:06 +00:00
Julian Smart
866918a854 Corrected swapped args
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29808 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-12 18:02:10 +00:00
Stefan Csomor
a2b772607a FSRef transition
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28878 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-24 19:39:50 +00:00
Václav Slavík
4b92a33f7d tree control uses 16x16 pixels, explicitly request this size
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28858 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-22 18:48:28 +00:00
Włodzimierz Skiba
79e162f526 Code and warning cleaning.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28544 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-30 15:55:53 +00:00
Włodzimierz Skiba
a2a03d7864 wxUSE_STL/wxArrayString fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28422 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-23 14:33:01 +00:00
Włodzimierz Skiba
422d0ff0be wxDefaultSize.* and wxDefaultPosition.* to wxDefaultCoord.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28324 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-20 10:09:47 +00:00
Włodzimierz Skiba
e989060057 Correction to recently added wrong asserts.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28256 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-16 13:05:36 +00:00
Włodzimierz Skiba
1ab36908f9 WinCE fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28222 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-13 12:25:32 +00:00
Kevin Ollivier
547841f751 Fixed typo in show available drives.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28052 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-28 18:16:49 +00:00
Włodzimierz Skiba
daf3246330 wxParseWildcard renamed to wxParseCommonDialogsFilter. Its usage is extended from generic dialogs to MSW, Motif and other incoming ports.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27941 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-22 16:58:27 +00:00
Václav Slavík
cdfd8b1e84 fixed wxGenericDirCtrl sizing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27872 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-18 06:52:42 +00:00
Włodzimierz Skiba
13de0c8c9b Separation of wxUSE_FILEDLG and wxUSE_DIRDLG in generic implementations.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27861 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-17 19:50:20 +00:00
Włodzimierz Skiba
ca65c0440a Code cleaning: wxID_ANY, wxDefaultSize, wxDefaultPosition, true, false, wxEmptyString, tabs and white spaces.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27853 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-17 16:22:36 +00:00
Włodzimierz Skiba
9e152a5578 wxParseWildcard added instead of methods hidden under wxUSE_FILEDLG and wxUSE_DIRDLG.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27811 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-15 15:25:33 +00:00
Julian Smart
655719367a Use old licence name
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27408 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-23 20:53:33 +00:00
Julian Smart
77ffb5937e Name and version changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27404 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-23 14:56:36 +00:00
Robin Dunn
19d8dd12a4 Add a call to SetBestSize so the minsize can be set for sizers if an
initial size was given.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27267 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-14 06:29:41 +00:00
Vadim Zeitlin
af498247c5 make XTI compile with VC6 (patch 896614)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26820 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-15 22:51:57 +00:00
Julian Smart
6b707fc394 Specify tree control in event table to avoid problems with stray tree events
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26000 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-29 13:05:20 +00:00
Julian Smart
1aa81b1712 Removed warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25854 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-18 17:24:12 +00:00
Dimitri Schoolwerth
1904aa72f0 Fixed compilation for !wxUSE_IMAGE as well as !wxUSE_TOOLBAR.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25838 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-16 23:27:54 +00:00
Dimitri Schoolwerth
b126fe3ae2 Fixed unreferenced function 'CutEmptyBorders' warning (MSVC6).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25833 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-16 20:57:17 +00:00
Robert Roebling
1d529ef7ee Updates to MIME-types and wxFileDialog code for better
native looking image handling.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25809 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-15 00:35:16 +00:00
Julian Smart
014249a8f0 Fixed bug [ 849168 ] wxGenericDirCtrl missing wxPROPERTY_FLAGS section for RTTI
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25648 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-08 16:13:12 +00:00
Václav Slavík
1c53456fc9 wxMGL fixes (patch #884758)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25522 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-05 23:13:30 +00:00
Julian Smart
6463b9f539 Reverted patch [ 832096 ] Final separation for GUI and console for Open Watcom
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25182 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-15 13:49:22 +00:00
Julian Smart
02dd0487d1 Suppress spurious icon-related log messages
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25150 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-13 14:45:56 +00:00
Julian Smart
b6668c257d Added extra check in case CopyFromIcon fails
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25149 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-13 14:37:28 +00:00
Julian Smart
1169a91932 Applied patch [ 832096 ] Final separation for GUI and console for Open Watcom
(Watcom compiler doesn't like ctor implementation in headers)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25121 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-11 15:33:01 +00:00
Julian Smart
3da4e4bd4a Applied patch [ 866387 ] wxGenericDirCtrl does not accept multiple wildcards
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25097 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-08 14:44:23 +00:00
Ryan Norton
2b0a7c092c [ 835171 ] Show hidden files in wxGenericDirCtrl
(genericdirctrl is neat!)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24941 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-20 15:13:15 +00:00