Commit Graph

40794 Commits

Author SHA1 Message Date
Vadim Zeitlin
a2170565cb fix warnings about passing double as unsigned char
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@55210 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-23 18:17:49 +00:00
Vadim Zeitlin
d060ae855f fix changing font/colour of label in buttons with images (#3939) [backport from trunk]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@55209 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-23 18:17:12 +00:00
Vadim Zeitlin
e3959a350e don't reserve space for the icons if none are used, even if we're in icon view (#9472) [backport from trunk]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@55208 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-23 17:53:37 +00:00
Vadim Zeitlin
76ae7f748b handle FNERR_INVALIDFILENAME which happens if an invalid file name is passed to wxFileDialog (#9688) [backport from trunk]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@55207 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-23 17:49:04 +00:00
Vadim Zeitlin
e50f48d518 use wx_static_cast() instead of static_cast<> on an off chance that some compiler still doesn't have the latter; fix svn properties for the new file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@55206 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-23 16:19:16 +00:00
Robert Roebling
a4c76fe11e wxComboCtrlBase::Enable() does not refresh the control #9900
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@55201 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-23 08:20:00 +00:00
Benjamin Williams
2e6e6e6641 add missing header for WXMAC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@55199 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-23 07:57:05 +00:00
Benjamin Williams
5e4a7d7825 fix header problems
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@55198 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-23 07:24:10 +00:00
Benjamin Williams
fd19a674ad rebaked because of auibar.*
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@55197 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-23 06:37:17 +00:00
Benjamin Williams
441b14b09c updated aui sample with new toolbar
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@55196 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-23 06:35:01 +00:00
Benjamin Williams
5875590747 added wxAuiToolBar
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@55195 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-23 06:31:01 +00:00
Julian Smart
c5301893b2 Documented wxRTC fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@55177 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-22 15:22:58 +00:00
Julian Smart
f493fe3249 Improved auto list numbering
Fixed selection bugs


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@55175 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-22 15:21:13 +00:00
Julian Smart
2e1ff9a2df Typo corrections
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@55173 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-22 14:00:39 +00:00
Stefan Csomor
34785fc861 routing SetTitle to SetLabel as MSW does, fixing potential zombie pointers after mouse down events which delete windows
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@55172 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-22 13:08:41 +00:00
Julian Smart
1bf1c271b3 Generic caret no longer invisible on a dark background
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@55170 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-22 10:34:32 +00:00
Julian Smart
cdcd2013d1 Improved style list size calculations
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@55168 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-22 10:08:53 +00:00
Vadim Zeitlin
e87b77933f don't always create DIBs in wxBitmap(wxImage) ctor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@55153 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-21 20:43:48 +00:00
Václav Slavík
dbcb86a4dc fixed typo in 2.8 backport of MSW print preview fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@55152 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-21 20:42:40 +00:00
Julian Smart
833770ca91 Fixed default margin sizes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@55146 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-21 16:07:54 +00:00
Stefan Csomor
3f69d4b904 using the 'new' bottleneck methods, fixing bugreport from Bengt Nilsson <bengt.nilsson11@spray.se>
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@55142 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-21 08:56:50 +00:00
Václav Slavík
49ad7c5115 fixed scaling of print preview if there's not enough RAM for the full page
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@55135 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-20 21:59:10 +00:00
Stefan Csomor
b43a0635a2 fixing leak in the 'old' non-graphics code, thanks to Kevin
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@55129 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-19 04:50:45 +00:00
Vadim Zeitlin
8c42541999 fix MSVC warning about int->bool conversion introduced by r55113
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@55125 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-18 20:04:58 +00:00
Vadim Zeitlin
ba7ef3304e paint the space remaining after the columns too in wxListHeaderWindow::OnPaint() (#9855)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@55117 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-18 12:02:01 +00:00
Vadim Zeitlin
4f3118c4b2 use CLSCTX_ALL instead of CLSCTX_LOCAL_SERVER in CreateInstance() (#9868)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@55116 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-18 11:57:55 +00:00
Vadim Zeitlin
cc68a5bd69 add comparison operators for UUID class (#9871)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@55113 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-18 11:30:10 +00:00
Bryan Petty
0930be303a Backported r45754 to 2.8 branch closing #4785.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@55100 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-16 02:46:05 +00:00
Paul Cornett
c53016953a fix for page change not working after veto, #3808
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@55094 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-15 04:52:13 +00:00
Vadim Zeitlin
7de0d6637c fix typo in __WWXMAC__
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@55078 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-13 12:31:13 +00:00
Václav Slavík
d1fcc2c2c7 apply Stefan's fix for wxHtmlDCRenderer clipping
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@55069 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-12 16:02:31 +00:00
Václav Slavík
89e59df375 fixed alphabetical order
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@55068 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-12 15:49:30 +00:00
Robin Dunn
9fae82ec59 Use WXUNUSED and give more explaination for the handler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@55055 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-10 20:52:26 +00:00
Robin Dunn
46205f5352 Avoid default child window focus behavior in generic wxListCtrl. Fixes #9563
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@55042 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-10 00:25:05 +00:00
Vadim Zeitlin
eaafc5e972 correct the bug with Replace()ing with empty string introduced by r54860 (re-fixes #9802)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@55034 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-09 20:34:36 +00:00
Robin Dunn
ad48736221 Bump subrelease number
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@55027 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-08 05:09:54 +00:00
Julian Smart
307c2b253f Fixed scrolling problem where scrollbar was taken to be a valid child window
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@55010 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-07 15:58:51 +00:00
Julian Smart
e3cdca140e Fix from John Dallaway for jumping to the top when expanding/collapsing items.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@55007 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-07 09:29:54 +00:00
Stefan Csomor
54fa957a48 fixing remainder of bug #3776, clean activateAndIgnoreClick behaviour for DataBrowser
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54982 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-05 17:55:14 +00:00
Julian Smart
c91aeed0a8 Allow small widths when setting initial strings.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54967 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-04 15:33:13 +00:00
Benjamin Williams
62e1396736 fix mouse capture lost assert when dialog shown in tab change event handler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54959 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-03 13:57:30 +00:00
Vadim Zeitlin
00a6c15a74 fix view rectangle calculation for the control with scrollbars (#9467)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54957 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-03 12:15:30 +00:00
Vadim Zeitlin
8679c16313 make SetValidator() symmetric with GetValidator() (#9793)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54951 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-03 11:12:58 +00:00
Vadim Zeitlin
7bd43065b4 compilation fix for PCH-less build after last commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54948 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-03 10:54:33 +00:00
Vadim Zeitlin
9530dade7c store palette information from XPM in wxImage (#9763)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54947 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-03 10:31:07 +00:00
Benjamin Williams
c57f3188ff fix segfault when Update() is called inbetween mouse-up and mouse-down
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54945 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-03 09:46:32 +00:00
Vadim Zeitlin
71fd0e9fa9 don't keep the transparent palette colour from the previous frame for the next one which may not have any transparency at all (#9747)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54944 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-03 00:36:52 +00:00
Vadim Zeitlin
81b8e40161 add support for reading alpha channel from BMP images (#9741)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54942 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-03 00:23:38 +00:00
Vadim Zeitlin
40f1280e0d fix keyboard navigation in radio boxes containing hidden or disabled items
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54930 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-02 19:45:23 +00:00
Vadim Zeitlin
7e8f47db5e ensure that one of wxRA_SPECIFY_{COLS,ROWS} is set in the radiobox style, otherwise layout code doesn't work correctly and this can easily happen if the radiobox is created from an XRC file not specifying its style at all
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54927 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-02 15:59:13 +00:00