]>
git.saurik.com Git - wxWidgets.git/log
Vadim Zeitlin [Thu, 25 Dec 2008 12:23:28 +0000 (12:23 +0000)]
deprecate OnScroll() which existed for compatibility only even before
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57537
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Wed, 24 Dec 2008 23:46:13 +0000 (23:46 +0000)]
handle correctly never/always shown scrollbars in GetClientSize()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57536
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Wed, 24 Dec 2008 21:58:05 +0000 (21:58 +0000)]
allow passing -1 range to SetScrollbar() to indicate the the scrollbar should be disabled and use this to implement wxSHOW_SB_ALWAYS in the generic wxScrollHelper
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57535
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Wed, 24 Dec 2008 17:13:20 +0000 (17:13 +0000)]
compilation fix after wxScrollHelperNative renaming to wxScrollHelper
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57532
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Wed, 24 Dec 2008 16:43:30 +0000 (16:43 +0000)]
further untangle generic and native GTK implementations of wxScrollHelper: use the standard wxScrollHelperBase/wxScrollHelper naming convention and move the stuff unused by GTK in the generic implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57531
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Wed, 24 Dec 2008 16:11:02 +0000 (16:11 +0000)]
provide generic implementation for ShowScrollbars() too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57530
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Wed, 24 Dec 2008 15:58:37 +0000 (15:58 +0000)]
add wxScrollHelper::ShowScrollbars() (implemented for GTK only right now, generic implementation coming soon)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57529
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robert Roebling [Wed, 24 Dec 2008 15:45:34 +0000 (15:45 +0000)]
Mark alpha a static data (not to be freed), too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57528
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Wed, 24 Dec 2008 15:11:00 +0000 (15:11 +0000)]
add convenient GetViewStart() and Scroll() overloads taking wxPoint instead of 2 int[ pointer]s
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57527
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Wed, 24 Dec 2008 14:55:49 +0000 (14:55 +0000)]
add example of synchronizing 2 scrolled windows
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57526
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Paul Cornett [Wed, 24 Dec 2008 07:51:15 +0000 (07:51 +0000)]
fix saving/restoring size when WM supports _NET_FRAME_EXTENTS but not _NET_REQUEST_FRAME_EXTENTS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57525
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Wed, 24 Dec 2008 01:28:55 +0000 (01:28 +0000)]
reorganize scroll sample to make it possible to understand what it does both when reading its code and when running it; merged scrollsub sample in it and removed the original one
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57523
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Wed, 24 Dec 2008 00:41:23 +0000 (00:41 +0000)]
call wxFlexGridSizer::AddGrowableRow() only when the sizer has enough rows for the indices to be valid
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57522
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Wed, 24 Dec 2008 00:35:53 +0000 (00:35 +0000)]
correct the direction of the comparison between the number of columns/rows and the number of items (#10294)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57521
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Wed, 24 Dec 2008 00:29:38 +0000 (00:29 +0000)]
also call AddGrowableRow/Col() for wxGridBagSizer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57520
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Tue, 23 Dec 2008 22:33:08 +0000 (22:33 +0000)]
call wxFlexGridSizer::AddGrowableRow/Col() only after creating the sizer children, otherwise row/col index could be out of range (#10294)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57519
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robert Roebling [Tue, 23 Dec 2008 20:46:46 +0000 (20:46 +0000)]
Don't allow concurrent requests, check return message of async request
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57518
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Jaakko Salli [Tue, 23 Dec 2008 20:09:19 +0000 (20:09 +0000)]
Fixed crash when expanding/collapsing categories too quickly (re-entrancy issue)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57517
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Bryan Petty [Tue, 23 Dec 2008 16:38:30 +0000 (16:38 +0000)]
Added grid event classes to the events group in docs.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57516
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Jaakko Salli [Tue, 23 Dec 2008 15:33:28 +0000 (15:33 +0000)]
Fixed a VC6 warning (hopefully)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57515
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Tue, 23 Dec 2008 15:32:51 +0000 (15:32 +0000)]
don't use \u escapes, VC6 doesn't understand them
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57514
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Tue, 23 Dec 2008 15:29:28 +0000 (15:29 +0000)]
set correct properties for the new files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57513
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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