Commit Graph

33088 Commits

Author SHA1 Message Date
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
Robin Dunn
71caeaf3c0 Add scrollbars when the plot is zoomed in, and also the ability to
grab a zoomed plot and move it around with a mouse drag.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38186 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-17 22:45:37 +00:00
Stefan Csomor
5cd47bd76a disabling close box
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38185 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-17 20:51:38 +00:00
David Surovell
e542ecc6f6 cleanup - added some error checking, reformatting
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38184 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-17 19:11:32 +00:00
Stefan Csomor
7358f9073d intel pict fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38183 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-17 18:29:14 +00:00
Stefan Csomor
db28a493dd fixing a scope error introduced in 1.41
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38180 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-17 17:12:40 +00:00
Stefan Csomor
27ea6757f3 fix for sf bug 1448153: Widgets sample hangs on Japanese radio label
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38174 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-17 14:26:59 +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
Robert Roebling
1d115baf4b Added files for GnomeVFS backend (currently useful
for strictly nothing).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38171 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-17 14:08:58 +00:00