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
Julian Smart
656dd3e0c4
wxTE_PROCESS_ENTER isn't just for Windows.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@63543 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-02-24 11:32:58 +00:00
Chris Elliott
f2bbc0a0e3
fix trac 11733 (part2, missing xml.h in base tarball)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@63512 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-02-18 09:34:43 +00:00
Robin Dunn
b99444c736
Apply new patch fixing problem of IsRunning always returning True. See #11699
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@63485 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-02-15 17:30:58 +00:00
Václav Slavík
fc25164624
Make it possible to subclass wxMenuBar in XRC (patch #11679 ).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@63466 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-02-11 12:47:17 +00:00
Václav Slavík
fe84c6f5e1
Fixed possible buffer overflow in wxXmlResource::GetXRCID() (patch #11715 ).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@63465 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-02-11 12:36:43 +00:00
Robin Dunn
d479459b39
Allow more than one timer with the same ID. See #11699 .
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@63420 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-02-08 19:38:46 +00:00
Vadim Zeitlin
b42afac3a0
Remove unnecessary <vector> inclusion.
...
This header doesn't seem to be used anywhere and we try to avoid any STL
dependencies in 2.8 branch.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@63406 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-02-05 19:05:12 +00:00
Vadim Zeitlin
baf84d8710
Don't include wx/rawbmp.h unnecessary from src/generic/graphicc.cpp.
...
This is not only unneeded but also breaks wxX11 (and probably other ports)
compilation because raw bitmap access is not available there.
Closes #11700 .
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@63405 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-02-05 19:03:20 +00:00
Vadim Zeitlin
cc1d7dd68d
Rebake Makefile.in with correct shared libraries version.
...
Modifying version.bkl in r63297 wasn't enough, Makefile had to be rebaked as
well.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@63393 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-02-05 01:17:17 +00:00
Robin Dunn
e9d564b905
subrelease number should be reset to zero when incrementing the release number
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@63392 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-02-05 00:27:19 +00:00
Robin Dunn
4d7c9f2205
Set the ID and event object for wxSetCursorEvents
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@63391 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-02-05 00:26:44 +00:00
Robin Dunn
63b7efeaa7
Backport r62977 and others from trunk to allow timers with ID of zero.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@63390 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-02-05 00:26:01 +00:00
Julian Smart
37c68ffe9f
Don't select all if there is nothing to select.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@63373 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-02-03 11:42:58 +00:00
Julian Smart
422d720acd
Don't delete previous character when pressing Del at end of buffer.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@63371 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-02-03 09:51:42 +00:00