Commit Graph

22775 Commits

Author SHA1 Message Date
Julian Smart
5fefca5fb1 Backported Vaclav Slavik's speeded up accurate print preview code from trunk
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@60850 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-01 10:16:13 +00:00
Vadim Zeitlin
20e227dfd0 don't add the sash size to the best size if the window is not actually split (see #10533) [backport of r59415 from trunk]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@60837 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-31 13:13:07 +00:00
Vadim Zeitlin
94254ee936 forward Freeze/Thaw() and Update() to the generic list control (see #10858)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@60825 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-30 22:38:47 +00:00
Julian Smart
78c685542a Ensure the tooltip has been created before enabling or setting the delay, or they will be no-ops.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@60791 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-29 13:32:27 +00:00
Paul Cornett
a37af54e73 avoid making GLib call before gtk_init_check is called
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@60784 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-28 16:00:45 +00:00
Vadim Zeitlin
0f2e4fd010 PCH-less compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@60726 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-24 09:27:44 +00:00
Paul Cornett
a69ab7e06b fix crash when reparenting, #3900
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@60708 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-21 17:58:40 +00:00
Julian Smart
27269a137c COrrected my misapplied fix, sorry
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@60706 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-21 10:17:44 +00:00
Julian Smart
a25a317699 Avoid resetting size if paper id not found
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@60700 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-20 13:18:11 +00:00
Julian Smart
96c5cff92a Removed duplicate semicolon
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@60697 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-20 13:15:24 +00:00
Julian Smart
be60668fbe Added a comment about DMPAPER_USER not always working
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@60695 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-20 13:07:40 +00:00
Julian Smart
23590a7981 Fixed a problem with unrecognised paper id conversions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@60692 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-20 11:56:37 +00:00
Julian Smart
5f65360a7b Added background colour control
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@60641 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-15 11:22:40 +00:00
Stefan Csomor
374c264ff5 applying, closes #9012
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@60637 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-15 04:31:29 +00:00
Julian Smart
74fe278740 Fixed event propagation problems in wxMac native list control
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@60636 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-14 12:45:20 +00:00
Benjamin Williams
b58a285f94 in wxAuiToolBar, make certain that IsChecked() returns correct value
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@60633 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-14 10:46:07 +00:00
Vadim Zeitlin
fb2275f5b3 don't scroll to the child which gets focus if it's already fully visible (see #9563) [backport of r57402 from trunk]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@60600 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-12 10:33:49 +00:00
Paul Cornett
6dcdeb3e25 draw focus rect for wxCheckListBox item
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@60531 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-06 16:04:20 +00:00
Paul Cornett
ea3ce35cd8 fix off-by-one size of wxCheckListBox item draw rect
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@60530 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-06 15:51:09 +00:00
Stefan Csomor
28f769d315 switching to pthreads on 2.8 for osx as well, needed for performance reasons, since TEConverters are now guarded by a mutex, reported by Charlie Fenton from BOINC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@60519 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-05 12:26:54 +00:00
Kevin Ollivier
adc1049354 Allow m_current to be used for the focused item, and reset the scroll position when removing all items from the data browser control.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@60485 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-02 18:55:12 +00:00
Vadim Zeitlin
452a710f37 don't use invalid image list index (closes #10472)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@60479 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-02 15:44:18 +00:00
Stefan Csomor
447e7f8ae1 reverting r43119, fixes #10752
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@60473 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-02 13:42:25 +00:00
Vadim Zeitlin
797e9dad09 fix a problem with loading inked.dll (see #10633)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@60394 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-26 18:41:02 +00:00
Robin Dunn
958a3e2928 Use a hidden window to catch the timer messages instead of a timer proc. This fixes an obscure problem where a new activation context is ignored while in the scope of the timer callback. wxPython needs the activation context to always be active.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@60297 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-24 05:06:25 +00:00
Julian Smart
7048cc51fc State fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@60283 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-22 14:00:41 +00:00
Julian Smart
0c3f08c51d Removed redundant/harmful no anti-aliasing on Mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@60280 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-22 07:58:35 +00:00
Benjamin Williams
e787be7457 implement default width for toolbar labels
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@60197 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-16 12:58:37 +00:00
Kevin Ollivier
50f9c1377c Initial support for Cairo on MSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@60190 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-16 00:57:35 +00:00
Kevin Ollivier
7e5d50cd6e Implement CreateMeasuringContext for GTK/Cairo (backport from trunk)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@60186 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-15 22:01:41 +00:00
Julian Smart
324d9456c7 Fixed a bug whereby setting one element size set all element sizes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@60163 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-15 09:40:52 +00:00
Vadim Zeitlin
7681f9dee5 added names of WM_XXXUISTATE messages to wxGetMessageName() (closes #10691)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@60057 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-07 15:00:09 +00:00
Vadim Zeitlin
1458ebf6c0 implement SetTimes() for directories too under MSW [backport of r58153 from trunk] (closes #10250)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@60030 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-05 12:54:37 +00:00
Julian Smart
0d704eb30a Fixed wxRTC AltGr+key input on Windows
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@59979 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-02 09:50:57 +00:00
Benjamin Williams
9d68bed54b undock/float toolbar if it's dragged right or south of client area
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@59960 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-31 09:11:19 +00:00
Julian Smart
f399f6b686 Size correction
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@59958 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-31 08:04:56 +00:00
Julian Smart
22e0eefd09 Better representation of styles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@59957 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-31 08:01:31 +00:00
Benjamin Williams
021480f610 missing header fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@59950 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-30 21:26:14 +00:00
Benjamin Williams
cf872b96c7 don't allow docks to be resized such that panes overlap
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@59942 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-30 16:07:02 +00:00
Vadim Zeitlin
d9d7ae101d fix Unicode build after last change (closes #10649)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@59909 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-29 12:01:32 +00:00
Vadim Zeitlin
2f383eaa7d don't reset WS_EX_CONTROLPARENT bit in wxNotebook::MSWGetStyle(), this can result in freezing the program
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@59897 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-27 22:37:22 +00:00
Benjamin Williams
b6dfd1ee34 don't draw resize sash if it's dragged outside of managed frame
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@59886 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-27 13:18:30 +00:00
Benjamin Williams
0217731f91 pane sizes within a dock are not allowed to exceed the dock's entire current pixel size
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@59883 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-27 12:47:18 +00:00
Benjamin Williams
8d514fe52d applied patch fixing border problem (#10171)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@59881 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-27 09:46:09 +00:00
Vadim Zeitlin
71d1ad8b40 added forward compatible wxFileName::StripExtension() (see #10634)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@59869 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-26 15:59:38 +00:00
Benjamin Williams
5c892e9a01 fix incorrect application of styles (#10171)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@59850 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-25 13:41:38 +00:00
Benjamin Williams
a8724f01e4 wxAuiToolbar properly handles items with wxID_ANY (#10173)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@59830 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-25 10:11:03 +00:00
Julian Smart
48fe8a365f Fixed small alignment issue
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@59814 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-24 19:05:15 +00:00
Stefan Csomor
093b2ed4b1 applying proper weak link test, closes #10581
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@59805 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-24 08:26:48 +00:00
Vadim Zeitlin
099e36630b fix generation of wxEVT_CHAR_HOOK events [backport of r59700 from trunk]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@59701 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-21 16:12:21 +00:00