Vadim Zeitlin
5276b0a53c
Use wxDELETE() and wxDELETEA() when possible.
...
Use wxDELETE[A]() functions which automatically NULL out their arguments after
deleting them instead of doing it manually.
Closes #9685 .
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64656 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-06-20 18:18:23 +00:00
Paul Cornett
a243da29c8
make array data fully const
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62764 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-12-02 17:28:45 +00:00
Julian Smart
5b806097fd
Applied #11106 : wxGenericDirCtrl can get into a state where it will no longer expand
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62094 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-24 17:04:44 +00:00
Vadim Zeitlin
9a83f86094
Globally replace _T() with wxT().
...
Standardize on using a single macro across all wxWidgets sources and solve the name clash with Sun CC standard headers (see #10660 ).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61508 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-23 20:30:22 +00:00
Vadim Zeitlin
896a8d2951
simplify code by removing workaround not needed any longer after fix of r60910 (see #10830 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60917 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-06 17:27:29 +00:00
Vadim Zeitlin
80f624ec0c
added multiple selections support to wxDirCtrl ( closes #10830 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60909 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-06 14:00:51 +00:00
Vadim Zeitlin
d3b9f782ef
don't use annoying and unneeded in C++ casts of NULL to "T *" in all other files neither
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58227 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-19 13:55:27 +00:00
Vadim Zeitlin
35c2aa4f19
added wxFileName::GetVolumeString() ( #9950 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55596 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-14 01:18:05 +00:00
Stefan Csomor
96f04e1df6
OSX regrouping
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54815 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-29 19:50:14 +00:00
Stefan Csomor
33ddeabab9
fixing file paths after renaming
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54127 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-11 19:23:52 +00:00
Robert Roebling
d095f867de
Check for m_treeCtrl!=NULL, [ wxwindows-Patches-1953459 ] wxGenericDirCtrl::SetFocus crash
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53403 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-28 17:31:40 +00:00
Vadim Zeitlin
a85ad1db05
use generic dialogs under Palm (generic.diff part of patch 1894861)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52234 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-02 01:20:08 +00:00
Stefan Csomor
e1f31102a5
cleanup mac
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50156 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-22 14:22:39 +00:00
Vadim Zeitlin
d9c98a9aad
assume that all directories have children by default, it can take too long to check if they really do and it's better to do it on demand only, i.e. when the user really tries to open them (patch 1830527)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50030 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-17 15:35:16 +00:00
Vadim Zeitlin
905e090500
forward SetFocus() to the directory tree (replaces patch 1831210)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50026 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-17 15:12:13 +00:00
Julian Smart
e50488546a
Getting borders working
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49907 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-13 14:27:26 +00:00
Vadim Zeitlin
f36e602b3f
make various control names constants of type char, not wxChar, as this is more compatible with the old ANSI build and it doesn't make much sense to use wchar_t for ASCII strings anyhow
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49873 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-12 21:37:46 +00:00
Vadim Zeitlin
ff654490b7
removed all compile- and run-time checks for GTK+ < 2.4; don't include the generic files which are now never used in wxGTK in the build
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49660 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-05 22:31:24 +00:00
Vadim Zeitlin
a3e70e1f3b
declare wxFileSelectorDefaultWildcardStr to fix compilation without PCH
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46190 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-24 01:37:22 +00:00
Vadim Zeitlin
d0bc78e2bf
deprecate unneeded wxDIRCTRL_SHOW_FILTERS style, just always show the filters if they're present (modified patch 1719448)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46187 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-24 00:14:59 +00:00
Vadim Zeitlin
b4a980f4f5
don't use obsolete functions (mostly copystring() and Count()), remove their documentation (patch 1697956)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45395 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-11 00:23:19 +00:00
Vadim Zeitlin
9092371c0a
do nothing in ShowHidden() if the flag doesn't change (patch 1678963)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44841 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-16 00:30:33 +00:00
Vadim Zeitlin
c1dc9f8394
removed WXWIN_COMPATIBILITY_2_4 from common and wxMSW files (patch 1675546)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44625 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-07 11:35:04 +00:00
Vadim Zeitlin
207ddcc988
fix compilation problem when wxUSE_FSVOLUME==0 after last commit: declare wxIsDriveAvailable() before using it
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44350 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-03 12:01:42 +00:00
Vadim Zeitlin
006b7af2b2
use wxFSVolume instead of duplicating its functionality in the (MSW branch of) wxGetAvailableDrives() (patch 1615074)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44349 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-02 23:59:00 +00:00
Vadim Zeitlin
4a89f0e907
SetBestSize() is now deprecated, don't use it
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42832 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 11:20:16 +00:00
Julian Smart
e195770310
Fixes bug whereby directory control foreground colour is always black on Windows
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41211 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-14 13:17:39 +00:00
Włodzimierz Skiba
02761f6cd4
Include wx/module.h according to precompiled headers of wx/wx.h (with other minor cleaning).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40943 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-31 19:31:43 +00:00
Mart Raudsepp
47b8afadea
Don't mark "." and ".." for translation when they are used as a check that the user didn't enter "current
...
directory" or "parent directory" as a new directory name to use...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40343 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-27 11:46:26 +00:00
Włodzimierz Skiba
155ecd4c42
Include wx/image.h according to precompiled headers of wx/wx.h (with other minor cleaning).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39957 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-03 19:02:54 +00:00
Julian Smart
58f1fdc926
Remove use of GetVolumeInformation since it causes long delays on network drives.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39843 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-27 07:55:15 +00:00
Włodzimierz Skiba
dd05139a80
Include wx/gdicmn.h according to precompiled headers of wx/wx.h (with other minor cleaning).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39797 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-19 20:18:46 +00:00
Włodzimierz Skiba
949c9f74c3
Include wx/choicdlg.h, wx/textdlg.h and wx/filedlg.h according to precompiled headers of wx/wx.h (with other minor cleaning).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39651 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-09 17:50:46 +00:00
Włodzimierz Skiba
ed2fbeb835
Include wx/sizer.h and wx/layout.h according to precompiled headers of wx/wx.h (with other minor cleaning).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39627 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-08 06:57:39 +00:00
Włodzimierz Skiba
fec9cc08e7
Include wx/textctrl.h according to precompiled headers of wx/wx.h (with other minor cleaning).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39583 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-06 07:23:19 +00:00
Włodzimierz Skiba
b36e08d086
Include wx/choice.h according to precompiled headers of wx/wx.h (with other minor cleaning).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39470 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-30 07:34:30 +00:00
Vadim Zeitlin
f395a825a9
added CollapsePath() (patch 1494638)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39408 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-28 23:54:28 +00:00
Włodzimierz Skiba
ce5d92e150
Include wx/cmndata.h according to precompiled headers of wx/wx.h (with other minor cleaning).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39337 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-25 21:08:11 +00:00
Włodzimierz Skiba
246c5004eb
Include wx/msgdlg.h according to precompiled headers of wx/wx.h (with other minor cleaning).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39326 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-25 07:07:23 +00:00
Włodzimierz Skiba
9eddec696f
Include wx/settings.h according to precompiled headers of wx/wx.h (with other minor cleaning).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39310 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-24 07:16:32 +00:00
Włodzimierz Skiba
923d28da0e
Include wx/icon.h according to precompiled headers of wx/wx.h (with other minor cleaning).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39261 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-21 21:45:44 +00:00
Włodzimierz Skiba
f1e0171631
Include wx/button.h according to precompiled headers of wx/wx.h (with other minor cleaning).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39185 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-17 09:07:47 +00:00
Vadim Zeitlin
6e86472fa5
don't give an error when editing of the items label is cancelled (patch 1482176)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39065 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-06 16:07:29 +00:00
Włodzimierz Skiba
de6185e212
Include wx/utils.h according to precompiled headers of wx/wx.h (with other minor cleaning).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38972 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-02 10:39:23 +00:00
Włodzimierz Skiba
e4db172a3b
Include wx/log.h according to precompiled headers of wx/wx.h (with other minor cleaning).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38920 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-26 08:21:31 +00:00
Włodzimierz Skiba
88a7a4e10e
Include wx/intl.h according to precompiled headers of wx/wx.h (with other minor cleaning).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38909 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-25 14:38:19 +00:00
Włodzimierz Skiba
32d4c30a13
Include wx/hash.h according to precompiled headers of wx/wx.h (with other minor cleaning).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38868 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-21 10:33:01 +00:00
Vadim Zeitlin
2934338f05
use WXSIZEOF() instead of hardcoded number
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37819 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-05 20:52:34 +00:00
Vadim Zeitlin
0e5edcda8a
don't Printf() a string into itself (bug indicated by patch 1443669)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37818 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-05 20:50:25 +00:00
Włodzimierz Skiba
588be5ae1c
Last parameter of GetVolumeInformation() is not pointer.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37224 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-31 00:54:26 +00:00