]> git.saurik.com Git - wxWidgets.git/log
wxWidgets.git
16 years agowxDataViewCtrl::IsExpanded should work now under OS X, as well
Robert Roebling [Tue, 23 Dec 2008 14:57:19 +0000 (14:57 +0000)] 
wxDataViewCtrl::IsExpanded should work now under OS X, as well

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

16 years agoAdd wxDataViewCtrl::ExpandAncestors() and call it from both EnsureVisible() and Select()
Robert Roebling [Tue, 23 Dec 2008 14:56:07 +0000 (14:56 +0000)] 
Add wxDataViewCtrl::ExpandAncestors() and call it from both EnsureVisible() and Select()

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

16 years agoAdded pseudo-asynchronous clipboard implemenation to all ports excepts for GTK+
Robert Roebling [Tue, 23 Dec 2008 12:05:06 +0000 (12:05 +0000)] 
Added pseudo-asynchronous clipboard implemenation to all ports excepts for GTK+

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

16 years agoreverted yet another accidental commit of testing code in r57505
Vadim Zeitlin [Tue, 23 Dec 2008 00:35:18 +0000 (00:35 +0000)] 
reverted yet another accidental commit of testing code in r57505

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

16 years agoverify that we don't have more items than our number of rows/columns allows (See...
Vadim Zeitlin [Tue, 23 Dec 2008 00:21:29 +0000 (00:21 +0000)] 
verify that we don't have more items than our number of rows/columns allows (See #10294)

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

