Commit Graph

33280 Commits

Author SHA1 Message Date
Julian Smart
acd8510fd2 Don't centre the frame on WinCE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38296 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-23 11:35:56 +00:00
Robert Roebling
90675b9582 Make generic wxDataViewCtrl draw its contents.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38295 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-23 11:02:20 +00:00
Włodzimierz Skiba
4bc6f7a06c Warning fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38294 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-23 10:11:05 +00:00
Włodzimierz Skiba
bb2955b339 Warning fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38293 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-23 09:57:59 +00:00
Vadim Zeitlin
30a29593e8 workaround for mingw 3.2.3 DLL build with wxUSE_STL=1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38292 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-23 02:01:25 +00:00
Vadim Zeitlin
d294c9db88 nested iterator classes must be dll-exported
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38291 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-23 01:01:50 +00:00
Vadim Zeitlin
d14e03f5b7 removed unneeded (and provoking warnings in DLL build) DLL export declarations
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38290 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-23 00:48:09 +00:00
Vadim Zeitlin
aa78d22e20 don't compare invalid iterators/node pointers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38289 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-23 00:47:01 +00:00
Vadim Zeitlin
b028252442 don't return true from wxRadioBox::AcceptsFocus() even when it's hidden/disabled
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38288 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-23 00:43:11 +00:00
David Surovell
7ca019817d fixed compilation issue in prior checkin
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38287 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-23 00:41:09 +00:00
David Surovell
8b4457965a cleanup - reformatting
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38286 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-22 23:03:04 +00:00
Włodzimierz Skiba
1ea9acd9aa wxFrameNameStr was already delivered by #include one line earlier.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38285 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-22 20:51:07 +00:00
Włodzimierz Skiba
a9672e89d5 DMC bug workaround.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38284 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-22 20:39:52 +00:00
Vadim Zeitlin
986d27c395 make it possible to predefine __WXFUNCTION__ in user code to have a different behaviour (e.g. use __PRETTY_FUNCTION instead of __FUNCTION__ with gcc) if needed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38283 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-22 19:37:58 +00:00
Vadim Zeitlin
fa3bd1aaea define __WXFUNCTION__ instead of redefining the (semi-)standard __FUNCTION__ which could result in conflicts
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38282 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-22 19:32:28 +00:00
Vadim Zeitlin
fd05688e22 documented __WXFUNCTION__
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38281 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-22 19:31:09 +00:00
Vadim Zeitlin
2bd3cba690 made alphabetical list of functions more alphabetical
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38280 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-22 19:20:28 +00:00
Vadim Zeitlin
d4d8988c72 made wxList methods return compatibility_iterator instead of Node * to further reduce differences between wxUSE_STL==0 and 1 cases
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38279 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-22 19:14:28 +00:00
Włodzimierz Skiba
80f218424f Semicolon needed.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38278 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-22 18:29:34 +00:00
Włodzimierz Skiba
045bd076c5 Test both constuctors. Warning fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38277 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-22 18:07:19 +00:00
Włodzimierz Skiba
7fb0a11d3a Unconditional assert means fail.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38276 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-22 17:55:05 +00:00
Julian Smart
c31be54ae0 Added missing include
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38275 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-22 17:39:33 +00:00
Julian Smart
3a46bcdd32 Mac compile fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38271 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-22 16:45:38 +00:00
David Surovell
7884ab9018 fix wxMac compilation problem by hoisting simple variable declarations above all goto stmts
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38270 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-22 16:21:55 +00:00
Włodzimierz Skiba
d17b1e7621 Warning fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38268 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-22 14:39:47 +00:00
Julian Smart
0cd6a2f8e6 Rearranged, added info about universal builds
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38267 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-22 14:38:06 +00:00
Vadim Zeitlin
0e0589e873 fixed handling PNG errors accidentally broken in rev 1.46 (libpng would just abort on invalid files now); fixed huge memory leak when failing to load an invalid PNG
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38265 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-22 14:12:48 +00:00
Włodzimierz Skiba
e1204086ba Build fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38264 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-22 13:24:23 +00:00
Robert Roebling
a0f3af5fb6 Setup notifiers from datamodel to generic
wxDataViewCtrl.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38263 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-22 10:27:29 +00:00
Robert Roebling
3d9d7cc4f7 In the generic version of wxDataViewCtrl, all
cells are custom cells (nothing native).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38262 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-22 10:01:57 +00:00
Jouk Jansen
bbc8b0ee18 Committing in .
Updates to make OpenVMS happy

 Modified Files:
 	wxWidgets/setup.h_vms wxWidgets/include/wx/defs.h
 	wxWidgets/src/gtk/choice.cpp wxWidgets/src/gtk/descrip.mms
 ----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38261 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-22 07:47:22 +00:00
Vadim Zeitlin
b503b4075c fixed wxCHECK in release build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38260 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-22 01:11:52 +00:00
Vadim Zeitlin
acc476c530 fixed __FUNCTION__ use in Unicode build (it's a variable, not a macro)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38257 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-21 17:00:16 +00:00
Vadim Zeitlin
8605eb1abe added ParseDate() tests; use CPPUNIT_ASSERT_EQUAL to see the dates in cppunit output
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38256 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-21 16:21:18 +00:00
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