Vadim Zeitlin
9413e1e34a
allow claling Unassociate() on previously not initialized wxMimeTypesManager
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39780 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-18 21:33:38 +00:00
Paul Cornett
4362c7052b
wxASSERT(false) --> wxFAIL
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38992 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-03 04:12:48 +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
ad9835c97c
Include wx/dynarray.h according to precompiled headers of wx/wx.h (with other minor cleaning).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38841 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-19 14:18:39 +00:00
Vadim Zeitlin
a24217f050
don't include GNOME FS header if we don't use it (and might not have it at all)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38800 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-18 21:06:25 +00:00
Włodzimierz Skiba
7520f3da33
wx/wxprec.h already includes wx/defs.h (with other minor cleaning).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38791 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-18 09:56:17 +00:00
Jouk Jansen
aa3310b88d
Committing in .
...
Removing obsolete compiler directives for OpenVMS
Modified Files:
wxWidgets/src/generic/notebook.cpp
wxWidgets/src/univ/notebook.cpp
wxWidgets/src/unix/mimetype.cpp
----------------------------------------------------------------------
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38379 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-27 09:35:41 +00:00
Robert Roebling
2b850ae1a5
Rearrange code to make adding wxMimeTypesManagerFactory
...
at runtim possible.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38172 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-17 14:13:02 +00:00
Vadim Zeitlin
985f824c2b
fixed printf format warnings for all platforms (previous fix for Darwin broke it for Linux)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38037 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-12 16:51:43 +00:00
Vadim Zeitlin
5d0d3e6d72
use %lu and not %d print format for size_t arguments
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38032 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-12 15:14:00 +00:00
Vadim Zeitlin
8a7fc9b5a7
always return something in GetCommandForVerb() second argument, even if verb not found
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37940 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-09 19:09:22 +00:00
Vadim Zeitlin
d6a7ca317f
don't crash if one of GetAllCommands() parameters is NULL (coverity checker CID 11)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37887 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-07 23:47:15 +00:00
Vadim Zeitlin
32592f4a80
fixed yet another memory leak in LoadGnomeDataFromKeyFile() (coverity checker CID 51)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37882 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-07 23:32:09 +00:00
Vadim Zeitlin
926ce9e3ac
fix another memory leak in SetCommand() (coverity checker CID 52)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37881 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-07 23:30:43 +00:00
Vadim Zeitlin
cb0b7b7d81
fix memory leak (coverity checker CID 53)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37880 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-07 23:27:51 +00:00
David Surovell
7c2e5dec5a
cleanup - more reformatting
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37068 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-23 04:11:46 +00:00
David Surovell
dfea7acc19
cleanup - heavy reformatting
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37059 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-22 21:26:28 +00:00
Robert Roebling
7bc5ddc6e4
Applied MIME-types patch.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37053 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-22 13:22:56 +00:00
David Surovell
1c4cd9e047
minor cleanup
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36751 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-07 06:09:50 +00:00
Vadim Zeitlin
17a1ebd101
first round of Intel compiler warning fixes: down from a few thousands just to slightly more than 100
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35688 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-25 19:59:19 +00:00
Mart Raudsepp
8907154c1a
Nuke #pragma implementation/interface's
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35650 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-23 12:56:45 +00:00
Włodzimierz Skiba
d0ee33f5c6
'[1219035] cleanup: miscellaneous' and minor source cleaning.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34643 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-13 12:19: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
Václav Slavík
320c341a10
don't use wxFileConfig to parse kdeglobals, it's not meant for such use. Fixes bug 939195
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26899 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-21 13:33:31 +00:00
Vadim Zeitlin
a9a76b2fb8
fixed priority of the mailcap entries (patch 935954)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26814 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-15 22:07:47 +00:00
Robert Roebling
76a6e80383
Applied patch for Intel compiler.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26517 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-31 15:43:19 +00:00
Robert Roebling
3d78043440
Fix warning.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25826 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-15 18:38:36 +00:00
Robert Roebling
ca06ee0df7
wxGPE updates to HEAD.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25818 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-15 15:31:39 +00:00
Robert Roebling
16c587ca76
This should work on SuSE and Mandrake icon themes.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25815 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-15 13:15:50 +00:00
Robert Roebling
1027433607
Slightly less hacky way to get the KDE icon theme name.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25814 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-15 12:57:23 +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
Vadim Zeitlin
70247ce395
instead of ignoring all unknown MIME keywords, ignore only those not starting with x- (this was always the intended effect but it didn't work like this)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24096 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-05 19:27:26 +00:00
Václav Slavík
b7c702867a
removed unneeded #ifdef
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22945 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-16 22:30:54 +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
Julian Smart
b8d6102177
Fixed out by one error
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21982 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-15 10:10:37 +00:00
Vadim Zeitlin
2b6d8c00fc
(blind) fix for valgrind error
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21843 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-10 09:23:47 +00:00
Mattia Barbon
df5168c427
Added --use-stl to cnfigure, wxUSE_STL to setup0.h
...
Moved wx/datetime.inl contents to wx/datetime.h and removed
inline redefinition hack.
Implemented STL-like interface on top of wxList/wxArray, when wxUSE_STL=0.
Implemented wxList-like and wxArray interfaces on top of std::list and
std::vector, when wxUSE_STL=1.
Added arrstr.h, moved wxArrayString declaration there; string.h
#includes arrstr.h only if WXWIN_COMPATIBILITY_2_4 is enabled.
Added WX_CLEAR_HASH_MAP, WX_CLEAR_HASH_TABLE, WX_CLEAR_LIST macros,
to clear a wxHashMap, wxHashTable, wxList containing pointers: deletes
pointers and makes container zero-sized.
When wxUSE_STL=1, wxStringList works like a std::list<wxString>.
Made wxBase compile when wxUSE_STL=1.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21768 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-08 19:52:35 +00:00
Vadim Zeitlin
c41dbc2085
missing wx/iconloc.h added
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21375 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-25 00:10:07 +00:00
Mattia Barbon
a49686b4c2
Compilation fix.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21328 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-23 21:06:18 +00:00
Vadim Zeitlin
da0766ab2a
GetIcon() returns wxIconLocation, not wxIcon, now
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21316 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-23 13:49:24 +00:00
Julian Smart
6aa89a22b8
Fixed copyrights and licence spelling
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19596 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-17 11:55:54 +00:00
Vadim Zeitlin
2b293fc78f
fixed memory leak (patch 685580)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19440 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-02 23:18:26 +00:00
Vadim Zeitlin
70687b638d
silently ignore any X-fields in mime.types
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19043 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-31 23:09:35 +00:00
Robert Roebling
e3cff1fbb7
Uncommented warning that causes crashes while
...
reading .mime.types.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19041 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-31 21:56:09 +00:00
Václav Slavík
25d599ae91
fixed loading of GNOME2 mime icons (still not working as desired)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18949 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-26 20:56:31 +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
Vadim Zeitlin
678ebfcdae
attempts to fix wxMimeTypesManager mess: many bugs (entries priority, memory leaks, ...) fixed, but probably even more left
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15799 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-10 15:59:34 +00:00