Commit Graph

41485 Commits

Author SHA1 Message Date
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
Julian Smart
10666a6642 Applied #12437: use static wxColourData in wxGetColourFromUser
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@66917 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-02-16 21:51:31 +00:00
Julian Smart
72db151696 Applied #12436: added wxFD_FILE_MUST_EXIST flag to wxFileSelector
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@66916 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-02-16 21:48:55 +00:00
Julian Smart
62f833c4af Applied #12438 IsUNCPath patch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@66915 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-02-16 21:46:49 +00:00
Julian Smart
26fe8aa995 Check for double creation (patch #12434)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@66914 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-02-16 21:44:15 +00:00
Julian Smart
6341be5072 Fix for OLE conversion to date (patch #12857)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@66913 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-02-16 21:40:07 +00:00
Julian Smart
c6eed10182 Fix CalculatePositions optimization (corrects #12435)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@66912 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-02-16 21:35:13 +00:00
Julian Smart
b8ea9cd583 Allow m_docManager to be NULL (patch #12435)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@66911 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-02-16 21:31:33 +00:00
Julian Smart
44c1bdc56a Updated version
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@66910 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-02-16 20:53:53 +00:00
Julian Smart
0327625f62 Fix for lines not wrapping soon enough if tabs are present
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@66838 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-02-03 20:05:45 +00:00
Paul Cornett
c0c5e5296c build fix for wxUSE_XPM==0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@66799 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-01-28 06:39:05 +00:00
Bryan Petty
81be630d24 Backport of r66796 (Properly account for floated panes while restoring maximized pane.) - closes #11385
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@66797 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-01-28 02:35:21 +00:00
Julian Smart
88cc1ec13a Added circle-outline standard bullet style
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@66521 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-01-02 12:08:41 +00:00
Julian Smart
83ef06d42e XML output corrections
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@66422 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-12-21 11:12:53 +00:00
Julian Smart
0d7f162955 Fixed bad rendering with tabs by correcting the position tabs are calculated from
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@66421 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-12-21 11:12:06 +00:00
Julian Smart
a7cb6034ff Added apos entity
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@66413 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-12-20 17:40:05 +00:00
Tim Kosse
d8adb049c3 In some cases menu bar height is reported as 0 when the menu hasn't fully realized yet. Nee to update the height during idle time if it is 0, otherwise no menu is shown.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@66344 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-12-06 18:40:46 +00:00
Julian Smart
f98779189c Fix for caret positioning inaccuracy when there are tabs and a non-zero control margin
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@66297 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-11-29 20:20:46 +00:00
Julian Smart
c8b1284f7e Allow bullet style to be switched off via the UI
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@66266 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-11-26 16:31:44 +00:00
Julian Smart
4424455daf Style page no longer grows to fit very long style names; freeze/thaw used for speed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@65919 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-10-25 09:24:29 +00:00
Michael Wetherell
0600361f98 Fix for wxChm
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@65784 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-10-08 11:16:54 +00:00
Tim Kosse
8add3170fd Backport r65494: Initialize all fields of struct tm used by wxDateTime::Format(). Closes #12455
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@65730 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-10-02 16:50:34 +00:00
Tim Kosse
25bbad770c Backport r65192: Fix attributes escaping when writing XML. Closes #12275
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@65726 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-10-02 15:47:41 +00:00
Tim Kosse
01c11c0d32 Backport fix for crash in wxCommandProcessor::Store. Closes #12027
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@65725 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-10-02 13:05:08 +00:00
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