]> git.saurik.com Git - wxWidgets.git/log
wxWidgets.git
16 years agoMoved wxPGChoices m_choices member from various property classes to base wxPGProperty...
Jaakko Salli [Fri, 19 Sep 2008 16:57:33 +0000 (16:57 +0000)] 
Moved wxPGChoices m_choices member from various property classes to base wxPGProperty. This allows any property to have choices without subclassing and therefore work with Choice and ComboBox editors. Also removed redundant choice manipulation functions from wxPropertyGridinterface (ie. now use ones in wxPGProperty).

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

16 years agoDo not insert client data if client data is not used
Jaakko Salli [Fri, 19 Sep 2008 16:43:40 +0000 (16:43 +0000)] 
Do not insert client data if client data is not used

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

16 years agoChange <checkout> slightly so that it doesn't display the branch as it makes
Michael Wetherell [Fri, 19 Sep 2008 10:42:18 +0000 (10:42 +0000)] 
Change <checkout> slightly so that it doesn't display the branch as it makes
the column rather wide.

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

16 years agoimproved support for typedefs
Francesco Montorsi [Fri, 19 Sep 2008 10:28:47 +0000 (10:28 +0000)] 
improved support for typedefs

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

16 years agoadd unit test for wxTextEntry methods of wxComboBox
Vadim Zeitlin [Fri, 19 Sep 2008 10:18:30 +0000 (10:18 +0000)] 
add unit test for wxTextEntry methods of wxComboBox

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

16 years agofix bug in SetInsertionPoint(-1) implementation
Vadim Zeitlin [Fri, 19 Sep 2008 10:17:51 +0000 (10:17 +0000)] 
fix bug in SetInsertionPoint(-1) implementation

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

16 years agoset selection point to end in wxTextEntryBase::SetValue() as this should be done...
Vadim Zeitlin [Fri, 19 Sep 2008 10:13:38 +0000 (10:13 +0000)] 
set selection point to end in wxTextEntryBase::SetValue() as this should be done in all ports and in all controls (fixes a unit test failure for wxComboBox)

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

16 years agoimplement EnableTextChangedEvents() to make ChangeValue() work as expected, i.e....
Vadim Zeitlin [Fri, 19 Sep 2008 10:08:02 +0000 (10:08 +0000)] 
implement EnableTextChangedEvents() to make ChangeValue() work as expected, i.e. not generate any events

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

16 years agodo enable PCH for the tests, wx/wx.h was not precompiled for them resulting in much...
Vadim Zeitlin [Fri, 19 Sep 2008 09:03:01 +0000 (09:03 +0000)] 
do enable PCH for the tests, wx/wx.h was not precompiled for them resulting in much slower compilation than expected

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

16 years agoextract wxTextEntry unit tests in a reusable base class
Vadim Zeitlin [Fri, 19 Sep 2008 08:55:25 +0000 (08:55 +0000)] 
extract wxTextEntry unit tests in a reusable base class

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

