Commit Graph

22758 Commits

Author SHA1 Message Date
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
Jaakko Salli
f9e64ae1b9 Have wxComboCtrl respect parent's wxTAB_TRAVERSAL flag; Also cleaned up key event redirecting code (backported from trunk)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@59691 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-21 10:04:10 +00:00
Jaakko Salli
1912d5c967 Also redirect wxEVT_KEY_UP and wxEVT_CHAR from the embedded wxTextCtrl (backported from trunk)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@59690 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-21 09:52:38 +00:00
Jaakko Salli
5b6396919a Fixed assertion that could appear under wxGTK if wxComboCtrl drop-down button was clicked too quickly (backported from trunk)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@59689 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-21 09:50:08 +00:00
Václav Slavík
427d3c8d89 wxHTML tables handler didn't properly restore m_enclosingContainer state (fixes #10370)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@59687 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-21 09:41:09 +00:00
Vadim Zeitlin
5d60211ad2 include wx/button.h to get wxBU_EXACTFIT declaration
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@59641 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-20 11:53:54 +00:00
Vadim Zeitlin
1baae6e46e add wxBU_EXACTFIT support to wxToggleButton XRC handler (closes #10228)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@59639 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-20 09:29:23 +00:00
Vadim Zeitlin
f5dda646e2 fix compilation for wxUSE_INTL==0 (closes #10614)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@59633 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-19 23:43:55 +00:00
Benjamin Williams
0808993664 added wxITEM_RADIO support to wxAuiToolbar (applied #10602 with minor changes)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@59604 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-18 13:28:29 +00:00
Stefan Neis
39db4aa8ed Update m_nSize when shrinking wxArrayString (fixes #10591).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@59534 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-14 18:36:08 +00:00
Julian Smart
7264e9a13d Don't set a large minimum pane size; the splitter should take account of the
minimum size anyway. Having a large minimum size (for both panes) can cause
problems when both panes are small.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@59342 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-05 15:54:25 +00:00
Julian Smart
4312d124eb Prevent the splitter sash being set smaller than minimum size
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@59341 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-05 15:44:24 +00:00
Vadim Zeitlin
1dac3cb00c fix old font size restoration in DoGetTextExtent() [backport of r56791 from trunk]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@59294 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-03 10:34:35 +00:00
Vadim Zeitlin
59214a529e don't use mbstowcs(NULL) with Cygwin (closes #10526)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@59208 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-28 19:34:30 +00:00
Vadim Zeitlin
2175a98d7c mark alpha as being static if data is static too (closes #10525) [backport of r57528 from trunk]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@59197 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-28 15:44:53 +00:00
Julian Smart
e76c939644 Corrected IMPLEMENT_CLASS/BEGIN_EVENT_TABLE base class
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@59180 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-27 08:56:42 +00:00
Vadim Zeitlin
07c18710a3 fix handling of long lines in wxGridCellAutoWrapStringRenderer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@59121 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-25 00:09:23 +00:00
Benjamin Williams
b3069defb2 focus fixes for wxAUINotebook (fixes #4361)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@59116 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-24 18:37:01 +00:00