Commit Graph

41470 Commits

Author SHA1 Message Date
Michael Wetherell
dfaae3e640 Fix wxString::replace when nLen is wxString::npos.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49039 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-04 12:50:49 +00:00
Vadim Zeitlin
91a865a4fa check for m_filectrl != NULL in OnUpdateButtonsUI() (fixes crash under GTK1)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49038 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-04 12:03:10 +00:00
Vadim Zeitlin
6e0e886278 fix range used for native volume in Set/GetVolume() and simplify the code a bit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49026 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-03 22:35:44 +00:00
Vadim Zeitlin
a19e936e75 look for message catalogs also directly under prefix in GetMsgCatalogSubdirs() as we used to do in 2.6
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49025 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-03 21:45:33 +00:00
Vadim Zeitlin
ce903b6f06 some (blind) compilation fixes after wxString/Unicode changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49022 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-03 00:36:08 +00:00
Vadim Zeitlin
48d16e09ad semaphore with count of 1 is not exactly the same as mutex
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49021 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-03 00:13:51 +00:00
Vadim Zeitlin
11fa6e636b initialize all fields of WINDOWPOS struct to avoid mingw32 warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49020 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-02 17:34:30 +00:00
Michael Wetherell
53e372c281 Define CPPUNIT_STD_NEED_ALLOCATOR to 0 if it is undefined as we compile with
-Wundef.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49018 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-02 14:56:09 +00:00
Vadim Zeitlin
f5851311d3 fix several mingw32 warnings (patch from Tim Stahlhut)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49017 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-02 11:36:35 +00:00
Vadim Zeitlin
b152d8c56c PCH-less compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49016 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-02 11:32:25 +00:00
Vadim Zeitlin
8de93aba53 mention that Win32 mutexes are always recursive
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49015 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-02 11:31:02 +00:00
Vadim Zeitlin
e74f12021d don't leak wxFileType returned from GetFileTypeFromExtension(); fix compilation with wxUSE_MIMETYPE==0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49014 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-02 11:25:29 +00:00
Robert Roebling
6608fdab17 Document _ITEM_VALUE_CHANGED and implmement it equally as being sent from valueChanged and ItemChanged. Remove other _MODEL_XXX events.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49013 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-02 10:41:46 +00:00
Chris Elliott
48801471de typo fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49012 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-02 10:30:34 +00:00
Chris Elliott
2d87db1201 add misisng files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49011 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-02 09:39:06 +00:00
Vadim Zeitlin
a95cad1c25 don't use tif_os2.c which doesn't exist any more
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49009 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-01 17:43:45 +00:00
Benjamin Williams
d7ad415c50 better child focus
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49008 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-01 16:13:30 +00:00
Vadim Zeitlin
25c702609d include jconfig.vc under OS/2 too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49006 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-01 13:02:52 +00:00
Vadim Zeitlin
8ece1737f4 define WXDLLIMPEXP_FWD_XXX as nothing for mingw32 too to avoid warnings about __declspec being ignored in forward declarations
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49005 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-01 12:14:35 +00:00
Vadim Zeitlin
fb1a478979 use WXDLLIMPEXP_FWD_CORE instead of WXDLLEXPORT
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49004 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-01 11:54:50 +00:00
Jouk Jansen
3a04ad7917 OpenVMS : removing dependency on obsolete Porting-library (Jackets)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49003 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-01 11:46:08 +00:00
Robert Roebling
854cdb0975 Added API for adding/deleting/changing multiple items
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49002 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-01 10:54:57 +00:00
Jouk Jansen
6fda7f01f9 OpenVMS update
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49001 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-01 05:58:13 +00:00
Vadim Zeitlin
1faa4ad2ba don't crash in GetAsDOS() if the time is not in time_t range (bug 1804421)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49000 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-30 20:37:29 +00:00
Vadim Zeitlin
c6a95dd6a2 really fixed the DST test by using explicit country in it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48998 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-30 19:28:29 +00:00
Vadim Zeitlin
770882a69e return the beginning/end of DST in local time, not UTC, for consistency with the other methods; fixed the test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48997 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-30 19:27:23 +00:00
Vadim Zeitlin
8888d9710f cleaned up and significantly simiplied Format() handling of %c and %x formats and fixed an assert failure in UTF-8 build due to the use of invalid Unicode characters such as -1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48996 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-30 19:11:36 +00:00
Václav Slavík
21b2dde583 generate #line references to source .xrc files in wxrc --gettext (patch #1803492 by Heikki Linnakangas)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48995 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-30 11:11:51 +00:00
Václav Slavík
6e26d6b78c include line number information in wxXmlNode (based on patch #1803492 by Heikki Linnakangas)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48994 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-30 11:09:54 +00:00
Václav Slavík
43de415736 _WX_DECLARE_OBJARRAY was missing reserve() declaration
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48993 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-30 10:52:08 +00:00
Václav Slavík
cd64344431 use reserve() instead of Alloc() in WX_APPEND_ARRAY so that it works with std classes too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48992 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-30 10:44:45 +00:00
Vadim Zeitlin
7262371cd7 fix compilation in Unicode build (not sure if this fixes run-time behaviour though...)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48991 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-30 00:58:14 +00:00
Vadim Zeitlin
09e89ab1b6 another wxCmdLineEntryDesc compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48990 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-30 00:50:29 +00:00
Vadim Zeitlin
457e5a40e7 fix DrawLine() and DrawPolygon() which were totally broken for GTK1 since rev 36998
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48989 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-29 23:10:35 +00:00
Vadim Zeitlin
84ef8365bc ANSI mode compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48988 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-29 22:28:55 +00:00
Vadim Zeitlin
c0ae6c3bc4 PCH-less build fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48987 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-28 23:15:00 +00:00
Vadim Zeitlin
69a05ef6d6 correct properties were not set during initial add somehow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48986 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-28 23:14:08 +00:00
Vadim Zeitlin
32b171bc0e another compilation fix after wxCmdLineEntryDesc changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48985 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-28 22:17:37 +00:00
Vadim Zeitlin
ac0c512d86 PCH-less build fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48983 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-28 21:54:44 +00:00
Chris Elliott
3cb6eaec79 vc6 did not like this (void function returning a value)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48982 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-28 16:01:17 +00:00
Michael Wetherell
74e6734592 Add buildbot configuration.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48981 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-28 11:39:39 +00:00
Robert Roebling
fd8a7b0b37 [ 1803350 ] Wrong top-level window positioning on scrolled window
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48968 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-27 20:21:52 +00:00
Václav Slavík
ad259ba5b2 copy the list in wxList::operator=(), for consistency with typed macro-based lists
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48966 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-27 15:01:12 +00:00
Vadim Zeitlin
e6a8416274 added disambiguation for Clear() too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48965 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-27 12:49:18 +00:00
Vadim Zeitlin
944287e68e don't declare HasSelection() in this class and especially don't declare it as protected
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48964 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-27 12:47:12 +00:00
Vadim Zeitlin
30e62fdcb2 added msw/textentry{cpp,h}
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48963 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-27 12:44:14 +00:00
Václav Slavík
6987a0c480 fixed cellpadding when printing (bug #1795572)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48962 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-27 09:05:47 +00:00
Jouk Jansen
b693769692 git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48961 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 2007-09-27 08:09:44 +00:00
Vadim Zeitlin
2aebd278e3 continue with loading the message catalog even if setting the locale failed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48960 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-26 23:10:14 +00:00
Vadim Zeitlin
3a33127542 fixed command line processing which was preempted by wxApp::OnInit() call
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48959 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-26 22:57:02 +00:00