Stefan Csomor
3a2ae66206
fixing a CG error during construction on 10.6, resizing the client area so that the content doesn't extend over the shape's boundingbox at the right and the bottom
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@67125 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-03-04 16:36:47 +00:00
Julian Smart
afa37904f2
Fixed crash on exit caused by deleting old logger in wxLogChain dtor.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@67119 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-03-03 15:09:44 +00:00
Julian Smart
fc2f7de763
Fixed a problem with paste resetting the content paragraph style.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@67111 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-03-02 20:55:16 +00:00
Vadim Zeitlin
6efbf64702
Japanese translations update from Suzumizaki-Kimitaka.
...
See #13003 .
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@67106 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-03-02 10:29:07 +00:00
Vadim Zeitlin
fd22cf4915
Relax the restriction on the number of colours in wxMSW wxPalette.
...
Refuse to create palettes with more than 65536 colours and not 256 ones. It
doesn't seem very useful to use more than 256 of them anyhow as any colours
above index 255 can't be accessed via GetRGB() but don't break the palette
creation with more colours in the stable branch without a good reason, maybe
someone makes some use of this.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@67095 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-03-01 00:02:52 +00:00
Vadim Zeitlin
2a35360c3d
Refuse to create palettes with more than 256 colours.
...
Creating palettes with more than USHRT_MAX could result in memory corruption
and there is really no reason to allow more than 256 of them anyhow as we
already check that the color index is in 0..255 range in GetRGB().
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@67071 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-02-27 13:10:43 +00:00
Julian Smart
fbaae26c41
Change log for wxRTC fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@67042 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-02-27 08:16:28 +00:00
Julian Smart
b876a83ac4
Applied #12986 : Improved installation instructions for Mac OS X for 2.8.12 branch
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@67041 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-02-27 08:15:57 +00:00
Julian Smart
8b7bcfa452
Fix for #11647 : text from WriteText not scrolled to be visible in wxRichTextCtrl
...
IsPositionVisible was incorrect.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@67025 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-02-25 17:28:13 +00:00
Julian Smart
65d8b8e329
Applied patch in #12279 : in wxRichTextCtrl, when wxRE_READONLY is set, the undo, redo function should be disabled
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@67023 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-02-25 12:25:45 +00:00
Julian Smart
adf4619d45
Added missing colour index case
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@67019 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-02-25 10:31:24 +00:00
Julian Smart
726de9de5c
Added wxSYS_COLOUR_LISTBOXHIGHLIGHTTEXT to correct tree and list control selection rendering.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@67017 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-02-25 09:37:28 +00:00
Julian Smart
9de77dbe30
Better unfocused selected list item colouring
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@67013 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-02-24 18:08:38 +00:00
Julian Smart
fbf2343ea0
Fix for #12979 : wrong unfocused selected text colour in wxTreeCtrl/wxListCtrl
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@67011 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-02-24 10:02:44 +00:00
Julian Smart
a2abbb1cc9
Documented fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@67010 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-02-24 09:35:23 +00:00
Julian Smart
ff19309e93
Applied #12959 : Fix build with libpng-1.5
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@67009 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-02-24 08:42:57 +00:00
Julian Smart
ce66c3ea4e
Note to add --disable-gui
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@67004 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-02-23 18:43:48 +00:00
Julian Smart
6e019c14b7
Tweak from #12975
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@67003 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-02-23 18:41:00 +00:00
Julian Smart
af2b619ade
Assertion fixed (colours not in sync with wxSystemColour)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@67002 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-02-23 18:37:36 +00:00
Julian Smart
8be4c9ff86
Documented menu bar fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@66991 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-02-22 12:13:19 +00:00
Julian Smart
8736eb1479
VC6 build fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@66990 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-02-22 12:10:44 +00:00
Julian Smart
b224c2303b
Regenerated makefiles using Bakefile 0.2.9
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@66986 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-02-20 20:08:10 +00:00
Julian Smart
8ede0bfa67
Corrected a hit test problem when tabs are present
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@66983 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-02-20 12:05:00 +00:00
Tim Kosse
47213bf54b
Check for bind() failing. Closes #12299
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@66982 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-02-20 11:04:45 +00:00
Tim Kosse
2d95583530
Apply #12084 : Double-clicking disabled left/right scroll buttons in wxAuiNotebook no longer counts as background doubleclick.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@66981 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-02-20 10:48:53 +00:00
Tim Kosse
7d49fd0781
Need to call wxFrame::Create instead of wxWindowBase::CreateBase in the wxPseudoTransparentFrame constructor. Fixes crash reported in #11474
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@66980 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-02-20 10:26:32 +00:00
Vadim Zeitlin
e1c51d7eb9
Work around an intermittent crash in GSocket under Mac.
...
The socket descriptor may somehow be invalid when an input timeout
notification is received.
This is almost certainly not the right fix but the code has completely changed
in 2.9 so it doesn't make much sense to spend time on fixing it properly here.
But adding this check seems to be enough to fix the crash, see #12264 .
Closes #8904 .
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@66976 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-02-19 14:26:50 +00:00
Vadim Zeitlin
ec44cec559
No changes, just de-TAB gsocket.cpp.
...
TABs must be removed before committing other (significant) changes to this
file which would otherwise be blocked by svn commit hook.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@66975 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-02-19 14:26:31 +00:00
Vadim Zeitlin
da7a3bcfd2
Define forward-compatible wxT_2() macro.
...
This macro is the same as wxT() in wx 2.8 but allows to write code compatible
with wxWidgets 3 where it expands to nothing.
See #12925 and r66968.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@66970 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-02-19 13:54:14 +00:00
Vadim Zeitlin
e1fe780f99
Replace a name with Latin-1 characters with ASCII equivalent.
...
The file wxchar.h currently doesn't have UTF-8 encoding but contained
non-ASCII 'å' character which prevented any changes to it from being
committed. Instead of converting the file to UTF-8 (which would be better but
just might create some unforeseen problems) simply use the ASCII spelling of
the name, as it's already done in several other files.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@66969 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-02-19 13:54:09 +00:00
Julian Smart
a966515016
Version number change
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@66958 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-02-18 23:42:58 +00:00
Julian Smart
9f9d468ca0
Change log updates and version/date updates
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@66949 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-02-17 22:08:33 +00:00
Julian Smart
8d2f00f251
Workaround for #10040 : wxGrid scrolls back to the previous edit position
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@66945 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-02-17 15:01:48 +00:00
Julian Smart
78f59cedf3
Applied backport for #11157 : Generic wxTreeCtrl - SelectItem toggles selection if item already in desired state
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@66943 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-02-17 13:39:34 +00:00
Julian Smart
2387014dba
Applied fix #11254 : assert on wxEVT_MOUSE_CAPTURE_LOST and wxGrid
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@66942 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-02-17 12:30:56 +00:00
Julian Smart
689839ed87
Backport for for #12143 : Click anywhere inside wxListBox generates wxEVT_COMMAND_LISTBOX_SELECTED event
...
Needs wxUSE_LISTBOX_SELECTION_FIX to be set to 1 in include/wx/msw/listbox.h since it is not binary compatible.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@66941 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-02-17 11:01:22 +00:00
Julian Smart
0dc14e5fc5
Fix for backport
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@66940 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-02-17 10:20:29 +00:00
Julian Smart
9037fea2c5
Applied backport for fix to #4111 : wxFileName::IsFileReadable fails under Windows 98
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@66939 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-02-17 10:12:59 +00:00
Julian Smart
72350a753f
Fixed #12312 : Can't use --disable-radiobtn with 2.8
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@66938 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-02-17 09:57:57 +00:00
Julian Smart
34bc013d0b
Fixed bug #9856 : wxSizer::Replace( size_t, wxSizerItem *) doesn't call SetContainingSizer
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@66936 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-02-17 09:52:57 +00:00
Julian Smart
75ffc4c69c
Applied #11097 : wxGraphicsContext::DrawBitmap: x and y coords should not be affected by stretch factor
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@66928 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-02-16 23:31:13 +00:00
Julian Smart
ca8fdde6a7
Applied patch #12444 : wxAcceleratorEntry::IsOk() is broken
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@66927 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-02-16 23:27:30 +00:00
Julian Smart
770cd51482
Applied #10079 : wxAuiToolBar: Allow right-click on any kind of button
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@66926 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-02-16 23:25:21 +00:00
Julian Smart
df9d094d71
Applied #11389 : dataview GetValueByRow, SetValueByRow
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@66925 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-02-16 23:19:32 +00:00
Julian Smart
ca588b2cba
Applied #10576 : msw build fails when using watcom with no-threads option
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@66924 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-02-16 22:58:53 +00:00
Julian Smart
987ade70e4
Applied #11350 : LP64 LLP64 conflicts in wxStyledTextCtrl result in crashing win64 applications
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@66923 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-02-16 22:37:48 +00:00
Julian Smart
ddd19343db
Applied #10111 : race condition bugs in wxCondition
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@66922 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-02-16 22:26:57 +00:00
Julian Smart
eb457f1656
Applied #12549 : command line usage correction
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@66920 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-02-16 22:00:30 +00:00
Julian Smart
8d91f5cacc
Applied #11536 : null ptr deref
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@66919 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-02-16 21:57:42 +00:00
Julian Smart
03d6b119ca
Applied fix #11520 : resource leak
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@66918 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-02-16 21:55:02 +00:00