16 years agouse wxFlexGridSizer correctly (fixes #10294)
Vadim Zeitlin [Tue, 23 Dec 2008 00:20:33 +0000 (00:20 +0000)] 
use wxFlexGridSizer correctly (fixes #10294)

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

16 years agosplit wxEVT_GRID_CELL_CHANGE into wxEVT_GRID_CELL_CHANGING/ED pair for consistency...
Vadim Zeitlin [Mon, 22 Dec 2008 22:58:49 +0000 (22:58 +0000)] 
split wxEVT_GRID_CELL_CHANGE into wxEVT_GRID_CELL_CHANGING/ED pair for consistency with all the other controls; provide access to new/old value of the cell in the event object

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

16 years agono changes, just don't use "any more" thrice in a row
Vadim Zeitlin [Mon, 22 Dec 2008 22:44:03 +0000 (22:44 +0000)] 
no changes, just don't use "any more" thrice in a row

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

16 years agouse CanSetValueAs() instead of CanGetValueAs() in wxGridCellBoolEditor::EndEdit
Vadim Zeitlin [Mon, 22 Dec 2008 21:42:13 +0000 (21:42 +0000)] 
use CanSetValueAs() instead of CanGetValueAs() in wxGridCellBoolEditor::EndEdit

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

16 years agocorrect Serbian locale name: should be sr_RS, not sr_SR (fixes #10295)
Vadim Zeitlin [Mon, 22 Dec 2008 19:50:17 +0000 (19:50 +0000)] 
correct Serbian locale name: should be sr_RS, not sr_SR (fixes #10295)

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

16 years agonon-pch build fixes
Paul Cornett [Mon, 22 Dec 2008 17:11:15 +0000 (17:11 +0000)] 
non-pch build fixes

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

16 years agoAdded clipboard sample check to configure.in, other changes after rebaking with Bakef...
Robert Roebling [Mon, 22 Dec 2008 14:03:09 +0000 (14:03 +0000)] 
Added clipboard sample check to configure.in, other changes after rebaking with Bakefile 0.25

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

16 years agoundid change accidentally committed as part of r57093 but which didn't have anything...
Vadim Zeitlin [Mon, 22 Dec 2008 13:34:12 +0000 (13:34 +0000)] 
undid change accidentally committed as part of r57093 but which didn't have anything to do with it and resulted in #10253

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

16 years agofix typo in r57455 which totally broke modal dialogs display (close #10291)
Vadim Zeitlin [Mon, 22 Dec 2008 12:03:04 +0000 (12:03 +0000)] 
fix typo in r57455 which totally broke modal dialogs display (close #10291)

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

16 years agorebake after correction typo in wx/generic/headerctrlg.h name
Vadim Zeitlin [Mon, 22 Dec 2008 11:52:30 +0000 (11:52 +0000)] 
rebake after correction typo in wx/generic/headerctrlg.h name

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

16 years agoRegen after adding clipboard sample
Robert Roebling [Sun, 21 Dec 2008 22:36:27 +0000 (22:36 +0000)] 
Regen after adding clipboard sample

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

16 years agoRegen using newest bakefile
Robert Roebling [Sun, 21 Dec 2008 22:35:48 +0000 (22:35 +0000)] 
Regen using newest bakefile

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

16 years agoAdded bakefiles makefiles
Robert Roebling [Sun, 21 Dec 2008 22:22:14 +0000 (22:22 +0000)] 
Added bakefiles makefiles

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

16 years agoForgot to commit
Robert Roebling [Sun, 21 Dec 2008 22:17:16 +0000 (22:17 +0000)] 
Forgot to commit

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

16 years agoAdded experimental async clipboard format query
Robert Roebling [Sun, 21 Dec 2008 22:15:50 +0000 (22:15 +0000)] 
Added experimental async clipboard format query

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

16 years agoAdded clipboard sample
Robert Roebling [Sun, 21 Dec 2008 22:13:54 +0000 (22:13 +0000)] 
Added clipboard sample

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

16 years agoAdded clipbaord sample
Robert Roebling [Sun, 21 Dec 2008 22:12:21 +0000 (22:12 +0000)] 
Added clipbaord sample

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

16 years agofix wxTimeSpan::Format() for negative spans with 0 hour component (#10055)
Vadim Zeitlin [Sun, 21 Dec 2008 12:16:06 +0000 (12:16 +0000)] 
fix wxTimeSpan::Format() for negative spans with 0 hour component (#10055)

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

16 years agocorrect wrong #endif position which prevented ListCtrlTestCase::ItemRect() from being...
Vadim Zeitlin [Sun, 21 Dec 2008 02:58:41 +0000 (02:58 +0000)] 
correct wrong #endif position which prevented ListCtrlTestCase::ItemRect() from being compiled under non-MSW

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

16 years agoreally fix the length of the string returned by wxConvertStringToOle() (#10056)
Vadim Zeitlin [Sun, 21 Dec 2008 02:57:06 +0000 (02:57 +0000)] 
really fix the length of the string returned by wxConvertStringToOle() (#10056)

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

16 years agofix for compilation with newer DMC headers (see #10112)
Vadim Zeitlin [Sun, 21 Dec 2008 02:48:45 +0000 (02:48 +0000)] 
fix for compilation with newer DMC headers (see #10112)

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

16 years agoadd popup sample to the workspace (fixes #10162)
Vadim Zeitlin [Sun, 21 Dec 2008 02:44:00 +0000 (02:44 +0000)] 
add popup sample to the workspace (fixes #10162)

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

16 years agofix unused variable warning (part of #10162)
Vadim Zeitlin [Sun, 21 Dec 2008 02:41:59 +0000 (02:41 +0000)] 
fix unused variable warning (part of #10162)

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

16 years agoclose the handle returned by OpenProcessToken() (fixes #10129)
Vadim Zeitlin [Sun, 21 Dec 2008 02:34:34 +0000 (02:34 +0000)] 
close the handle returned by OpenProcessToken() (fixes #10129)

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

16 years agodon't show assert message boxes in debug build but throw an exception if an assert...
Vadim Zeitlin [Sun, 21 Dec 2008 02:28:55 +0000 (02:28 +0000)] 
don't show assert message boxes in debug build but throw an exception if an assert unexpectedly fails; do check that expected asserts are generated

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

16 years agofix Get(Sub)ItemRect() after changes of r54437; added test for it (see #10175)
Vadim Zeitlin [Sun, 21 Dec 2008 02:13:58 +0000 (02:13 +0000)] 
fix Get(Sub)ItemRect() after changes of r54437; added test for it (see #10175)

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

16 years agoadd wxLogLastError() calls if Shell_NotifyIcon() fails (closes #10222)
Vadim Zeitlin [Sun, 21 Dec 2008 01:43:56 +0000 (01:43 +0000)] 
add wxLogLastError() calls if Shell_NotifyIcon() fails (closes #10222)

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

16 years agoremove m_endModalCalled flag, it seems to be unnecessary
Vadim Zeitlin [Sun, 21 Dec 2008 01:37:39 +0000 (01:37 +0000)] 
remove m_endModalCalled flag, it seems to be unnecessary

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

16 years agodon't restore the focus manually after closing the dialog, default Windows behaviour...
Vadim Zeitlin [Sun, 21 Dec 2008 01:33:15 +0000 (01:33 +0000)] 
don't restore the focus manually after closing the dialog, default Windows behaviour seems to work just fine now (see #10240)

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

16 years agoreplace wxPostEvent with wxQueueEvent and update the thread sample description (the...
Francesco Montorsi [Sat, 20 Dec 2008 21:29:20 +0000 (21:29 +0000)] 
replace wxPostEvent with wxQueueEvent and update the thread sample description (the sample doesn't shows usage of wxMutexGuiEnter/Leave)

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

16 years agomention multi-core systems and wxThread::GetCPUCount
Francesco Montorsi [Sat, 20 Dec 2008 21:26:25 +0000 (21:26 +0000)] 
mention multi-core systems and wxThread::GetCPUCount

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

16 years agoFully conform to the documented statement according to which names of properties...
Jaakko Salli [Sat, 20 Dec 2008 16:01:13 +0000 (16:01 +0000)] 
Fully conform to the documented statement according to which names of properties with non-root, non-category parent are not stored in the per-page hash map.

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

16 years agoFixed various inconsistencies with deleting properties, added wxPGProperty::DeleteChi...
Jaakko Salli [Sat, 20 Dec 2008 15:47:05 +0000 (15:47 +0000)] 
Fixed various inconsistencies with deleting properties, added wxPGProperty::DeleteChildren()

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

16 years agoCall Expand on an item's parent chain in EnsureVisible
Robert Roebling [Sat, 20 Dec 2008 15:11:38 +0000 (15:11 +0000)] 
Call Expand on an item's parent chain in EnsureVisible

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

16 years agoFixes #10288: wxDataViewCtrl missing selection change event
Robert Roebling [Fri, 19 Dec 2008 17:26:29 +0000 (17:26 +0000)] 
Fixes #10288: wxDataViewCtrl missing selection change event

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

16 years agoadd missing header to dfb
Chris Elliott [Fri, 19 Dec 2008 16:46:26 +0000 (16:46 +0000)] 
add missing header to dfb

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

16 years agoImplemented wxBitmapToggleButton generically for now
Robert Roebling [Fri, 19 Dec 2008 16:04:31 +0000 (16:04 +0000)] 
Implemented wxBitmapToggleButton generically for now

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

16 years agowxImage::ConvertToBitmap() doesn't exist anymore
Robert Roebling [Fri, 19 Dec 2008 15:43:17 +0000 (15:43 +0000)] 
wxImage::ConvertToBitmap() doesn't exist anymore

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

16 years agoMention wxRearrangeCtrl, wxFileCtrl
Robert Roebling [Fri, 19 Dec 2008 13:57:17 +0000 (13:57 +0000)] 
Mention wxRearrangeCtrl, wxFileCtrl

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

16 years agoUpdate OpenVMS compile support
Jouk Jansen [Fri, 19 Dec 2008 13:36:33 +0000 (13:36 +0000)] 
Update OpenVMS compile support

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

16 years agodefine USE_ONLY_STATIC_WEAKREF for g++ < 3.3 too (3.2 is reported not to work otherwise)
Vadim Zeitlin [Fri, 19 Dec 2008 09:58:49 +0000 (09:58 +0000)] 
define USE_ONLY_STATIC_WEAKREF for g++ < 3.3 too (3.2 is reported not to work otherwise)

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

16 years agoUpdate OpenVMS compile support
Jouk Jansen [Fri, 19 Dec 2008 09:45:15 +0000 (09:45 +0000)] 
Update OpenVMS compile support

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

16 years agoCorrect AssignTempFile docs
Robert Roebling [Thu, 18 Dec 2008 21:26:34 +0000 (21:26 +0000)] 
Correct AssignTempFile docs

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

16 years agoAdded missing g to file name of headerctrlg.h
Robert Roebling [Thu, 18 Dec 2008 20:27:05 +0000 (20:27 +0000)] 
Added missing g to file name of headerctrlg.h

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

16 years agoRecalculate display (and scrollbars etc) before calling EnsureVisible()
Robert Roebling [Thu, 18 Dec 2008 16:38:23 +0000 (16:38 +0000)] 
Recalculate display (and scrollbars etc) before calling EnsureVisible()

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

16 years agoMinor stream class changes
Robert Roebling [Wed, 17 Dec 2008 22:42:05 +0000 (22:42 +0000)] 
Minor stream class changes

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

16 years agoCorrect wxDataViewCtrl::IsExpanded and add test for it
Robert Roebling [Wed, 17 Dec 2008 22:26:40 +0000 (22:26 +0000)] 
Correct wxDataViewCtrl::IsExpanded and add test for it

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

16 years agoimplement wxLoadedDLL, a safer alternative to wxDL_GET_LOADED (closes #10208)
Vadim Zeitlin [Wed, 17 Dec 2008 22:19:41 +0000 (22:19 +0000)] 
implement wxLoadedDLL, a safer alternative to wxDL_GET_LOADED (closes #10208)

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

16 years agoVC6 SDK doesn't define INVALID_FILE_ATTRIBUTES, do it ourselves
Vadim Zeitlin [Wed, 17 Dec 2008 15:22:16 +0000 (15:22 +0000)] 
VC6 SDK doesn't define INVALID_FILE_ATTRIBUTES, do it ourselves

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

16 years agodon't scroll to the child which gets focus if it is already fully visible; more impor...
Vadim Zeitlin [Wed, 17 Dec 2008 14:46:09 +0000 (14:46 +0000)] 
don't scroll to the child which gets focus if it is already fully visible; more importantly, don't do anything if we can't make it fully visible anyhow (fixes bug in the comment 13 of #9563)

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

16 years agoadd u to file and lib path
Chris Elliott [Wed, 17 Dec 2008 14:34:11 +0000 (14:34 +0000)] 
add u to file and lib path

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

16 years agocast both ints to doubles for the X and Y scale factors
Chris Elliott [Wed, 17 Dec 2008 14:21:57 +0000 (14:21 +0000)] 
cast both ints to doubles for the X and Y scale factors

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

16 years agouse GetFileAttributes() to check for readonly files under Win9x, the NT method doesn...
Vadim Zeitlin [Wed, 17 Dec 2008 14:19:43 +0000 (14:19 +0000)] 
use GetFileAttributes() to check for readonly files under Win9x, the NT method doesn't seem to work there (see #4111)

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

16 years agoanother header for PCH-less compilation
Vadim Zeitlin [Wed, 17 Dec 2008 13:25:36 +0000 (13:25 +0000)] 
another header for PCH-less compilation

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

16 years agofix unused variable warning in release build
Vadim Zeitlin [Wed, 17 Dec 2008 11:30:31 +0000 (11:30 +0000)] 
fix unused variable warning in release build

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

16 years agoPCH-less compilation fix
Vadim Zeitlin [Wed, 17 Dec 2008 11:29:36 +0000 (11:29 +0000)] 
PCH-less compilation fix

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

16 years agofix WinCE compilation: it doesn't know about SW_SHOWDEFAULT (#10216)
Vadim Zeitlin [Wed, 17 Dec 2008 10:21:05 +0000 (10:21 +0000)] 
fix WinCE compilation: it doesn't know about SW_SHOWDEFAULT (#10216)

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

16 years agodon't hard code the menu bar height under WinCE (closes #10248)
Vadim Zeitlin [Wed, 17 Dec 2008 10:17:23 +0000 (10:17 +0000)] 
don't hard code the menu bar height under WinCE (closes #10248)

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

16 years agoadded .c_str() to wxStrlcpy() calls to fix wxUSE_STL build (closes #10252)
Vadim Zeitlin [Wed, 17 Dec 2008 09:49:42 +0000 (09:49 +0000)] 
added .c_str() to wxStrlcpy() calls to fix wxUSE_STL build (closes #10252)

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

16 years agoreplace CPPUNIT_ASSERTs with CPPUNIT_ASSERT_EQUALs
Vadim Zeitlin [Wed, 17 Dec 2008 09:47:39 +0000 (09:47 +0000)] 
replace CPPUNIT_ASSERTs with CPPUNIT_ASSERT_EQUALs

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

16 years agodon't crash if the extra controls are not used in the file dialog (closes #10260)
Vadim Zeitlin [Wed, 17 Dec 2008 09:40:40 +0000 (09:40 +0000)] 
don't crash if the extra controls are not used in the file dialog (closes #10260)

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

16 years agodon't change the value of the hash element if insert() didn't add it (closes #10261)
Vadim Zeitlin [Wed, 17 Dec 2008 09:34:48 +0000 (09:34 +0000)] 
don't change the value of the hash element if insert() didn't add it (closes #10261)

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

16 years agofix for Borland compilation
Chris Elliott [Wed, 17 Dec 2008 09:26:58 +0000 (09:26 +0000)] 
fix for Borland compilation

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

16 years agomany improvements and corrections from Charles (see #10276)
Vadim Zeitlin [Wed, 17 Dec 2008 09:03:50 +0000 (09:03 +0000)] 
many improvements and corrections from Charles (see #10276)

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

16 years agoPCH-less build fixes
Vadim Zeitlin [Wed, 17 Dec 2008 08:47:30 +0000 (08:47 +0000)] 
PCH-less build fixes

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

16 years agomade wxHeaderCtrl::GetColumn() const to get rid of the const_cast<>s
Vadim Zeitlin [Wed, 17 Dec 2008 00:11:57 +0000 (00:11 +0000)] 
made wxHeaderCtrl::GetColumn() const to get rid of the const_cast<>s

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

16 years agoadded wxRearrange{List,Ctrl,Dialog} and use it in wxHeaderCtrl and wxGrid to provide...
Vadim Zeitlin [Tue, 16 Dec 2008 23:56:56 +0000 (23:56 +0000)] 
added wxRearrange{List,Ctrl,Dialog} and use it in wxHeaderCtrl and wxGrid to provide a way to interactively customize the columns

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

16 years agoFixes #10246: wxDataViewCtrl - first row does not react on return-key
Robert Roebling [Tue, 16 Dec 2008 22:02:40 +0000 (22:02 +0000)] 
Fixes #10246: wxDataViewCtrl - first row does not react on return-key

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

16 years agoFixes #10247: wxDataViewCtrl - event is generated when clicking on a non existing row
Robert Roebling [Tue, 16 Dec 2008 21:57:40 +0000 (21:57 +0000)] 
Fixes #10247: wxDataViewCtrl - event is generated when clicking on a non existing row

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

16 years agosame as r57054 in 2.8
Chris Elliott [Tue, 16 Dec 2008 21:46:21 +0000 (21:46 +0000)] 
same as r57054 in 2.8

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

16 years agosame as r57053 in 2.8
Chris Elliott [Tue, 16 Dec 2008 21:26:55 +0000 (21:26 +0000)] 
same as r57053 in 2.8

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

16 years agoAdded wxDataViewCtrl::IsExpanded(item)
Robert Roebling [Tue, 16 Dec 2008 21:23:55 +0000 (21:23 +0000)] 
Added wxDataViewCtrl::IsExpanded(item)

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

16 years agotypo fix
Francesco Montorsi [Tue, 16 Dec 2008 20:42:12 +0000 (20:42 +0000)] 
typo fix

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

16 years agodon't remove docs for wxThreadHelper::Create; list it in deprecated methods changelog...
Francesco Montorsi [Tue, 16 Dec 2008 19:44:49 +0000 (19:44 +0000)] 
don't remove docs for wxThreadHelper::Create; list it in deprecated methods changelog section

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

16 years agoadded wxGrid::SetColumnsOrder() too
Vadim Zeitlin [Tue, 16 Dec 2008 15:53:38 +0000 (15:53 +0000)] 
added wxGrid::SetColumnsOrder() too

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

16 years agoMention header control in Category page
Robert Roebling [Tue, 16 Dec 2008 15:27:04 +0000 (15:27 +0000)] 
Mention header control in Category page

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

16 years agomention that mouse events carry position in window coordinates of the window which...
Vadim Zeitlin [Tue, 16 Dec 2008 14:52:29 +0000 (14:52 +0000)] 
mention that mouse events carry position in window coordinates of the window which generated the event (#10274)

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

16 years agofix initial best size of (check) list boxes under MSW
Vadim Zeitlin [Tue, 16 Dec 2008 13:59:04 +0000 (13:59 +0000)] 
fix initial best size of (check) list boxes under MSW

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

16 years agoMoved wxWeakRef template docs from the misc category to the smart pointers category.
Bryan Petty [Tue, 16 Dec 2008 07:15:44 +0000 (07:15 +0000)] 
Moved wxWeakRef template docs from the misc category to the smart pointers category.

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

16 years agothe dialogs documented here are defined in wxcore, not wxbase
Vadim Zeitlin [Mon, 15 Dec 2008 22:54:29 +0000 (22:54 +0000)] 
the dialogs documented here are defined in wxcore, not wxbase

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

16 years agohandle actions of the columns popup menu in wxHeaderCtrl itself (but the derived...
Vadim Zeitlin [Mon, 15 Dec 2008 22:42:37 +0000 (22:42 +0000)] 
handle actions of the columns popup menu in wxHeaderCtrl itself (but the derived class must implement UpdateColumnVisibility()); also renamed wxHD_DRAGDROP to wxHD_ALLOW_REORDER as it will be possible to reorder columns interactively using a customization dialog and not just by dragging them soon

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

16 years agoFixed the incorrectly placed parenthesis so ScrollWindow is always called if there...
Bryan Petty [Mon, 15 Dec 2008 19:14:07 +0000 (19:14 +0000)] 
Fixed the incorrectly placed parenthesis so ScrollWindow is always called if there are window children.

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

16 years agoPCH compilation fix
Vadim Zeitlin [Mon, 15 Dec 2008 12:22:54 +0000 (12:22 +0000)] 
PCH compilation fix

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

16 years agoadded a helper function to show the popup menu allowing to configure the columns...
Vadim Zeitlin [Mon, 15 Dec 2008 11:03:59 +0000 (11:03 +0000)] 
added a helper function to show the popup menu allowing to configure the columns in header control

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

16 years agodisable UI updating during GetPopupMenuSelectionFromUser() execution to avoid unexpec...
Vadim Zeitlin [Mon, 15 Dec 2008 11:02:49 +0000 (11:02 +0000)] 
disable UI updating during GetPopupMenuSelectionFromUser() execution to avoid unexpected clashes between the ids used in it and the update UI handlers elsewhere in the program

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

16 years agoadded helper Is{Col,Row}Shown()
Vadim Zeitlin [Mon, 15 Dec 2008 10:44:29 +0000 (10:44 +0000)] 
added helper Is{Col,Row}Shown()

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

16 years agorenamed GetColHeader() to GetGridColHeader() for consistency with the other existing...
Vadim Zeitlin [Mon, 15 Dec 2008 10:34:04 +0000 (10:34 +0000)] 
renamed GetColHeader() to GetGridColHeader() for consistency with the other existing accessors (even if this is redundant) and made it public/documented (also documented the others)

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

16 years agoreturn correct (false) value in onSeparator from FindColumnAtPoint() when the positio...
Vadim Zeitlin [Mon, 15 Dec 2008 10:08:50 +0000 (10:08 +0000)] 
return correct (false) value in onSeparator from FindColumnAtPoint() when the position is beyond the last column

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

16 years agodon't leave nrows/ncols uninitialized in wxGridSizer::CalcRowsCols()
Vadim Zeitlin [Mon, 15 Dec 2008 09:49:57 +0000 (09:49 +0000)] 
don't leave nrows/ncols uninitialized in wxGridSizer::CalcRowsCols()

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

16 years agodon't mistake a simple click on a column for a reordering drag
Vadim Zeitlin [Sun, 14 Dec 2008 23:12:30 +0000 (23:12 +0000)] 
don't mistake a simple click on a column for a reordering drag

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

16 years agofix several bugs in index/position translation code between wx and MSW
Vadim Zeitlin [Sun, 14 Dec 2008 22:54:34 +0000 (22:54 +0000)] 
fix several bugs in index/position translation code between wx and MSW

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

16 years agoadded a button to reset the column order and the display of hidden columns to the...
Vadim Zeitlin [Sun, 14 Dec 2008 22:07:44 +0000 (22:07 +0000)] 
added a button to reset the column order and the display of hidden columns to the tabular grid frame

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

16 years agodon't use the hack with adding hidden columns to the native control because it doesn...
Vadim Zeitlin [Sun, 14 Dec 2008 22:06:58 +0000 (22:06 +0000)] 
don't use the hack with adding hidden columns to the native control because it doesn't play well with resizing; maintain the mapping between wx and MSW column indices internally even if this is much more work

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

16 years agono changes, just refactoring: extracted the code to update the column indices array...
Vadim Zeitlin [Sun, 14 Dec 2008 21:56:38 +0000 (21:56 +0000)] 
no changes, just refactoring: extracted the code to update the column indices array when the number of columns changes to the common code to be able to reuse it from the MSW version

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

16 years agorefresh the grid after resetting the columns positions to the default order
Vadim Zeitlin [Sun, 14 Dec 2008 20:45:39 +0000 (20:45 +0000)] 
refresh the grid after resetting the columns positions to the default order

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