Commit Graph

33096 Commits

Author SHA1 Message Date
Vadim Zeitlin
eca0692c77 fixed several bugs in ParseDate() (invalid dates could result in assert failure while some valid dates such as 29 Feb 2004 were not recognized)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38255 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-21 16:20:43 +00:00
Vadim Zeitlin
b0d8bfa6cd don't throw away the first three stack frames in the assert stack dump (fix needed after recent assert cleanup/changes)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38254 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-21 15:59:58 +00:00
Vadim Zeitlin
3ec4a23f50 show the function in which the assert failure occured if the compiler supports it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38253 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-21 15:47:24 +00:00
Vadim Zeitlin
20a4311e7f use new wxAPPLY_T macro instead of 3 identical __XDATE__/__XTIME__/__XFILE__ ones
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38252 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-21 15:43:46 +00:00
Vadim Zeitlin
dfa0b52f4a show the function in which the assert failure occured if the compiler supports it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38251 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-21 15:19:53 +00:00
Vadim Zeitlin
bc151e8486 recognize bitmap2 tag as containing a bitmap (used for disabled toolbar buttons)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38250 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-21 15:12:37 +00:00
Vadim Zeitlin
497a2d6d54 don't evaluate assert expression unless the condition is false (patch 1450705)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38249 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-21 14:17:49 +00:00
Vadim Zeitlin
637b7e4f3a added semicolons after wxCHECK()s (part of patch 1450705)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38248 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-21 14:16:34 +00:00
Vadim Zeitlin
0cc70962a1 Made wxList::compatibility_iterator a class in wxUSE_STL == 0 case too instead
of a simple typedef to "Node *" to be able to initialize it with NULL in ctor
which makes the behaviour of the code with and without wxUSE_STL the same.


The price to pay is that the code like

	wxList:compatibility_iterator ci;
	ci = cond ? list->GetFirst() : wxList::compatibility_iterator();

