Commit Graph

41472 Commits

Author SHA1 Message Date
Julian Smart
d902c6dd24 Fixes for incorrect selection, extra newline insertion when undoing deletion of selection,
insufficient refresh for operations on last line,
HasCharacter/ParagraphAttributes bug.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@63358 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-02-02 22:19:52 +00:00
Julian Smart
e4db8a879f Simplify SetSelectionRange and make consistent with SetSelection.
Fix a bug that returns true for character and paragraph style tests if no characters or paragraphs were found.
Fix SetSelection to position caret at end.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@63345 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-02-01 12:07:28 +00:00
Vadim Zeitlin
89d0b1ab06 Update bakefile.m4 to bakefile 0.2.8 which was used for makefiles.
When a new bakefile version is used, build/aclocal/bakefile.m4 must be updated
and configure must be regenerated to take into account the changes in
autoconf_inc.m4, otherwise incorrect makefiles will be produced (for example,
symbolic links for shared libraries were not created in Unix build this time).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@63338 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-01-31 18:31:21 +00:00
Stefan Csomor
da71899374 fix for sleep mode on displays, fixes #11557
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@63334 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-01-31 15:19:50 +00:00
Michael Wetherell
d3daf59f2a Fix for file length fixup.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@63302 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-01-28 21:46:09 +00:00
Michael Wetherell
0afb0efe19 Allow large file tests to run by default on more platforms.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@63301 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-01-28 21:38:27 +00:00
Michael Wetherell
1132633751 Backport stdio large file support for VC++ and mingw.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@63300 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-01-28 21:36:09 +00:00
Chris Elliott
7749dce6bb fix version as per email
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@63297 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-01-28 12:30:11 +00:00
Chris Elliott
9e97f8c397 bakefile 0.2.8 and wxw2.8.11
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@63295 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-01-28 10:14:20 +00:00
Chris Elliott
2d3b74a042 version to 2.8.11
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@63293 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-01-28 09:27:47 +00:00
Julian Smart
a4374095fc Added symbol for wxEVT_WIZARD_PAGE_SHOWN
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@63264 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-01-25 19:19:19 +00:00
Julian Smart
98e5829d41 Added EVT_WIZARD_PAGE_SHOWN event for wxWizard, to give apps
a chance to initiate processing after a page is presented.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@63262 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-01-25 18:47:47 +00:00
Vadim Zeitlin
24d7db2738 Output wxT() and not _T() in code generated by wxrc.
Also use wxT() in wxrc.cpp itself, just to be sure that there are no other
occurrences of _T() left.

Closes #11649.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@63231 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-01-23 15:25:18 +00:00
Vadim Zeitlin
705d0c55ac Fix harmless g++ 4.3 warning about "suggested braces".
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@63218 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-01-22 22:01:58 +00:00
Vadim Zeitlin
f5ddb02e65 Don't place NULL pointers in the GDK window array in GTKGetWindow().
This avoids an assert in GTKUpdateCursor() later on.

