Commit Graph

46833 Commits

Author SHA1 Message Date
Vadim Zeitlin
e03e94b037 fix wxURL::GetInputStream() for URLs with special characters in credentials (closes #10265)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57545 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-25 17:03:20 +00:00
Vadim Zeitlin
b0e87e57c3 use wxSUPPRESS_DOLOG_HIDE_WARNING to suppress warnings about hiding base class DoLog() overloads
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57544 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-25 16:47:33 +00:00
Vadim Zeitlin
e4de7a7759 don't use the client data for storing wxOwnerDrawn in wxCheckListbox implementation as we already store them in internal array anyhow, this allows the user to use his own client data with wxCheckListbox (#10290)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57543 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-25 13:10:55 +00:00
Vadim Zeitlin
9f2968ad0b make colours used by list and tree controls more consistent with the system theme settings; also use the correct colour for the status bar (closes #10089)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57542 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-25 13:03:24 +00:00
Vadim Zeitlin
0aa619b532 unhide the second wxTextAreaBase::HitTest() overload to suppress a warning about it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57541 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-25 12:45:59 +00:00
Vadim Zeitlin
6ecc02f354 fix/suppress warning about hiding base class Load(wxURI,wxURI) overload
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57540 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-25 12:41:01 +00:00
Vadim Zeitlin
040745d7fc don't use deprecated OnScroll()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57539 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-25 12:38:58 +00:00
Vadim Zeitlin
bc448be341 make Scroll() itself virtual too as existing code might override it (but new code should override DoScroll() only); use the same access in the derived classes as in wxScrollHelperBase
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57538 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-25 12:27:20 +00:00
Vadim Zeitlin
bca1504431 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
2008-12-25 12:23:28 +00:00
Vadim Zeitlin
fcdd533591 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
2008-12-24 23:46:13 +00:00
Vadim Zeitlin
1ddb6d2857 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
2008-12-24 21:58:05 +00:00
Vadim Zeitlin
938161a6a4 compilation fix after wxScrollHelperNative renaming to wxScrollHelper
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57532 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-24 17:13:20 +00:00
Vadim Zeitlin
29e1398fa0 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
2008-12-24 16:43:30 +00:00
Vadim Zeitlin
69e9752529 provide generic implementation for ShowScrollbars() too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57530 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-24 16:11:02 +00:00
Vadim Zeitlin
6362d82b3e 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
2008-12-24 15:58:37 +00:00
Robert Roebling
a805de23ff 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
2008-12-24 15:45:34 +00:00
Vadim Zeitlin
0b0f6f87d5 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
2008-12-24 15:11:00 +00:00
Vadim Zeitlin
9675a49d4e add example of synchronizing 2 scrolled windows
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57526 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-24 14:55:49 +00:00
Paul Cornett
11d8dfd2fb 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
2008-12-24 07:51:15 +00:00
Vadim Zeitlin
6a5a7fba9d 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
2008-12-24 01:28:55 +00:00
Vadim Zeitlin
16a6495db3 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
2008-12-24 00:41:23 +00:00
Vadim Zeitlin
636a53b35f 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
2008-12-24 00:35:53 +00:00
Vadim Zeitlin
1808bb47b9 also call AddGrowableRow/Col() for wxGridBagSizer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57520 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-24 00:29:38 +00:00
Vadim Zeitlin
5dd238c6dd 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
2008-12-23 22:33:08 +00:00
Robert Roebling
b47056410d 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
2008-12-23 20:46:46 +00:00
Jaakko Salli
aace2c4f96 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
2008-12-23 20:09:19 +00:00
Bryan Petty
8763842294 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
2008-12-23 16:38:30 +00:00
Jaakko Salli
bfad4a1546 Fixed a VC6 warning (hopefully)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57515 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-23 15:33:28 +00:00
Vadim Zeitlin
5b05d3ee52 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
2008-12-23 15:32:51 +00:00
Vadim Zeitlin
2cce66352f set correct properties for the new files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57513 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-23 15:29:28 +00:00
Robert Roebling
53081fa5a4 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
2008-12-23 14:57:19 +00:00
Robert Roebling
4219d8b027 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
2008-12-23 14:56:07 +00:00
Robert Roebling
311c1be9ed 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
2008-12-23 12:05:06 +00:00
Vadim Zeitlin
28f12ffb86 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
2008-12-23 00:35:18 +00:00
Vadim Zeitlin
2283800b2e 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
2008-12-23 00:21:29 +00:00
Vadim Zeitlin
53ddede8da use wxFlexGridSizer correctly (fixes #10294)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57507 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-23 00:20:33 +00:00
Vadim Zeitlin
763163a80a 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
2008-12-22 22:58:49 +00:00
Vadim Zeitlin
1a8a13ee88 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
2008-12-22 22:44:03 +00:00
Vadim Zeitlin
fc5d9e38ee 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
2008-12-22 21:42:13 +00:00
Vadim Zeitlin
03d7d36ba9 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
2008-12-22 19:50:17 +00:00
Paul Cornett
01fc49320e non-pch build fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57500 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-22 17:11:15 +00:00
Robert Roebling
2cdaa1dce3 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
2008-12-22 14:03:09 +00:00
Vadim Zeitlin
ae322a4870 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
2008-12-22 13:34:12 +00:00
Vadim Zeitlin
4b5e178a4c 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
2008-12-22 12:03:04 +00:00
Vadim Zeitlin
08060ee58f 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
2008-12-22 11:52:30 +00:00
Robert Roebling
8b41ab4d84 Regen after adding clipboard sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57488 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-21 22:36:27 +00:00
Robert Roebling
7862af84e5 Regen using newest bakefile
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57487 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-21 22:35:48 +00:00
Robert Roebling
c9a93ef94f Added bakefiles makefiles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57486 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-21 22:22:14 +00:00
Robert Roebling
3eef425f9a Forgot to commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57485 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-21 22:17:16 +00:00
Robert Roebling
c220de0b39 Added experimental async clipboard format query
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57484 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-21 22:15:50 +00:00