doesn't compile any more and has to be replaced with (more clear anyhow)

	wxList:compatibility_iterator ci;
	if ( cond )
		ci = list->GetFirst();


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38247 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-21 14:05:11 +00:00
Stefan Csomor
06840f1796 gcc 4.0 for all
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38246 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-21 13:53:47 +00:00
Vadim Zeitlin
ed97f493ab can't pass objects through ... (please don't ever ignore this gcc warning)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38245 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-21 13:33:08 +00:00
Vadim Zeitlin
46cb4b3f8a added wxGtkString::c_str()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38244 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-21 13:31:35 +00:00
Vadim Zeitlin
5d9ef6deec return NULL (and not invalid) iterator from compatibility_iterator::GetPrevious() when we're at the start of the list (see patch 1445506)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38243 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-21 13:17:31 +00:00
Vadim Zeitlin
b4affacc10 added assert to verify that operands are initialized in compatibility_iterator::operator==()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38242 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-21 13:14:19 +00:00
Vadim Zeitlin
e547f7a7b8 better fix for infinite loop in HandleOnNavigationKey() when wxUSE_STL==1 and start_node is NULL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38241 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-21 13:10:20 +00:00
Vadim Zeitlin
0b6cf20588 reuse operator bool() check in compatibility_iterator::IndexOf() instead of rewriting it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38240 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-21 13:00:19 +00:00
Vadim Zeitlin
edc0a395c6 fix an infinite loop in HandleOnNavigationKey() when wxUSE_STL==1 and start_node is NULL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38239 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-21 12:53:28 +00:00
Robert Roebling
4b3feaa75d Added windowing and scrolling logic to generic
implementation of wxDataViewCtrl (it runs now).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38238 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-21 12:30:06 +00:00
Julian Smart
40cc34ec56 Fix accelerstors with down and left
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38237 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-21 11:30:23 +00:00
Julian Smart
dd7230ab0b Fixed a crash when deleting the last timer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38235 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-21 11:25:26 +00:00
Mart Raudsepp
b976323b04 Use wxGtkString here too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38233 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-21 09:24:47 +00:00
Václav Slavík
577579933d removed Julian's hack that is no longer needed after wxBitmap stubs were added even for DIB-less build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38232 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-20 23:25:48 +00:00
Vadim Zeitlin
da75a14e72 explain why do you need wxUSE_WXDIB
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38231 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-20 23:24:47 +00:00
Vadim Zeitlin
50a9dd77f5 provide stubs for conversion to/from image functions even when wxUSE_WXDIB==0, this allows to not test for it in other places
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38230 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-20 23:23:00 +00:00
Vadim Zeitlin
511fb92a6c removed hard tabs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38229 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-20 22:57:07 +00:00
Václav Slavík
45f3249bb6 fixed GetBitmap() to respect the "param" argument if !wxUSE_FILESYSTEM
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38228 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-20 22:26:39 +00:00
Robin Dunn
f52cbe909c reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38227 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-20 18:26:35 +00:00
Robin Dunn
607a3fa066 Editors, Renderers and Attrs need to have a destructor so SWIG won't
complain about it, but since they are protected in C++ we need to give
them a dummy one.  In the future these shoud be changed to use
%ref/%unref and let SWIG manage the refcount for us.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38226 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-20 18:02:37 +00:00
Robin Dunn
ce1522a1f2 Use the static method instead of the global alias
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38225 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-20 17:56:42 +00:00
Vadim Zeitlin
a6c355d270 initialize wxZipFSHandler even when wxUSE_GIF=0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38224 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-20 17:09:03 +00:00
Robert Roebling
45778c96d4 Further compilation fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38223 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-20 16:44:46 +00:00
Robert Roebling
9d14de69f4 Compilation fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38222 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-20 16:41:41 +00:00
Robert Roebling
4ed7af081e Added (yet unfunctional) skeleton files fir
generic implementation of wxDataViewCtrl.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38221 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-20 16:37:24 +00:00
Vadim Zeitlin
c1a3ff259e fixed Clear() for GTK+ 2.4+
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38220 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-20 12:17:03 +00:00
Vadim Zeitlin
be27bc46ab corrected cross-reference to non existent note
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38218 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-19 13:43:58 +00:00
Stefan Csomor
ffc75ee452 rewire char events in case there is no focusable control on a tlw
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38217 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-19 10:55:09 +00:00
Robin Dunn
80b6bf7c7c A bit of cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38216 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-19 02:22:08 +00:00
Robin Dunn
ac288fac82 docstrings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38215 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-19 02:17:43 +00:00
Robin Dunn
6cedc146fa Add wxHelpProvider destructor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38214 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-19 02:16:08 +00:00
Robin Dunn
f70ec5b8f7 Demonstrate setting metal appearance for wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38213 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-18 22:17:39 +00:00
Vadim Zeitlin
dd44c9e02c do not assign uniChar to wxKeyEvent::m_keyCode for EVT_CHAR events; this breaks any code handling things like arrow keys as it gets absolutely useless kDownArrowCharCode instead of WXK_DOWN for example
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38211 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-18 17:14:55 +00:00
Vadim Zeitlin
8470c37812 removed redundant declaration (no real changes)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38210 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-18 17:04:47 +00:00
Vadim Zeitlin
2dd52041d0 fixed crash introduced in rev. 187 for all non-MSW platforms
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38208 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-18 16:53:42 +00:00
Mart Raudsepp
e027bfd9cb Update copyright years. Is manual2e.tex even used anymore? Much information in it is out of date.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38205 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-18 13:32:23 +00:00
Mart Raudsepp
a73554d4be Test commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38203 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-18 12:59:09 +00:00
Mart Raudsepp
bb7a709657 Testing CVSROOT/loginfo changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38202 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-18 12:25:56 +00:00
Mart Raudsepp
a9c876c0b0 Test wxPython CIA announcement
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38200 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-18 12:19:16 +00:00
Robin Dunn
1c47620268 New source dirs that need installed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38192 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-18 01:03:45 +00:00
Robin Dunn
0ae3258d7a SWIG 1.3.29 updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38191 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-18 01:03:08 +00:00
Robin Dunn
10ae0adb58 Add DoGetBestSize
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38188 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-17 22:50:05 +00:00