Backport of r60458 from trunk.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@63217 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-01-22 22:01:24 +00:00
Jaakko Salli
ab1b239de2 Added entry on generic wxDatePickerCtrl keyboard navigation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@63163 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-01-17 12:10:50 +00:00
Paul Cornett
ea4b3d8058 update docs for wxMAXIMIZE on GTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@63162 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-01-16 04:14:18 +00:00
Paul Cornett
107036dbcf honor wxMAXIMIZE frame style, fixes #11631
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@63160 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-01-15 17:09:29 +00:00
Jaakko Salli
5b08af5c2f When checking whether the parent control has wxTAB_TRAVERSAL, take into account that the wxComboCtrl can be part of a composite control, such as generic wxDatePickerCtrl (fixes #11630).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@63158 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-01-15 16:06:46 +00:00
Vadim Zeitlin
2044a5f9cc Add wx/osx/textentry.h to the list of OS X headers.
Fix problem with "make install" which didn't install this header.

Backport of r63137 from HEAD.

Closes #11624.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@63138 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-01-12 15:51:48 +00:00
Robin Dunn
cea6e8c61a Use GraphicsContext (if available) for drawing in SurfaceImpl::AlphaRectangle. Fixes #10542.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@63115 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-01-10 00:48:52 +00:00
Paul Cornett
3ce31329a9 fix broken #elif
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@63098 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-01-08 04:33:21 +00:00
Mattia Barbon
772133e232 Document wxPerl interface differences for wxRichTextCtrl.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@63037 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-01-02 11:31:29 +00:00
Vadim Zeitlin
d1db5f63e7 Change the year in copyright messages to 2010.
Backport of r63031 from trunk.

See #11584.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@63032 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-12-31 13:37:24 +00:00
Vadim Zeitlin
fb564bb8ea Use memmove() instead of memcpy() in wxString::AssignCopy().
This allows the code like "s = s.c_str()" to work correctly, although it
doesn't fix all self-assignment-related bugs.

See #11245.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@63008 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-12-28 20:01:39 +00:00
Paul Cornett
1e40d1e968 don't use ==, fixes ##11580
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@63003 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-12-28 01:56:31 +00:00
Chris Elliott
16ed267188 remove ;
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@62959 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-12-21 10:04:31 +00:00
Jaakko Salli
c012190c3f In wxComboCtrl, prefer focus rectangle colours over custom ones.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@62929 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-12-18 17:03:06 +00:00
Jaakko Salli
9beb1afb73 Have wxComboCtrl honour any application-specified foreground and background colour.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@62928 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-12-18 16:42:13 +00:00
Stefan Csomor
07101c6c76 fix for sleep mode on displays, fixes #11557
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@62911 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-12-17 13:39:54 +00:00
Chris Elliott
85da80ca51 force rebuild of all docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@62899 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-12-16 08:30:58 +00:00
Václav Slavík
aa01352e88 define NDEBUG if not using debug CRT
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@62894 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-12-15 15:38:27 +00:00
Chris Elliott
19524338c7 fix for second bug in bug 11438
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@62876 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-12-14 09:38:41 +00:00
Chris Elliott
5542faf05f fix for bug 11438
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@62857 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-12-11 13:55:32 +00:00
Julian Smart
b8692c0afa Speed up adding pages during freezing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@62816 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-12-08 14:07:59 +00:00
Julian Smart
e0a1f575ee Don't crash if no document
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@62808 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-12-07 15:22:45 +00:00
Julian Smart
c16b56edc1 Safer access of member variables
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@62807 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-12-07 15:06:10 +00:00
Paul Cornett
92b4fa3361 correct parameter type
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@62780 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-12-05 17:24:29 +00:00
Bryan Petty
088f7a56b6 Added wxHtmlEasyPrinting name accessor and modifier (only one wxHtmlEasyPrinting instance is supposed to be used for multiple printouts).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@62758 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-12-01 20:21:46 +00:00
Julian Smart
d788132ae0 Made Unicode the default in symbols dialog.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@62700 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-11-23 09:34:16 +00:00
Bryan Petty
82ac3bfbfb Backport of r62669 to 2.8 branch. Fix crash when dragging toolbars in wxAuiManager::OnFloatingPaneMoveStart(). (fixes #10170)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@62670 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-11-16 21:57:20 +00:00
Robin Dunn
d367030280 Add some missing commas. Fixes #11443
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@62668 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-11-16 21:31:05 +00:00
Paul Cornett
1a3afea6ee look for backtrace() in -lexecinfo, fixes #9783
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@62657 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-11-15 04:02:27 +00:00
Paul Cornett
dcb7b2a6f3 don't show menubar unless is is supposed to be showing, fixes #11147
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@62616 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-11-11 18:04:09 +00:00
Julian Smart
03e48455d0 Fixed tab removal bug, and empty text element
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@62612 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-11-11 10:59:00 +00:00
Paul Cornett
a7dce89096 avoid causing idle event from GetValue(), fixes #11013
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@62574 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-11-08 23:50:46 +00:00
Paul Cornett
4d13f24dee work around probable bug in GTK+ 2.18 when calling WriteText on a new, empty control, #11409
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@62555 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-11-04 05:18:38 +00:00
Vadim Zeitlin
806ffd552d Compilation fix after r62545.
Cherry picking the change from the trunk didn't work correctly.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@62547 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-11-03 14:47:34 +00:00
Vadim Zeitlin
b49f1679af Corrections to wxLaunchDefaultBrowser() under MSW.
Don't give spurious error messages if the default browser doesn't provide DDE
interface. Also use SEE_MASK_FLAG_NO_UI to avoid shell error messages as we
give them ourselves.

Backport of r55594 from trunk.

Closes #9948.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@62545 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-11-03 14:11:39 +00:00
Vadim Zeitlin
3900ddc6a0 Provide forward-compatible {Left,Middle,Right}IsDown() accessors.
Allow using the same code using XXXIsDown() to work with both 2.8 and 2.9
without provoking deprecation warnings with the latter for XXXDown().

Closes #11382.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@62544 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-11-03 14:11:30 +00:00