Commit Graph

41088 Commits

Author SHA1 Message Date
Paul Cornett
bdf646248d fix for uninitialized alpha being used to create mask, fixes wxMemoryDC with 32-bit bitmaps
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@57052 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-01 02:03:38 +00:00
Vadim Zeitlin
6ddb01662f fix best size caluclation for the notebooks with multiple rows (#2335) [backport of r57024 from trunk]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@57033 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-29 22:39:47 +00:00
Vadim Zeitlin
e8b7069659 properly NUL-terminate the string when using strncpy() (#10230)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@57021 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-29 13:43:32 +00:00
Julian Smart
2f4390c06b Centre/right justification fix when there is a right indent
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@57004 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-28 16:05:11 +00:00
Julian Smart
4b08e76925 Fixed centering and right-justification when combined with left indentation (bug #10221).
Fixed wrapping problem for long lines (bug #10149).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@57001 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-28 15:52:52 +00:00
Julian Smart
225324fdb6 Fixed inability to select no superscript and no subscript in wxRichTextCtrl's
formatting dialog (fixes bug #10121)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@56993 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-28 12:47:00 +00:00
Julian Smart
752801be6d wxRichTextCtrl no longer deletes a character when content is selected
before pressing Delete (fixes bug #10153).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@56990 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-28 12:34:55 +00:00
Julian Smart
a68919467a Fixed a problem with HTML list generation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@56989 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-28 12:20:12 +00:00
Paul Cornett
e6930eead4 fix for shown TLW having m_isShown == false, #9909
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@56986 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-27 23:00:04 +00:00
Jaakko Salli
19b39f4e54 include wx/msw/private.h to fix PCH-less compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@56979 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-26 15:31:18 +00:00
Jaakko Salli
dac1482189 To avoid error message, do not even try to set focus on MSW popup window that doesn't have WS_POPUP style (backported fix for #10157)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@56969 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-25 17:14:32 +00:00
Chris Elliott
50aa31b878 add missing cocoa dir
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@56946 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-23 21:33:51 +00:00
Kevin Ollivier
29c98ea876 wxGraphicsBitmap implementation for Cairo.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@56887 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-22 04:40:08 +00:00
Kevin Ollivier
c41168ca31 Backport MSW wxGraphicsBitmap fixes from trunk.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@56880 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-21 04:46:57 +00:00
Vadim Zeitlin
aa398e1d3a don't log an error if the directory can't be opened at all for compatibility with MSW (#10194)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@56867 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-20 18:12:43 +00:00
Vadim Zeitlin
2f86dfdf1e display enumeration functions are in coredll.dll and not user32.dll under CE (closes #10189) [backport of r52077]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@56865 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-20 17:46:46 +00:00
Vadim Zeitlin
fdeef79bfb Slovenian translation update
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@56844 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-19 09:54:17 +00:00
Kevin Ollivier
aec24dc76c More fixes for API on 2.8.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@56826 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-17 21:39:29 +00:00
Kevin Ollivier
ff7007184b Mac fix for moving methods to non-virtual.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@56806 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-16 23:58:58 +00:00
Kevin Ollivier
e368aa6911 Fix issues caused by making DrawBitmap/CreateBitmap non-virtual on MSW.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@56805 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-16 23:46:58 +00:00
Kevin Ollivier
5df481d7cc Fix typo made during patch cleanup.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@56802 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-16 23:28:23 +00:00
Kevin Ollivier
f6810851c6 Landing 2.8 ABI compatible version of wxGraphicsBitmap API/implementation.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@56801 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-16 23:25:09 +00:00
Kevin Ollivier
085dae419f Do proper cleanup of event handlers in wxWebKitCtrl and wxMacUnicodeTextCtrl, and unset the window focus when destroying a top level window to ensure that controls do not receive events after the wx portion of the control has been destroyed.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@56767 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-14 23:02:15 +00:00
Václav Slavík
85c62cec4d implement wxWindow::DragAcceptFiles() on all platforms
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@56758 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-13 22:32:21 +00:00
Vadim Zeitlin
661f0acbcc add wxTE_PROCESS_ENTER to the list of supported flags (closes #8865) [backport of r51036 from trunk]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@56715 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-09 12:40:07 +00:00
Vadim Zeitlin
142a233c8c fix race condition which could result in assert failures in debug builds and infinite loops in release (#9094)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@56712 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-08 22:41:10 +00:00
Bryan Petty
22bb171a27 Fixed typo introduced in r51034 (don't unload Gnome VFS), apparently the fix in 2.8 wasn't tested (see also Gentoo bug #203389).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@56711 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-08 18:03:17 +00:00
Vadim Zeitlin
5c2d559f12 release the mouse in wxGrid dtor to avoid asserts when the grid is destroyed during e.g. a cell selection operation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@56701 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-08 00:06:34 +00:00
Vadim Zeitlin
31f1842097 Finnish translations update from Elias Julkunen
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@56698 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-07 22:50:33 +00:00
Vadim Zeitlin
affe623a16 don't undefine BOOL if it's already defined (closes #10167)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@56697 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-07 22:45:47 +00:00
Vadim Zeitlin
de03ba59b5 override Do{Open,Save}Document() instead of On{Open,Save}Document() (closes #9892) [backport of r55342 from trunk]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@56679 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-04 17:47:07 +00:00
Vadim Zeitlin
098a10bd43 oops, fix the test broken by the last compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@56654 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-02 23:21:03 +00:00
Vadim Zeitlin
73efb97d11 ugly VC6 compilation fix (non-ugly doesn't want to work for some reason as VC6 flat out refuses to use our overloaded operator<<)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@56653 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-02 22:50:15 +00:00
Vadim Zeitlin
7acabb810d fix another MSVC /Wp64 warning about size_t to int conversion (closes #10140)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@56623 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-31 23:07:49 +00:00
Vadim Zeitlin
46e217f47b fix MSVC /Wp64 warning about size_t to int conversion (closes #10068)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@56621 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-31 17:14:12 +00:00
Václav Slavík
215649ad82 fix toolbar buttons so that they don't disappear temporarily when clicked if the event handler causes window update
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@56618 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-31 09:47:57 +00:00
Paul Cornett
d317e7032a make sure update UI handlers are called for accelerators, #10130
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@56616 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-31 05:25:59 +00:00
Václav Slavík
3a23d484e3 wxHTML: don't include extra whitespace in table cells
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@56590 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-30 07:25:18 +00:00
Robin Dunn
133932137d Bump subrelease number
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@56557 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-28 23:24:15 +00:00
Václav Slavík
05fbc682d6 fixed interpretation of line breaks in <pre> to conform to the spec (#10120)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@56547 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-28 10:06:32 +00:00
Vadim Zeitlin
21246d94ba disable workaround for lack of alpha support in native static bitmap control for WinCE, apparently it breaks the display (#10093)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@56532 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-27 18:15:19 +00:00
Vadim Zeitlin
988707fe39 use fabs() instead of abs() to fix mingw32 compilation [backport of r48782 from trunk]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@56531 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-27 18:09:05 +00:00
Michael Wetherell
d084ca71b0 Fix wxClassInfo::Register for Solaris.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@56500 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-23 14:48:31 +00:00
Vadim Zeitlin
b8191878a5 added Vietnamese translations
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@56499 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-23 14:42:05 +00:00
Vadim Zeitlin
0b08b5e216 fix Normalize() test: can't use temporary wxStrings to initialize wxChar* pointers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@56493 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-23 11:19:48 +00:00
Robert Roebling
e5bafa71da Ticket #10108 (bitmap from wxImage depth regression)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@56488 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-22 17:01:02 +00:00
Stefan Neis
dd66ebf62f Compilation fix for gcc-4 and newer.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@56457 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-20 06:55:43 +00:00
Stefan Neis
1d9f444b5f Compilation fix for gcc-4 and newer.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@56441 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-19 12:57:46 +00:00
Stefan Csomor
78a7d145c6 adding alias support for directories
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@56405 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-17 19:13:33 +00:00
Vadim Zeitlin
c8e0da59d8 fix another WC2MB off-by-one error
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@56402 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-17 13:45:34 +00:00