Commit Graph

44556 Commits

Author SHA1 Message Date
Vadim Zeitlin
5af86f4df5 don't take the min size into account when setting the window size explicitly in wxGTK, just as wxMSW doesn't do it; mention this in the docs and added a unit test to enforce this
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53741 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-25 03:08:31 +00:00
Vadim Zeitlin
1a86d2e52c create tests/window directory for wxWindow tests
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53740 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-25 02:56:22 +00:00
Vadim Zeitlin
be83461c7c add test for bug 716
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53739 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-24 22:25:45 +00:00
Robert Roebling
ea6cbf486a Dont send spin text update event from SetValue()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53738 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-24 20:24:58 +00:00
Robert Roebling
f0871806fb Mention wxDataViewTreeCtrl in wxTreeCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53737 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-24 19:49:55 +00:00
Robert Roebling
d930d1773b Minor doc corrections
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53736 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-24 19:37:12 +00:00
Robert Roebling
d5d20078e0 Don't use font encoding in Unicode mode
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53735 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-24 19:16:47 +00:00
Chris Elliott
997c7e4616 Borland still hates ternary ?
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53734 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-24 17:24:38 +00:00
Vadim Zeitlin
ec8bb9248e compilation fix after the last change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53733 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-24 15:09:39 +00:00
Vadim Zeitlin
9a0c5c012a do case normalization after long path one, this fixes the problem with incorrect paths case under Vista (closes 9162)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53732 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-24 14:42:40 +00:00
Vadim Zeitlin
d253c3fd9a added wrapsizer (should have been checked in a long time ago)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53731 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-23 23:28:53 +00:00
Vadim Zeitlin
784ee7d511 improve wxMessageOutputBest console output under Windows (closes 9146)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53730 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-23 23:28:13 +00:00
Robert Roebling
e9863f4ea1 wxTextCtrk::GetRange() shouldn't crash on out of range request
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53729 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-23 19:41:32 +00:00
Robert Roebling
d1263a3992 Simplify SetValue() with empty string
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53728 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-23 19:40:28 +00:00
Vadim Zeitlin
9a8d75f1ed call base class version from SetWindowStyleFlag() to update common styles such as border ones too (closes #9480)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53727 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-23 18:56:24 +00:00
Vadim Zeitlin
8c7da4a6b2 correct toggling of the selected icon (closes 4029)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53726 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-23 18:49:22 +00:00
Robert Roebling
f796e8f0a8 Invocation of default button by <ENTER> was impossible in wxLB_MULTIPLE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53725 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-23 18:31:58 +00:00
Vadim Zeitlin
777f9cef02 fix MSVC warnings about conversions between pointers and longs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53722 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-23 12:18:27 +00:00
Robert Roebling
8533974842 Update IsSelection() docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53721 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-23 11:17:37 +00:00
Robert Roebling
0f252d1171 Update controls sample to follow documented logic
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53720 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-23 11:04:37 +00:00
Robert Roebling
22892deac9 Move event generation in multiple selection mode to common code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53719 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-23 11:03:55 +00:00
Robert Roebling
6645d46572 Move event generation in multiple selection mode to common code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53718 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-23 11:03:00 +00:00
Robert Roebling
84c5c49bca Move event generation in multiple selectino mode to common code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53717 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-23 11:02:32 +00:00
Robert Roebling
bc60925fb3 Update selection cache when inserting items, too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53716 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-23 10:19:31 +00:00
Robert Roebling
05d790f834 Move event generation code for multiple selection mode to common code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53715 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-23 10:12:50 +00:00
Robert Roebling
794b89c956 Remove deprecated methods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53714 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-23 09:48:53 +00:00
Robert Roebling
2154130cd1 Disable events upon item deletion (just in case) and update selection cache
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53713 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-23 09:46:19 +00:00
Robert Roebling
415ab72e8d Forgot client data
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53710 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-22 21:47:20 +00:00
Robert Roebling
e8c72fce14 Make events match better with MSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53709 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-22 21:31:47 +00:00
Stefan Neis
eccec0f887 Linker fix for non-PM builds.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53708 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-22 21:21:36 +00:00
Robert Roebling
1e6ffd6691 Remove m_blockEvents and use Disable/Enable instead, some more rearraging
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53706 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-22 20:53:10 +00:00
Robert Roebling
021b67941a Minor doc corrections
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53705 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-22 20:19:00 +00:00
Robert Roebling
8c22378737 Also allow UP and DOWN if we reached max number of characters, part of [ 1947652 ] Improves keyboard behavior in wxTextCtrl on Mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53704 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-22 18:19:43 +00:00
Robert Roebling
dc0cea5e0e [ wxwindows-Patches-1947680 ] wxMac: Fixes number of printouts and more
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53703 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-22 18:11:46 +00:00
Paul Cornett
3432c148c2 add missing static keyword
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53701 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-22 16:46:08 +00:00
Vadim Zeitlin
0662f99096 add back wxChoice::DoGetBestSize() removed by the previous refactoring, it's still needed (#9150)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53698 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-22 00:55:59 +00:00
Vadim Zeitlin
154014d681 added wxDateTime::SetFrom/GetAsMSWSysTime() (#9161)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53697 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-22 00:49:27 +00:00
Vadim Zeitlin
026d727651 don't reserve space for the icons if none are used, even if we're in icon view (closes 9472)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53696 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-22 00:36:48 +00:00
Vadim Zeitlin
63b37a4e64 add handling of wxWrapSizer flags (part of ticket 9468)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53695 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-22 00:33:12 +00:00
Vadim Zeitlin
b73b211736 fix the confusion in boolean attributes handling in pre-1.3 and 1.3 versions of GLX API (closes 4823)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53694 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-22 00:25:53 +00:00
Paul Cornett
241c8d223e button text uses fg color, not text color
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53690 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-21 16:18:49 +00:00
Jouk Jansen
129848c258 Update OpenVMS compile support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53689 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-21 13:06:44 +00:00
Robert Roebling
a7a27e86fa Make height of red square depend on value in the model
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53688 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-21 11:54:30 +00:00
Robert Roebling
fbfecac9ab Add test for progress renderer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53687 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-21 09:42:52 +00:00
Robert Roebling
f7d2128f3c Query value from the model column given by col->GetModelColumn()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53686 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-21 09:41:59 +00:00
Václav Slavík
c1eb8caaa4 fixed compilation with DirectFB 0.9
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53685 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-21 09:38:39 +00:00
Robert Roebling
19723525ce Added InsertColumn( pos, col ), some reformating
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53684 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-21 08:47:21 +00:00
Robert Roebling
47e1c61bb7 Update wxString overview
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53683 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-21 08:12:22 +00:00
Robert Roebling
77da37be72 Correct wxString:Append docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53682 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-21 08:10:00 +00:00
Robert Roebling
ee28ebc046 Correct formatting
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53681 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-21 07:39:34 +00:00