Tim Kosse
31750f130d
Backport r65496: Fix infinite loop in wxDateTime::Format() when fields width was used. Closes #12451
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@65724 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-10-02 12:57:57 +00:00
Tim Kosse
db7213c07f
Apply #12469 : Do not start rename timer if the generic implementation is used which has its own rename timer already.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@65722 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-10-02 08:53:36 +00:00
Michael Wetherell
ea44a9343c
A couple of fixes for wxChm
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@65683 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-09-30 13:09:08 +00:00
Julian Smart
480c0b2864
Compile fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@65661 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-09-28 06:27:35 +00:00
Julian Smart
e33ca4565c
Fix bug finding line after line break
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@65594 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-09-23 16:16:33 +00:00
Julian Smart
e6dffa8551
Fix for % symbols going missing from style parameter
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@65531 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-09-12 16:16:38 +00:00
Robert Roebling
636ba3c242
Unregister configure callback, fixes #12447 : wxGTK patch: Segfault on Drag&Drop
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@65480 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-09-08 20:01:32 +00:00
Julian Smart
741c337588
wxRichTextCtrl::ApplyStyle now applies a paragraph style at the cursor
...
without needing a selection, and setting the default style now avoids duplicating
character attributes in subsequently typed text when they exist in the paragraph style.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@65455 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-09-01 14:48:43 +00:00
Julian Smart
155deb3257
Forgotten commits - image loading and XML speedups
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@65452 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-08-31 19:04:30 +00:00
Julian Smart
f9d3e8cfec
Documented recent wxRTC fixes.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@65445 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-08-30 11:30:11 +00:00
Julian Smart
89d2fc492a
Fixed wrong line spacing calculation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@65443 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-08-30 11:27:22 +00:00
Julian Smart
52b18ceafe
Don't add space before para twice in paragraph layout
...
Discard attributes from empty text object when merging
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@65441 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-08-30 08:47:14 +00:00
Julian Smart
49e97b2532
Better close button placement on tabs, especially for bottom tab alignment
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@65361 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-08-19 12:12:51 +00:00
Julian Smart
bc830a8714
Don't reset bullet number and outline number when applying style sheet.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@65169 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-08-03 17:14:54 +00:00
Julian Smart
a2ac9be2ac
Don't create a font when converting to wxTextAttrEx unless one exists
...
in the wxRichTextAttr
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@65157 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-08-02 13:26:07 +00:00
Vadim Zeitlin
5b025a8d33
Replace _T() with wxT() in regex code.
...
This fixes compilation with SunCC for which _T() is not defined by default.
Closes #12261 .
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@65053 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-07-23 11:56:53 +00:00
Vadim Zeitlin
b927c42116
Use -headerpad_max_install_names option for fractal demo under OS X.
...
Without it, changing install name fails which probably makes the demo
unrunnable and also prevents the Buildbot build from succeeding.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@64986 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-07-16 11:39:06 +00:00
Vadim Zeitlin
89cac46c58
Initialize wxGrid::m_batchCount before using it.
...
Adjust the initialization order in wxGrid::Init() to avoid using uninitialized
variables.
Closes #12226 .
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@64935 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-07-13 11:36:06 +00:00
Julian Smart
4fb8390e66
Added missing wxTEXT_ATTR_PAGE_BREAK from wxTEXT_ATTR_PARAGRAPH
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@64777 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-06-28 21:21:53 +00:00
Robin Dunn
5dcae7c2b5
Copy of the build/tools for the 2.8 branch
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@64743 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-06-25 21:08:17 +00:00
Robin Dunn
8bc521322d
Removing svn:externals property
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@64742 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-06-25 21:06:39 +00:00
Julian Smart
dbf712b607
GetStyleMergedWithBase no longer hangs if there's a loop implied by based-on styles.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@64520 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-06-07 07:39:45 +00:00
Jaakko Salli
74589ae82f
Backported from wx2.9: Greatly reduce rare animation garbage in wxOwnerDrawnComboBox drop-down animation (see #12087 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@64477 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-06-03 15:25:41 +00:00
Jaakko Salli
f790864585
Interpret arrow keys correctly in wxMSW wxComboCtrl::IsKeyPopupToggle()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@64459 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-06-01 15:38:53 +00:00
Julian Smart
a9ad1e1b0a
Caret position corrected to end of selection
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@64433 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-05-30 14:00:23 +00:00
Jaakko Salli
f2ef438692
Make wxComboCtrl::SetButtonPosition() now again work on wxMSW
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@64412 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-05-27 15:11:58 +00:00
Jaakko Salli
89e1f57475
Disable Vista/Win7-style wxComboCtrl rendering in wx2.8 by default (define wxUSE_COMBOCTRL_VISTA_RENDERING=1 to enable it), as it may cause subtle drawing bugs with custom wxComboCtrls
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@64411 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-05-27 15:02:42 +00:00
Jaakko Salli
61f86808d1
Added change log entry about the wxComboCtrl focus draw change
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@64409 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-05-27 14:04:40 +00:00
Jaakko Salli
5003a72961
wxComboControl -> wxComboCtrl
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@64398 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-05-26 15:12:03 +00:00
Jaakko Salli
42d8454f34
Backported wxComboCtrl::ShouldDrawFocus() from wxWidgets 2.9. This makes wxMSW wxOwnerDrawnComboBox look more native when wxCB_READONLY is used.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@64397 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-05-26 15:08:54 +00:00
Jaakko Salli
a01ef3cc40
Backported from wx2.9 improved wxComboCtrl/wxOwnerDrawnComboBox appearance under Vista/Win7. Should have been done years ago, really.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@64396 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-05-26 14:54:27 +00:00
Jaakko Salli
8fe08e5275
Suppress SetFocus() warning in wxVListBoxComboPopup
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@64259 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-05-09 10:48:37 +00:00
Julian Smart
270573834f
wxRTC: fixed style selection reset after editing a style.
...
wxRTC: can now edit line spacing in .1 increments from 1 to 2.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@64163 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-04-27 16:16:21 +00:00
Julian Smart
bffffa52c7
Font output fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@64162 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-04-27 16:10:27 +00:00
Vadim Zeitlin
9ef5aeb8ad
Fix typo in SIZEOF_WCHAR_T test.
...
This fixes compilation under the platforms where SIZEOF_WCHAR_T != 4 (probably
Windows only).
Closes #11994 .
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@64156 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-04-27 08:52:30 +00:00
Stefan Csomor
c581ceae57
backport of better drawing for toggle buttons
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@64084 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-04-20 21:02:00 +00:00
Stefan Csomor
5bca496335
backport of order fixes for transform concatenations
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@64083 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-04-20 21:00:02 +00:00
Stefan Csomor
8cd3f025d8
backport r64081
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@64082 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-04-20 20:53:07 +00:00
Michael Wetherell
677da44f80
Add stub -t and -d options to the test program on the stable branch for
...
forward compatibilty with the trunk.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@64032 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-04-18 16:27:27 +00:00
Vadim Zeitlin
b7379c0e71
Another compilation fix to wxMimeTypesManager, this time in Unicode build.
...
Fix another problem introduced by backporting the fix from the trunk in
r63936.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@63971 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-04-14 00:10:21 +00:00
Vadim Zeitlin
a245f658c7
Compilation fix after last commit.
...
wxApp::GetTraitsIfExists() doesn't exist in 2.8, mea culpa for backporting the
trunk fix without testing.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@63949 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-04-12 11:11:26 +00:00
Vadim Zeitlin
879c60f2bf
Fix crash in wxMimeTypesManager [backport of r63935 from trunk].
...
Don't crash if wxMimeTypesManager is used before wxApp creation.
See #11927 .
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@63936 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-04-10 18:23:07 +00:00
Chris Elliott
495908a179
2.8.11
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@63779 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-03-29 11:39:42 +00:00
Vadim Zeitlin
88fe863ff4
Properly handle DC origin and scale in wxDoFloodFill() [backport of r57824].
...
Closes #4557 .
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@63770 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-03-28 22:34:12 +00:00
Vadim Zeitlin
6547f163f4
Use COLORONCOLOR stretching mode in DrawBitmap() too [backport of r60034 from trunk].
...
Closes #3400 .
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@63769 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-03-28 22:34:08 +00:00
Vadim Zeitlin
f3211393f6
Fix wxDateTime::GetWeekOfMonth() [backport of r62916 from trunk].
...
Closes #11561 .
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@63768 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-03-28 22:34:03 +00:00
Julian Smart
6e63381c91
Fixed ordering bug that caused an assertion because symbol list control wasn't set to unicode yet
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@63745 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-03-23 08:59:44 +00:00
Vadim Zeitlin
0f085d7e62
Compilation fix for wxOS2 with Watcom.
...
Assign BYTE* to pData variable in wxMenu::DoInsertOrAppend(), not char*.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@63709 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-03-18 15:14:42 +00:00
Vadim Zeitlin
be1ec70d1d
Fix another incorrect file name conversion in wxGTK.
...
GTK file paths are in UTF-8 and not ASCII.
Really closes #11743 .
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@63601 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-03-02 00:20:21 +00:00
Vadim Zeitlin
2afbd70030
Always use UTF-8 for GTK+ strings [backport of r63549 from trunk].
...
Strings returned and accepted by GTK+ functions always use UTF-8 independently
of the current locale and of the file name encoding we use. So use UTF-8
instead of wxConvFileName everywhere where we deal with GTK+ directly.
Closes #11743 .
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@63600 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-03-02 00:15:45 +00:00