16 years agoset buffer length after reading the file contents into it successfully (part of ...
Vadim Zeitlin [Fri, 19 Sep 2008 08:18:30 +0000 (08:18 +0000)] 
set buffer length after reading the file contents into it successfully (part of #9980)

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

16 years agoreturn 0 (meaning the file is not seekable, as the docs now explain) instead of 4KB...
Vadim Zeitlin [Fri, 19 Sep 2008 08:11:44 +0000 (08:11 +0000)] 
return 0 (meaning the file is not seekable, as the docs now explain) instead of 4KB for the files in sysfs under Linux (#9965)

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

16 years agofix ownerdrawn button label drawing in ODS_NOACCEL case (#3519)
Vadim Zeitlin [Fri, 19 Sep 2008 07:50:44 +0000 (07:50 +0000)] 
fix ownerdrawn button label drawing in ODS_NOACCEL case (#3519)

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

16 years agocancel the current operation if mouse capture is lost (#9979)
Vadim Zeitlin [Fri, 19 Sep 2008 07:38:24 +0000 (07:38 +0000)] 
cancel the current operation if mouse capture is lost (#9979)

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

16 years agoMove definition of wxListIteratorFunction and ..SortFuntion to defs.h so it can be...
Robert Roebling [Thu, 18 Sep 2008 19:05:21 +0000 (19:05 +0000)] 
Move definition of wxListIteratorFunction and ..SortFuntion to defs.h so it can be used from elsewhere

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

16 years agofix for gccxml
Francesco Montorsi [Thu, 18 Sep 2008 18:47:57 +0000 (18:47 +0000)] 
fix for gccxml

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

16 years agofix default arguments for various functions/ctors
Francesco Montorsi [Thu, 18 Sep 2008 18:47:34 +0000 (18:47 +0000)] 
fix default arguments for various functions/ctors

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

16 years agofew details fixed
Francesco Montorsi [Thu, 18 Sep 2008 18:34:33 +0000 (18:34 +0000)] 
few details fixed

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

16 years agoremove tests, from trunk, until we've sorted out the hangs
Stefan Csomor [Thu, 18 Sep 2008 18:14:21 +0000 (18:14 +0000)] 
remove tests, from trunk, until we've sorted out the hangs

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

16 years agoRemoved unused comment
Jaakko Salli [Thu, 18 Sep 2008 17:47:19 +0000 (17:47 +0000)] 
Removed unused comment

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

16 years agoDocument struct wxPGPaintData in function docs of only function that uses it
Jaakko Salli [Thu, 18 Sep 2008 17:43:15 +0000 (17:43 +0000)] 
Document struct wxPGPaintData in function docs of only function that uses it

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

16 years agomention that you need to update samples/samples.dsw manually currently
Vadim Zeitlin [Thu, 18 Sep 2008 17:40:58 +0000 (17:40 +0000)] 
mention that you need to update samples/samples.dsw manually currently

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

16 years agoAdded section for propgrid sample
Jaakko Salli [Thu, 18 Sep 2008 17:25:48 +0000 (17:25 +0000)] 
Added section for propgrid sample

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

16 years agoReplaced @link with @ref
Jaakko Salli [Thu, 18 Sep 2008 17:14:13 +0000 (17:14 +0000)] 
Replaced @link with @ref

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

16 years agouse #defines, not typedefs, for compatibility class names declarations to avoid break...
Vadim Zeitlin [Thu, 18 Sep 2008 16:56:53 +0000 (16:56 +0000)] 
use #defines, not typedefs, for compatibility class names declarations to avoid breaking existing code forward declaring them

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

16 years agoMade section names more globally unique
Jaakko Salli [Thu, 18 Sep 2008 16:53:47 +0000 (16:53 +0000)] 
Made section names more globally unique

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

16 years agorebaked after propgrid sample addition
Vadim Zeitlin [Thu, 18 Sep 2008 16:44:48 +0000 (16:44 +0000)] 
rebaked after propgrid sample addition

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

16 years agoAdded 'propgrid'
Jaakko Salli [Thu, 18 Sep 2008 15:23:18 +0000 (15:23 +0000)] 
Added 'propgrid'

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

16 years agoadding new commands for tests
Stefan Csomor [Thu, 18 Sep 2008 12:27:06 +0000 (12:27 +0000)] 
adding new commands for tests

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

16 years agofixing deprecated constructors for osx
Stefan Csomor [Thu, 18 Sep 2008 09:12:32 +0000 (09:12 +0000)] 
fixing deprecated constructors for osx

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

16 years agoin release builds gcc on osx evaporates these inlines if not WXEXPORTed
Stefan Csomor [Thu, 18 Sep 2008 08:38:25 +0000 (08:38 +0000)] 
in release builds gcc on osx evaporates these inlines if not WXEXPORTed

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

16 years agoensure that the copies of the bitmap passed to wxMemoryDC ctor are not modified when...
Vadim Zeitlin [Wed, 17 Sep 2008 22:20:38 +0000 (22:20 +0000)] 
ensure that the copies of the bitmap passed to wxMemoryDC ctor are not modified when this bitmap is

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

16 years agoRemoved wxPGProperty class overview docs from actual header file
Jaakko Salli [Wed, 17 Sep 2008 18:15:36 +0000 (18:15 +0000)] 
Removed wxPGProperty class overview docs from actual header file

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

16 years agoFixed typos
Jaakko Salli [Wed, 17 Sep 2008 18:11:49 +0000 (18:11 +0000)] 
Fixed typos

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

16 years agoRemoved unused commented-out define
Jaakko Salli [Wed, 17 Sep 2008 18:09:29 +0000 (18:09 +0000)] 
Removed unused commented-out define

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

16 years agominor corrections
Robert Roebling [Wed, 17 Sep 2008 18:08:46 +0000 (18:08 +0000)] 
minor corrections

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

16 years agoRemoved #ifndef DOXYGEN
Jaakko Salli [Wed, 17 Sep 2008 18:08:22 +0000 (18:08 +0000)] 
Removed #ifndef DOXYGEN

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

16 years agoAdded separate SetFocusOnCanvas() function so that m_editorFocused will be more relia...
Jaakko Salli [Wed, 17 Sep 2008 17:34:22 +0000 (17:34 +0000)] 
Added separate SetFocusOnCanvas() function so that m_editorFocused will be more reliable updated

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

16 years agoRemoved some old testing code. Added more appropriate minimal content.
Jaakko Salli [Wed, 17 Sep 2008 15:49:52 +0000 (15:49 +0000)] 
Removed some old testing code. Added more appropriate minimal content.

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

16 years agoTry to improve focus problem situation by using more SetFocusIgnoringChildren() inste...
Jaakko Salli [Wed, 17 Sep 2008 15:36:32 +0000 (15:36 +0000)] 
Try to improve focus problem situation by using more SetFocusIgnoringChildren() instead of SetFocus()

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

16 years agowxUSE_PROPGRID is now recognized by source and header files
Jaakko Salli [Wed, 17 Sep 2008 15:00:00 +0000 (15:00 +0000)] 
wxUSE_PROPGRID is now recognized by source and header files

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

16 years agonext attempt
Stefan Csomor [Wed, 17 Sep 2008 08:13:59 +0000 (08:13 +0000)] 
next attempt

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

16 years agoGeneral purpose slave lock.
Michael Wetherell [Wed, 17 Sep 2008 07:39:21 +0000 (07:39 +0000)] 
General purpose slave lock.

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

16 years agoreverting, something in locks wasn't good
Stefan Csomor [Wed, 17 Sep 2008 07:28:39 +0000 (07:28 +0000)] 
reverting, something in locks wasn't good

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

16 years agoMW speedups
Stefan Csomor [Wed, 17 Sep 2008 07:25:02 +0000 (07:25 +0000)] 
MW speedups

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

16 years agoosx_cocoa build
Stefan Csomor [Tue, 16 Sep 2008 20:21:53 +0000 (20:21 +0000)] 
osx_cocoa build

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

16 years agoTry to display '...' text on editor buttons more consistently on wxGTK. This is done...
Jaakko Salli [Tue, 16 Sep 2008 18:37:33 +0000 (18:37 +0000)] 
Try to display '...' text on editor buttons more consistently on wxGTK. This is done by having minimum fixed width and by reducing size of used font.

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

16 years agofixing redefine warnings
Stefan Csomor [Tue, 16 Sep 2008 18:00:21 +0000 (18:00 +0000)] 
fixing redefine warnings

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

16 years agonext build
Stefan Csomor [Tue, 16 Sep 2008 17:50:10 +0000 (17:50 +0000)] 
next build

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

16 years agoadding scheduler
Stefan Csomor [Tue, 16 Sep 2008 17:39:30 +0000 (17:39 +0000)] 
adding scheduler

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

16 years agoDo not incorrectly interprete StringToValue() returning false to mean that it failed
Jaakko Salli [Tue, 16 Sep 2008 17:00:28 +0000 (17:00 +0000)] 
Do not incorrectly interprete StringToValue() returning false to mean that it failed

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

16 years agomore grid folding: got rid of duplicate version of methods for finding the closest...
Vadim Zeitlin [Tue, 16 Sep 2008 16:31:44 +0000 (16:31 +0000)] 
more grid folding: got rid of duplicate version of methods for finding the closest row/column edge, appending/inserting/deleting rows/columns, and moving cursor vertically/horizontally

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

16 years agodocument wxGridTableBase
Vadim Zeitlin [Tue, 16 Sep 2008 16:18:39 +0000 (16:18 +0000)] 
document wxGridTableBase

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

16 years agoRemoved some test code left in a long time ago
Jaakko Salli [Tue, 16 Sep 2008 16:00:42 +0000 (16:00 +0000)] 
Removed some test code left in a long time ago

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

16 years agoEliminated C++ RTTI (typeid etc) use. Eliminated wxPGVariantData (default default...
Jaakko Salli [Tue, 16 Sep 2008 15:55:53 +0000 (15:55 +0000)] 
Eliminated C++ RTTI (typeid etc) use. Eliminated wxPGVariantData (default default value for new types is now Null variant). Re-created variantdata creator macros based on those found in variant.h. Using DECLARE/IMPLEMENT_VARIANT_OBJECT whenever possible.

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

16 years agoFix -- in comment.
Michael Wetherell [Tue, 16 Sep 2008 14:03:34 +0000 (14:03 +0000)] 
Fix -- in comment.

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

16 years agorollback just in case it was me. ...
Stefan Csomor [Tue, 16 Sep 2008 13:37:10 +0000 (13:37 +0000)] 
rollback just in case it was me. ...

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

16 years agodifferent build dirs
Stefan Csomor [Tue, 16 Sep 2008 13:33:14 +0000 (13:33 +0000)] 
different build dirs

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

16 years agoexpanding builds
Stefan Csomor [Tue, 16 Sep 2008 13:21:22 +0000 (13:21 +0000)] 
expanding builds

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

16 years agobuildbot test
Stefan Csomor [Tue, 16 Sep 2008 12:47:56 +0000 (12:47 +0000)] 
buildbot test

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

16 years agoAdded reverse iterator to wxVector<T>
Robert Roebling [Tue, 16 Sep 2008 12:43:11 +0000 (12:43 +0000)] 
Added reverse iterator to wxVector<T>

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

16 years agoSwitched off some buggy optimisation that caused caret positioning/drawn text mismatch.
Julian Smart [Tue, 16 Sep 2008 10:58:32 +0000 (10:58 +0000)] 
Switched off some buggy optimisation that caused caret positioning/drawn text mismatch.
Fixed defragmentation.

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

16 years agostart of the great grid folding: introduce wxGridOperations class and use it to avoid...
Vadim Zeitlin [Tue, 16 Sep 2008 08:32:12 +0000 (08:32 +0000)] 
start of the great grid folding: introduce wxGridOperations class and use it to avoid duplicating the same code for rows and columns in a couple of methods

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

16 years agodisable AUI (and also MDI in 2.8) under CE, it doesn't make much sense there and...
Vadim Zeitlin [Tue, 16 Sep 2008 08:03:55 +0000 (08:03 +0000)] 
disable AUI (and also MDI in 2.8) under CE, it doesn't make much sense there and doesn't currently compile anyhow

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

16 years agouse wxSwap()
Vadim Zeitlin [Mon, 15 Sep 2008 16:13:06 +0000 (16:13 +0000)] 
use wxSwap()

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

16 years agodocument wxDELETE() and wxDELETEA() (now committing the right file, please disregard...
Vadim Zeitlin [Mon, 15 Sep 2008 16:12:07 +0000 (16:12 +0000)] 
document wxDELETE() and wxDELETEA() (now committing the right file, please disregard comment of r55648)

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

16 years agodocument wxDELETE() and wxDELETEA()
Vadim Zeitlin [Mon, 15 Sep 2008 16:06:36 +0000 (16:06 +0000)] 
document wxDELETE() and wxDELETEA()

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

16 years agoFixed Freeze problem that rendered control invisible
Julian Smart [Mon, 15 Sep 2008 14:43:29 +0000 (14:43 +0000)] 
Fixed Freeze problem that rendered control invisible

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

16 years agoimplement CreateGrid() in terms of SetTable() instead of duplicating its code and...
Vadim Zeitlin [Mon, 15 Sep 2008 14:09:26 +0000 (14:09 +0000)] 
implement CreateGrid() in terms of SetTable() instead of duplicating its code and confusing the issue

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

16 years agomore cleanup (removed some TODOs/FIXMEs); use native header drawing for the corner...
Vadim Zeitlin [Mon, 15 Sep 2008 14:06:28 +0000 (14:06 +0000)] 
more cleanup (removed some TODOs/FIXMEs); use native header drawing for the corner window too if it is enabled at all

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

16 years agoadd SetUseNativeColLabels() test
Vadim Zeitlin [Mon, 15 Sep 2008 14:05:16 +0000 (14:05 +0000)] 
add SetUseNativeColLabels() test

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

16 years agoremove the now unused GetScroll[XY]
Vadim Zeitlin [Mon, 15 Sep 2008 13:36:28 +0000 (13:36 +0000)] 
remove the now unused GetScroll[XY]

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

16 years agoWinCE compilation fix: don't use FNERR_INVALIDFILENAME
Vadim Zeitlin [Mon, 15 Sep 2008 13:33:35 +0000 (13:33 +0000)] 
WinCE compilation fix: don't use FNERR_INVALIDFILENAME

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

16 years agotake old (wx 2.2? older?) wxGrid compatibility functions inside WXWIN_COMPATIBILITY_2...
Vadim Zeitlin [Mon, 15 Sep 2008 12:18:07 +0000 (12:18 +0000)] 
take old (wx 2.2? older?) wxGrid compatibility functions inside WXWIN_COMPATIBILITY_2_8; rearrange some declarations order but no real changes

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

16 years agoreviewed, updated and corrected wxGrid docs
Vadim Zeitlin [Mon, 15 Sep 2008 12:07:25 +0000 (12:07 +0000)] 
reviewed, updated and corrected wxGrid docs

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

16 years agoremove automatic selection of the current row/column in row/column selection mode...
Vadim Zeitlin [Mon, 15 Sep 2008 08:45:29 +0000 (08:45 +0000)] 
remove automatic selection of the current row/column in row/column selection mode when the current cell is changed using the mouse, this is inconsitent with both cell selection mode and the keyboard behaviour in row/column selection mode

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

16 years agoselect current column when Ctrl-Space is pressed; the current row when Shift-Space...
Vadim Zeitlin [Mon, 15 Sep 2008 08:25:47 +0000 (08:25 +0000)] 
select current column when Ctrl-Space is pressed; the current row when Shift-Space is and everything on Shift-Ctrl-Space

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

16 years agoUpdate OpenVMS compile support
Jouk Jansen [Mon, 15 Sep 2008 07:49:38 +0000 (07:49 +0000)] 
Update OpenVMS compile support

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

16 years agoimprove display of hints during column move (#9884)
Vadim Zeitlin [Mon, 15 Sep 2008 00:33:39 +0000 (00:33 +0000)] 
improve display of hints during column move (#9884)

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

16 years agodon't steal focus back to wxGrid when it hides an editor in the result of losing...
Vadim Zeitlin [Mon, 15 Sep 2008 00:28:15 +0000 (00:28 +0000)] 
don't steal focus back to wxGrid when it hides an editor in the result of losing it (#9844)

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

16 years agofix drawing of the column move hint when the grid is scrolled to the right (#9776)
Vadim Zeitlin [Mon, 15 Sep 2008 00:19:41 +0000 (00:19 +0000)] 
fix drawing of the column move hint when the grid is scrolled to the right (#9776)

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

16 years agofix repaining of highlight for merged cells (#9718)
Vadim Zeitlin [Mon, 15 Sep 2008 00:11:49 +0000 (00:11 +0000)] 
fix repaining of highlight for merged cells (#9718)

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

16 years agowe don't need to round up the best/fitting grid size to a multiple of scroll units...
Vadim Zeitlin [Sun, 14 Sep 2008 23:10:23 +0000 (23:10 +0000)] 
we don't need to round up the best/fitting grid size to a multiple of scroll units any more now that scrollbars behaviour is really correct

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

16 years agoneed to AdjustScrollbars() after changing the virtual size in CalcDimensions()
Vadim Zeitlin [Sun, 14 Sep 2008 23:06:36 +0000 (23:06 +0000)] 
need to AdjustScrollbars() after changing the virtual size in CalcDimensions()

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

16 years agomove the grid-specific workaround for scrollbar hysteresis to wxScrollHelper itself...
Vadim Zeitlin [Sun, 14 Sep 2008 22:44:08 +0000 (22:44 +0000)] 
move the grid-specific workaround for scrollbar hysteresis to wxScrollHelper itself, the scrollbars now should not only appear but also disappear correctly during resizing

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

16 years agono changes, just removed the unnecessary wxGrid:: qualifiers
Vadim Zeitlin [Sun, 14 Sep 2008 21:28:44 +0000 (21:28 +0000)] 
no changes, just removed the unnecessary wxGrid:: qualifiers

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

16 years agodon't use SetScrollbars() as this forces the grid virtual size to always be the multi...
Vadim Zeitlin [Sun, 14 Sep 2008 21:09:31 +0000 (21:09 +0000)] 
don't use SetScrollbars() as this forces the grid virtual size to always be the multiple of scroll line size which is simply wrong, the grid doesn't need to be that big (#3800)

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

16 years agono changes, just clarified a comment
Vadim Zeitlin [Sun, 14 Sep 2008 21:05:41 +0000 (21:05 +0000)] 
no changes, just clarified a comment

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

16 years agomake the simple canvas larger as otherwise the simple frame couldn't be resized to...
Vadim Zeitlin [Sun, 14 Sep 2008 20:43:13 +0000 (20:43 +0000)] 
make the simple canvas larger as otherwise the simple frame couldn't be resized to make the horizontal scrollbar appear in it because of the title string width; some small cleanup

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

16 years agodelete the old labels when recreating the spin controls
Vadim Zeitlin [Sun, 14 Sep 2008 19:53:31 +0000 (19:53 +0000)] 
delete the old labels when recreating the spin controls

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

16 years agoreally, really fix handling Enter in spin controls: only request it for the control...
Vadim Zeitlin [Sun, 14 Sep 2008 19:50:30 +0000 (19:50 +0000)] 
really, really fix handling Enter in spin controls: only request it for the control if wxTE_PROCESS_ENTER is used to avoid breaking the use of Enter for the default item activation if it isn't; also document wxTE_PROCESS_ENTER style for wxSpinCtrl and add it to the sample

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

16 years agouse transparent icons and clear the DC before drawing them to fix the background...
Vadim Zeitlin [Sun, 14 Sep 2008 19:15:19 +0000 (19:15 +0000)] 
use transparent icons and clear the DC before drawing them to fix the background of state icons appearance (part of #9591)

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

16 years agoHave support for both char* and wchar_t* in wxPGPropArg. Moved wxPGPropArgCls member...
Jaakko Salli [Sun, 14 Sep 2008 16:48:20 +0000 (16:48 +0000)] 
Have support for both char* and wchar_t* in wxPGPropArg. Moved wxPGPropArgCls member function to propgridiface.cpp which is more logical location since class is in propgridiface.h. Added char* test cases.

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

16 years agoFixed bug: Setting property value string did not update children of composed parent...
Jaakko Salli [Sun, 14 Sep 2008 16:20:48 +0000 (16:20 +0000)] 
Fixed bug: Setting property value string did not update children of composed parent (ported from wxPG SVN trunk)

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

16 years agoRemoved remnant use of wxCHECK_VERSION
Jaakko Salli [Sun, 14 Sep 2008 14:59:47 +0000 (14:59 +0000)] 
Removed remnant use of wxCHECK_VERSION

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

16 years agoUpdated documentation to acknowledge the fact that properties can have identical...
Jaakko Salli [Sun, 14 Sep 2008 13:53:21 +0000 (13:53 +0000)] 
Updated documentation to acknowledge the fact that properties can have identical labels, and that they must have non-empty name that is unique under parent

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

16 years agosome wxGrid docs cleanup, it's still a huge mess though
Vadim Zeitlin [Sun, 14 Sep 2008 13:53:20 +0000 (13:53 +0000)] 
some wxGrid docs cleanup, it's still a huge mess though

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

16 years agowxVariant list used to translate between list of property child values and composite...
Jaakko Salli [Sun, 14 Sep 2008 13:14:32 +0000 (13:14 +0000)] 
wxVariant list used to translate between list of property child values and composite value string now maps values by names instead of labels. Naturally this means properties can no longer have empty name (this change allows using identical labels under same parent property. Ported from wxpropgrid SVN trunk)

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

16 years agoNew dev.
Michael Wetherell [Sun, 14 Sep 2008 10:07:30 +0000 (10:07 +0000)] 
New dev.

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

16 years agoAdapt to 'premature' events being sent from editor controls (fixes datepicker editor...
Jaakko Salli [Sun, 14 Sep 2008 09:47:58 +0000 (09:47 +0000)] 
Adapt to 'premature' events being sent from editor controls (fixes datepicker editor crash)

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