]> git.saurik.com Git - wxWidgets.git/log
wxWidgets.git
18 years agoNeed to use wizard.GetPageAreaSizer().Add(page) now to get the layout
Robin Dunn [Fri, 24 Mar 2006 00:13:59 +0000 (00:13 +0000)] 
Need to use wizard.GetPageAreaSizer().Add(page) now to get the layout
handled correctly

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38323 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

18 years agowxFileSystemHandler needs a destructor and to give ownership to wxFileSystem
Robin Dunn [Fri, 24 Mar 2006 00:12:12 +0000 (00:12 +0000)] 
wxFileSystemHandler needs a destructor and to give ownership to wxFileSystem

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38322 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

18 years agoLength --> length
Robin Dunn [Fri, 24 Mar 2006 00:10:48 +0000 (00:10 +0000)] 
Length --> length

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38321 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

18 years agoSeveral instances of int --> unsigned int
Robin Dunn [Fri, 24 Mar 2006 00:08:45 +0000 (00:08 +0000)] 
Several instances of int --> unsigned int

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38320 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

18 years agoreplaced all int/size_t indices in wxControlWithItems API with unsigned int (committi...
Vadim Zeitlin [Thu, 23 Mar 2006 22:05:23 +0000 (22:05 +0000)] 
replaced all int/size_t indices in wxControlWithItems API with unsigned int (committing on behalf of ABX)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38319 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

18 years agominor cleanup
David Surovell [Thu, 23 Mar 2006 22:04:57 +0000 (22:04 +0000)] 
minor cleanup

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38318 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

18 years agoFixes/makefiles for building data view control on Windows
Julian Smart [Thu, 23 Mar 2006 21:28:24 +0000 (21:28 +0000)] 
Fixes/makefiles for building data view control on Windows

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38317 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

18 years ago Take into account cell's own size, not only the
Robert Roebling [Thu, 23 Mar 2006 19:00:53 +0000 (19:00 +0000)] 
  Take into account cell's own size, not only the
    space allocated to it (mostly much more).

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38316 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

18 years agofiledata implementation streamlined
Stefan Csomor [Thu, 23 Mar 2006 18:18:20 +0000 (18:18 +0000)] 
filedata implementation streamlined

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38315 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

18 years agoimplementation streamlined
Stefan Csomor [Thu, 23 Mar 2006 18:16:02 +0000 (18:16 +0000)] 
implementation streamlined

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38314 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

18 years agosetting the hacked cocoa font panel as default
Stefan Csomor [Thu, 23 Mar 2006 18:11:54 +0000 (18:11 +0000)] 
setting the hacked cocoa font panel as default

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38313 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

18 years agoconvenience methods
Stefan Csomor [Thu, 23 Mar 2006 18:09:04 +0000 (18:09 +0000)] 
convenience methods

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38312 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

18 years agobetter file data support
Stefan Csomor [Thu, 23 Mar 2006 18:06:28 +0000 (18:06 +0000)] 
better file data support

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38311 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

18 years agofixed last commit which accidentally included parts of upcoming size_t/unsigned patch
Vadim Zeitlin [Thu, 23 Mar 2006 17:45:00 +0000 (17:45 +0000)] 
fixed last commit which accidentally included parts of upcoming size_t/unsigned patch

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38310 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

18 years agoAdded missing declarations required for e.g. VC++ 6
Julian Smart [Thu, 23 Mar 2006 17:15:47 +0000 (17:15 +0000)] 
Added missing declarations required for e.g. VC++ 6

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38309 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

18 years agoMinor fixes after last commit:
Vadim Zeitlin [Thu, 23 Mar 2006 16:56:19 +0000 (16:56 +0000)] 
Minor fixes after last commit:
1. don't pass -1 to base class DoSetSize(), this is documented to not work
   under Win2k
2. instead, don't do anything at all if neither size nor position changed
3. only call DoGetSize() once instead of doing it in both if branches
4. added comment about 30000 returned by CB_GETDROPPEDCONTROLRECT

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38308 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

18 years ago1. fixed compilation after wxList::compatibility_iterator changes
Vadim Zeitlin [Thu, 23 Mar 2006 16:29:02 +0000 (16:29 +0000)] 
1. fixed compilation after wxList::compatibility_iterator changes
2. removed #if wxUSE_STL tests which are not needed any longer
3. better fix for SetCurrent() virtual hiding: just rename the method

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38307 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

18 years agoreverted return type of wxList method to nodetype * from compatibility_iterator ...
Vadim Zeitlin [Thu, 23 Mar 2006 16:19:48 +0000 (16:19 +0000)] 
reverted return type of wxList method to nodetype * from compatibility_iterator (undoing change of rev 1.103) because this breaks very old core relying on conversion of wxList::GetFirst() to wxNode* for example

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38306 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

18 years agoMiscellaneous change log updates.
Julian Smart [Thu, 23 Mar 2006 16:16:49 +0000 (16:16 +0000)] 
Miscellaneous change log updates.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38305 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

18 years agoFixed home and end accelerators.
Julian Smart [Thu, 23 Mar 2006 16:16:00 +0000 (16:16 +0000)] 
Fixed home and end accelerators.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38304 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

18 years agono longer need reverse renamers for the *Ptr classes
Robin Dunn [Thu, 23 Mar 2006 15:56:22 +0000 (15:56 +0000)] 
no longer need reverse renamers for the *Ptr classes

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38302 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

18 years agoAdded an optimization that fixes a recursive paint problem when controls
Julian Smart [Thu, 23 Mar 2006 15:28:02 +0000 (15:28 +0000)] 
Added an optimization that fixes a recursive paint problem when controls
are embedded in wxHTML (or other circumstances where the parent resizes
the choice/combobox within a paint handler). This also speeds up
addition of strings considerably (see "Add many strings" in widgets sample).

Also added a check for silly values that can be returned from
CB_GETDROPPEDCONTROLRECT.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38301 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

18 years agoCentering maximized wxTLWs on screen should do nothing.
Włodzimierz Skiba [Thu, 23 Mar 2006 13:00:06 +0000 (13:00 +0000)] 
Centering maximized wxTLWs on screen should do nothing.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38300 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

18 years agoUnconditional assert means fail.
Włodzimierz Skiba [Thu, 23 Mar 2006 11:47:21 +0000 (11:47 +0000)] 
Unconditional assert means fail.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38299 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

18 years ago Implement basic MVC logic (change an item in one
Robert Roebling [Thu, 23 Mar 2006 11:44:57 +0000 (11:44 +0000)] 
  Implement basic MVC logic (change an item in one
   view and all views update themselves) and made
   wxDataViewToggleCell react to mouse clicks as a
   test for that (generic code).

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38298 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

18 years agoDon't centre the frame on WinCE
Julian Smart [Thu, 23 Mar 2006 11:35:56 +0000 (11:35 +0000)] 
Don't centre the frame on WinCE

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38296 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

18 years ago Make generic wxDataViewCtrl draw its contents.
Robert Roebling [Thu, 23 Mar 2006 11:02:20 +0000 (11:02 +0000)] 
  Make generic wxDataViewCtrl draw its contents.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38295 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

18 years agoWarning fix.
Włodzimierz Skiba [Thu, 23 Mar 2006 10:11:05 +0000 (10:11 +0000)] 
Warning fix.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38294 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

18 years agoWarning fix.
Włodzimierz Skiba [Thu, 23 Mar 2006 09:57:59 +0000 (09:57 +0000)] 
Warning fix.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38293 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

18 years agoworkaround for mingw 3.2.3 DLL build with wxUSE_STL=1
Vadim Zeitlin [Thu, 23 Mar 2006 02:01:25 +0000 (02:01 +0000)] 
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

18 years agonested iterator classes must be dll-exported
Vadim Zeitlin [Thu, 23 Mar 2006 01:01:50 +0000 (01:01 +0000)] 
nested iterator classes must be dll-exported

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38291 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

18 years agoremoved unneeded (and provoking warnings in DLL build) DLL export declarations
Vadim Zeitlin [Thu, 23 Mar 2006 00:48:09 +0000 (00:48 +0000)] 
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

18 years agodon't compare invalid iterators/node pointers
Vadim Zeitlin [Thu, 23 Mar 2006 00:47:01 +0000 (00:47 +0000)] 
don't compare invalid iterators/node pointers

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38289 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

18 years agodon't return true from wxRadioBox::AcceptsFocus() even when it's hidden/disabled
Vadim Zeitlin [Thu, 23 Mar 2006 00:43:11 +0000 (00:43 +0000)] 
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

18 years agofixed compilation issue in prior checkin
David Surovell [Thu, 23 Mar 2006 00:41:09 +0000 (00:41 +0000)] 
fixed compilation issue in prior checkin

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38287 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

18 years agocleanup - reformatting
David Surovell [Wed, 22 Mar 2006 23:03:04 +0000 (23:03 +0000)] 
cleanup - reformatting

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38286 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

18 years agowxFrameNameStr was already delivered by #include one line earlier.
Włodzimierz Skiba [Wed, 22 Mar 2006 20:51:07 +0000 (20:51 +0000)] 
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

18 years agoDMC bug workaround.
Włodzimierz Skiba [Wed, 22 Mar 2006 20:39:52 +0000 (20:39 +0000)] 
DMC bug workaround.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38284 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

18 years agomake it possible to predefine __WXFUNCTION__ in user code to have a different behavio...
Vadim Zeitlin [Wed, 22 Mar 2006 19:37:58 +0000 (19:37 +0000)] 
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

18 years agodefine __WXFUNCTION__ instead of redefining the (semi-)standard __FUNCTION__ which...
Vadim Zeitlin [Wed, 22 Mar 2006 19:32:28 +0000 (19:32 +0000)] 
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

18 years agodocumented __WXFUNCTION__
Vadim Zeitlin [Wed, 22 Mar 2006 19:31:09 +0000 (19:31 +0000)] 
documented __WXFUNCTION__

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38281 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

18 years agomade alphabetical list of functions more alphabetical
Vadim Zeitlin [Wed, 22 Mar 2006 19:20:28 +0000 (19:20 +0000)] 
made alphabetical list of functions more alphabetical

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38280 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

18 years agomade wxList methods return compatibility_iterator instead of Node * to further reduce...
Vadim Zeitlin [Wed, 22 Mar 2006 19:14:28 +0000 (19:14 +0000)] 
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

18 years agoSemicolon needed.
Włodzimierz Skiba [Wed, 22 Mar 2006 18:29:34 +0000 (18:29 +0000)] 
Semicolon needed.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38278 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

18 years agoTest both constuctors. Warning fix.
Włodzimierz Skiba [Wed, 22 Mar 2006 18:07:19 +0000 (18:07 +0000)] 
Test both constuctors. Warning fix.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38277 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

18 years agoUnconditional assert means fail.
Włodzimierz Skiba [Wed, 22 Mar 2006 17:55:05 +0000 (17:55 +0000)] 
Unconditional assert means fail.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38276 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

18 years agoAdded missing include
Julian Smart [Wed, 22 Mar 2006 17:39:33 +0000 (17:39 +0000)] 
Added missing include

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38275 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

18 years agoMac compile fixes
Julian Smart [Wed, 22 Mar 2006 16:45:38 +0000 (16:45 +0000)] 
Mac compile fixes

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38271 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

18 years agofix wxMac compilation problem by hoisting simple variable declarations above all...
David Surovell [Wed, 22 Mar 2006 16:21:55 +0000 (16:21 +0000)] 
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

18 years agoWarning fix.
Włodzimierz Skiba [Wed, 22 Mar 2006 14:39:47 +0000 (14:39 +0000)] 
Warning fix.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38268 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

18 years agoRearranged, added info about universal builds
Julian Smart [Wed, 22 Mar 2006 14:38:06 +0000 (14:38 +0000)] 
Rearranged, added info about universal builds

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38267 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

18 years agofixed handling PNG errors accidentally broken in rev 1.46 (libpng would just abort...
Vadim Zeitlin [Wed, 22 Mar 2006 14:12:48 +0000 (14:12 +0000)] 
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

18 years agoBuild fix.
Włodzimierz Skiba [Wed, 22 Mar 2006 13:24:23 +0000 (13:24 +0000)] 
Build fix.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38264 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

18 years ago Setup notifiers from datamodel to generic
Robert Roebling [Wed, 22 Mar 2006 10:27:29 +0000 (10:27 +0000)] 
  Setup notifiers from datamodel to generic
    wxDataViewCtrl.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38263 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

18 years ago In the generic version of wxDataViewCtrl, all
Robert Roebling [Wed, 22 Mar 2006 10:01:57 +0000 (10:01 +0000)] 
  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

18 years ago Committing in .
Jouk Jansen [Wed, 22 Mar 2006 07:47:22 +0000 (07:47 +0000)] 
 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

18 years agofixed wxCHECK in release build
Vadim Zeitlin [Wed, 22 Mar 2006 01:11:52 +0000 (01:11 +0000)] 
fixed wxCHECK in release build

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38260 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

18 years agofixed __FUNCTION__ use in Unicode build (it's a variable, not a macro)
Vadim Zeitlin [Tue, 21 Mar 2006 17:00:16 +0000 (17:00 +0000)] 
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

18 years agoadded ParseDate() tests; use CPPUNIT_ASSERT_EQUAL to see the dates in cppunit output
Vadim Zeitlin [Tue, 21 Mar 2006 16:21:18 +0000 (16:21 +0000)] 
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

18 years agofixed several bugs in ParseDate() (invalid dates could result in assert failure while...
Vadim Zeitlin [Tue, 21 Mar 2006 16:20:43 +0000 (16:20 +0000)] 
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

18 years agodon't throw away the first three stack frames in the assert stack dump (fix needed...
Vadim Zeitlin [Tue, 21 Mar 2006 15:59:58 +0000 (15:59 +0000)] 
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

18 years agoshow the function in which the assert failure occured if the compiler supports it
Vadim Zeitlin [Tue, 21 Mar 2006 15:47:24 +0000 (15:47 +0000)] 
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

18 years agouse new wxAPPLY_T macro instead of 3 identical __XDATE__/__XTIME__/__XFILE__ ones
Vadim Zeitlin [Tue, 21 Mar 2006 15:43:46 +0000 (15:43 +0000)] 
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

18 years agoshow the function in which the assert failure occured if the compiler supports it
Vadim Zeitlin [Tue, 21 Mar 2006 15:19:53 +0000 (15:19 +0000)] 
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

18 years agorecognize bitmap2 tag as containing a bitmap (used for disabled toolbar buttons)
Vadim Zeitlin [Tue, 21 Mar 2006 15:12:37 +0000 (15:12 +0000)] 
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

18 years agodon't evaluate assert expression unless the condition is false (patch 1450705)
Vadim Zeitlin [Tue, 21 Mar 2006 14:17:49 +0000 (14:17 +0000)] 
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

18 years agoadded semicolons after wxCHECK()s (part of patch 1450705)
Vadim Zeitlin [Tue, 21 Mar 2006 14:16:34 +0000 (14:16 +0000)] 
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

18 years agoMade wxList::compatibility_iterator a class in wxUSE_STL == 0 case too instead
Vadim Zeitlin [Tue, 21 Mar 2006 14:05:11 +0000 (14:05 +0000)] 
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

18 years agogcc 4.0 for all
Stefan Csomor [Tue, 21 Mar 2006 13:53:47 +0000 (13:53 +0000)] 
gcc 4.0 for all

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38246 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

18 years agocan't pass objects through ... (please don't ever ignore this gcc warning)
Vadim Zeitlin [Tue, 21 Mar 2006 13:33:08 +0000 (13:33 +0000)] 
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

18 years agoadded wxGtkString::c_str()
Vadim Zeitlin [Tue, 21 Mar 2006 13:31:35 +0000 (13:31 +0000)] 
added wxGtkString::c_str()

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38244 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

18 years agoreturn NULL (and not invalid) iterator from compatibility_iterator::GetPrevious(...
Vadim Zeitlin [Tue, 21 Mar 2006 13:17:31 +0000 (13:17 +0000)] 
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

18 years agoadded assert to verify that operands are initialized in compatibility_iterator::opera...
Vadim Zeitlin [Tue, 21 Mar 2006 13:14:19 +0000 (13:14 +0000)] 
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

18 years agobetter fix for infinite loop in HandleOnNavigationKey() when wxUSE_STL==1 and start_n...
Vadim Zeitlin [Tue, 21 Mar 2006 13:10:20 +0000 (13:10 +0000)] 
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

18 years agoreuse operator bool() check in compatibility_iterator::IndexOf() instead of rewriting it
Vadim Zeitlin [Tue, 21 Mar 2006 13:00:19 +0000 (13:00 +0000)] 
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

18 years agofix an infinite loop in HandleOnNavigationKey() when wxUSE_STL==1 and start_node...
Vadim Zeitlin [Tue, 21 Mar 2006 12:53:28 +0000 (12:53 +0000)] 
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

18 years ago Added windowing and scrolling logic to generic
Robert Roebling [Tue, 21 Mar 2006 12:30:06 +0000 (12:30 +0000)] 
  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

18 years agoFix accelerstors with down and left
Julian Smart [Tue, 21 Mar 2006 11:30:23 +0000 (11:30 +0000)] 
Fix accelerstors with down and left

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38237 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

18 years agoFixed a crash when deleting the last timer
Julian Smart [Tue, 21 Mar 2006 11:25:26 +0000 (11:25 +0000)] 
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

18 years agoUse wxGtkString here too
Mart Raudsepp [Tue, 21 Mar 2006 09:24:47 +0000 (09:24 +0000)] 
Use wxGtkString here too

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38233 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

18 years agoremoved Julian's hack that is no longer needed after wxBitmap stubs were added even...
Václav Slavík [Mon, 20 Mar 2006 23:25:48 +0000 (23:25 +0000)] 
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

18 years agoexplain why do you need wxUSE_WXDIB
Vadim Zeitlin [Mon, 20 Mar 2006 23:24:47 +0000 (23:24 +0000)] 
explain why do you need wxUSE_WXDIB

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38231 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

18 years agoprovide stubs for conversion to/from image functions even when wxUSE_WXDIB==0, this...
Vadim Zeitlin [Mon, 20 Mar 2006 23:23:00 +0000 (23:23 +0000)] 
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

18 years agoremoved hard tabs
Vadim Zeitlin [Mon, 20 Mar 2006 22:57:07 +0000 (22:57 +0000)] 
removed hard tabs

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38229 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

18 years agofixed GetBitmap() to respect the "param" argument if !wxUSE_FILESYSTEM
Václav Slavík [Mon, 20 Mar 2006 22:26:39 +0000 (22:26 +0000)] 
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

18 years agoreSWIGged
Robin Dunn [Mon, 20 Mar 2006 18:26:35 +0000 (18:26 +0000)] 
reSWIGged

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38227 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

18 years agoEditors, Renderers and Attrs need to have a destructor so SWIG won't
Robin Dunn [Mon, 20 Mar 2006 18:02:37 +0000 (18:02 +0000)] 
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

18 years agoUse the static method instead of the global alias
Robin Dunn [Mon, 20 Mar 2006 17:56:42 +0000 (17:56 +0000)] 
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

18 years agoinitialize wxZipFSHandler even when wxUSE_GIF=0
Vadim Zeitlin [Mon, 20 Mar 2006 17:09:03 +0000 (17:09 +0000)] 
initialize wxZipFSHandler even when wxUSE_GIF=0

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38224 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

18 years ago Further compilation fixes.
Robert Roebling [Mon, 20 Mar 2006 16:44:46 +0000 (16:44 +0000)] 
  Further compilation fixes.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38223 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

18 years ago Compilation fixes.
Robert Roebling [Mon, 20 Mar 2006 16:41:41 +0000 (16:41 +0000)] 
  Compilation fixes.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38222 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

18 years ago Added (yet unfunctional) skeleton files fir
Robert Roebling [Mon, 20 Mar 2006 16:37:24 +0000 (16:37 +0000)] 
  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

18 years agofixed Clear() for GTK+ 2.4+
Vadim Zeitlin [Mon, 20 Mar 2006 12:17:03 +0000 (12:17 +0000)] 
fixed Clear() for GTK+ 2.4+

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38220 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

18 years agocorrected cross-reference to non existent note
Vadim Zeitlin [Sun, 19 Mar 2006 13:43:58 +0000 (13:43 +0000)] 
corrected cross-reference to non existent note

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38218 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

18 years agorewire char events in case there is no focusable control on a tlw
Stefan Csomor [Sun, 19 Mar 2006 10:55:09 +0000 (10:55 +0000)] 
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

18 years agoA bit of cleanup
Robin Dunn [Sun, 19 Mar 2006 02:22:08 +0000 (02:22 +0000)] 
A bit of cleanup

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38216 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

18 years agodocstrings
Robin Dunn [Sun, 19 Mar 2006 02:17:43 +0000 (02:17 +0000)] 
docstrings

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38215 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

18 years agoAdd wxHelpProvider destructor
Robin Dunn [Sun, 19 Mar 2006 02:16:08 +0000 (02:16 +0000)] 
Add wxHelpProvider destructor

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38214 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

18 years agoDemonstrate setting metal appearance for wxMac
Robin Dunn [Sat, 18 Mar 2006 22:17:39 +0000 (22:17 +0000)] 
Demonstrate setting metal appearance for wxMac

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38213 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

18 years agodo not assign uniChar to wxKeyEvent::m_keyCode for EVT_CHAR events; this breaks any...
Vadim Zeitlin [Sat, 18 Mar 2006 17:14:55 +0000 (17:14 +0000)] 
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