Commit Graph

39065 Commits

Author SHA1 Message Date
Vadim Zeitlin
49baf35105 don't generate size events when the window is unmapped, this is at best unnecessary and also breaks window layout in some situations [backport from HEAD rev 1.683]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44579 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-27 20:52:10 +00:00
Vadim Zeitlin
db122f4a78 removed erroneous return in DoSetFont() [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44576 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-27 14:06:58 +00:00
Robin Dunn
25f8729c3d Updated to TreeMixin 0.7
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44574 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-26 23:35:07 +00:00
Robin Dunn
ee059415c1 Allow using a memory dc (or a buffered dc) as the target of
a wx.GraphicsContext.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44573 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-26 23:28:04 +00:00
Robin Dunn
a927054171 Simple test for using a memory dc (or a buffered dc) as the target of
a wx.GraphicsContext.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44572 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-26 23:24:49 +00:00
Robin Dunn
d6b9ff1c54 Reorder what happens when a button is pressed so if the user's event
handler blocks it won't leave the buttonbar in a funny state when it
finally returns.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44571 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-26 23:23:57 +00:00
Robin Dunn
f1cafba603 Added the wx.SizerFlags class, and also added AddF, InsertF and
PrependF methods to wx.Sizer.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44570 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-26 23:22:25 +00:00
Vadim Zeitlin
df1a8b2e0c interpret stringsinvalid in current encoding as ISO8859-1 instead of discarding them completely [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44568 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-26 10:00:35 +00:00
Robin Dunn
ca7f6330aa Backport fixes from ROL: Fixed SetItemBold and editing 'growable'
properties of wxFlexGridSizer.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44561 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-24 00:11:49 +00:00
Julian Smart
83d4d9efdf Fixed a control-arrow bug
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44559 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-23 10:30:40 +00:00
Julian Smart
1c44e75697 Fixed a confusion between window and client size that could lead to
gradually increasing window size on repeated layout, by duplicate
application of the client to window size conversion.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44555 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-22 17:57:05 +00:00
Robin Dunn
20a3ae94cc Support wxTELETYPE font family
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44553 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-21 23:41:35 +00:00
Robin Dunn
6dfee8c4c2 update version number
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44552 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-21 23:41:06 +00:00
Robin Dunn
30a04aa8cc show better technique for updating drawing from outside of EVT_PAINT handler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44551 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-21 23:40:24 +00:00
Robin Dunn
65df1b5001 enable this demo for the Mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44550 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-21 23:37:37 +00:00
Robin Dunn
a60374d0de Oops, forgot to remove the commented out code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44549 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-21 22:28:36 +00:00
Robin Dunn
f7a9ee3aa6 simple test for wxGCDC::DoDrawEllipticArc
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44548 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-21 22:24:40 +00:00
Robin Dunn
ea91c399c5 Use floating point math in wxGCDC::DoDrawEllipticArc. Also removed
the lines closing the arc since wxDC doesn't do that.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44547 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-21 22:24:02 +00:00
Robin Dunn
155efe740f Applied patch [ 1664571 ] ListCtrl::ColumnSorterMixin-new callback
OnSortOrderChanged


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44546 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-21 19:47:56 +00:00
Julian Smart
90cd8c2729 Applied [ 1613294 ] wxGetMouseState/wxIsKeyDown bug
(troelsk - allow for left-handed mouse)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44544 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-21 15:07:26 +00:00
Julian Smart
8a6dda6ff7 Fixed a problem with tabs when text spills over the end of the tab stops
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44541 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-20 12:54:44 +00:00
Julian Smart
1b8dc48cde Ignore Windows key
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44539 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-20 07:57:54 +00:00
Robin Dunn
4df1ca4f16 another typo fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44538 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-20 02:39:26 +00:00
Robin Dunn
352ed6aaaa simple test for drawing and measuring text with a GC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44537 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-20 02:29:59 +00:00
Robin Dunn
bff84b0d09 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44536 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-20 02:28:24 +00:00
Robin Dunn
0a7dc77803 fix 'instance' typos
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44535 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-20 02:27:07 +00:00
Robin Dunn
27315f82f2 Add a bit of testing code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44534 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-20 02:18:37 +00:00
Robin Dunn
dc44ffb35e Add implementations for:
wxCairoPathData::AddPath
    wxCairoContext::Clip
    wxCairoContext::ResetClip
    wxCairoContext::GetTextExtent

Adjusted the baseline-relative DrawText to be offset by the ascent.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44533 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-20 02:12:47 +00:00
Robin Dunn
27b13b5b0c Add wx.DD_DIR_MUST_EXIST style. (Patch #1662736)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44532 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-19 21:17:27 +00:00
Robin Dunn
a556dce309 simple wx.LogWindow test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44531 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-19 21:14:07 +00:00
Robin Dunn
9d99f4d8f5 fix import
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44530 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-19 21:13:22 +00:00
Robin Dunn
b658d79e44 Patch #1662729: TreeListCtrl::SetColumnWidth accepting wxLIST_AUTOSIZE
and wxLIST_AUTOSIZE_USEHEADER.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44529 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-19 20:35:36 +00:00
Robin Dunn
55ce0bae63 TreeMixins 0.6 from Frank
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44528 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-19 20:31:11 +00:00
Robin Dunn
191406ad84 wxMac can handle the foreign DnD too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44527 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-19 20:30:23 +00:00
Julian Smart
49a0fc52cf Layout correction
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44525 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-19 18:32:07 +00:00
Julian Smart
f699514631 Doc corrections
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44524 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-19 18:30:26 +00:00
Robin Dunn
b293a41f30 use InspectableApp for testing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44519 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-16 23:47:24 +00:00
Robin Dunn
5b570e6240 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44518 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-16 23:46:28 +00:00
Robin Dunn
c9f693519e Remove boxus property (getter requires param)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44517 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-16 23:35:48 +00:00
Robin Dunn
31fff11b15 Add wx.lib.mixins.treemixin from Frank Niessink.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44516 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-16 23:34:47 +00:00
Robin Dunn
4943ebb1e3 Fixes as described in #1661049 (Uncollectable ogl objects)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44515 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-16 23:32:37 +00:00
Julian Smart
24f640b8d9 IsShown shouldn't cause empty sizers to not have their positions calculated
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44514 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-16 22:12:58 +00:00
Vadim Zeitlin
cefb28b4d7 don't delete inexistent column indices in DeleteCols() [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44513 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-16 17:43:39 +00:00
Julian Smart
f15bea31f9 Added support for hover bitmap
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44510 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-16 08:16:37 +00:00
Vadim Zeitlin
1b43a6c780 various compilation fixes [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44499 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-13 23:22:24 +00:00
Vadim Zeitlin
af77802f1f removed superfluous semicolon
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44498 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-13 23:20:12 +00:00
Robin Dunn
01ffc0fba2 rebaked makefiles with new version numbers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44495 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-13 16:52:00 +00:00
Chris Elliott
1038cd1374 version update
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44490 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-13 11:26:41 +00:00
Robin Dunn
503cad4a4c Make the greyed image list be the same size as the main image list,
don't assume 16x16


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44489 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-12 21:27:09 +00:00
Julian Smart
92a785767b Pass correct values to spin control
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44488 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-12 21:01:58 +00:00