Commit Graph

1233 Commits

Author SHA1 Message Date
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
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
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
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
753874333a reverted the change of r56246 and keep the old behaviour of MB2WC/WC2MB; document it even more clearly and correct code using these functions incorrectly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@56394 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-17 11:31:22 +00:00
Václav Slavík
04a8c1985b fixed wxArtProvider::GetSizeHint() to return 16x16 for wxART_FRAME_ICON in non-wxGTK ports
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@56371 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-16 18:53:58 +00:00
Václav Slavík
5ddf8197fa fixed wxHtmlWindow::SelectionToText() to correctly insert newlines after single-cell paragraphs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@56333 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-15 15:43:10 +00:00
Vadim Zeitlin
27895e2f37 fix off by one bug in the buffer size (fixes #10039)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@56246 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-12 14:51:45 +00:00
Vadim Zeitlin
ad4cb2a1df generate command events for accelerators even when there is no menu bar (#9784) fixing the bug introduced in r54510
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@56069 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-03 22:01:56 +00:00
Julian Smart
8485ab5aee wxRTC now accepts keycodes generated using Alt, for example Polish Pro input on Mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@56012 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-01 14:46:06 +00:00
Václav Slavík
b56659e1d5 wxGTK: Fixed printing to use fonts sizes adjustment consistent with wxMSW. In
particular, screen resolution no longer affects text size in printed output
when using wx's map-screen-to-paper approach to printing.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@55927 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-28 09:12:16 +00:00
Václav Slavík
7525231807 fixed pagebreaks computation in tables (#9935, backport of r55505)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@55881 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-25 17:19:30 +00:00
Vadim Zeitlin
25cd015f7b return false, not true, from wxSingleInstanceChecker::IsAnotherRunning() if an error occurred while opening or reading the lock file (#9986)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@55833 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-24 13:47:41 +00:00
Vadim Zeitlin
26a1755583 don't steal focus back to wxGrid when it hides an editor in the result of losing it (#9844)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@55632 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-15 00:28:15 +00:00
Vadim Zeitlin
3b2f059d98 fix the event type in EVT_GRID_[CMD_]COL_MOVE declaration: this event handler receives wxGridEvent and not wxGridSizeEvent
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@55568 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-12 12:49:11 +00:00
Julian Smart
c02398c6f2 Fixed Cmd+Back, Cmd+Del word deletion behaviour in wxRichTextCtrl.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@55507 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-07 15:35:11 +00:00
Vadim Zeitlin
9353f8892e copy alpha presence flag when copying bitmaps using DIBs (#9883)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@55449 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-03 20:45:52 +00:00
Václav Slavík
02cfa300e7 fixed memory corruption in wxHTML when parsing '&;' in the markup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@55388 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-31 13:59:55 +00:00
Vadim Zeitlin
f46874b01f allow periods in wxFileSystem URL anchors (patch #2265) [backport from trunk]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@55271 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-26 00:03:04 +00:00
Benjamin Williams
dc0071da65 updated for wxAUI changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@55253 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-25 11:38:06 +00:00
Vadim Zeitlin
62b8f1fc35 use tr1::unordered_{map,set} if available for wxHash{Map,Set} in STL build (#9532) [backport from trunk]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@55215 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-23 18:54:04 +00:00
Vadim Zeitlin
60e82f36d3 optimize wxGrid::BlockToDeviceRect() to avoid iterating over all cells, it's enough to only iterate over the visible ones (#9527) [backport from trunk]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@55214 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-23 18:47:48 +00:00
Vadim Zeitlin
7abb1a56f1 implement wxWinINetInputStream::GetSize() (#9600) [backport from trunk]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@55213 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-23 18:44:03 +00:00
Vadim Zeitlin
1c802b3b14 don't use BS_AUTORADIOBUTTON at all, BS_RADIOBUTTON works just as well and doesn't hang the application in some circumstances (#9786) [backport from trunk]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@55212 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-23 18:38:24 +00:00
Vadim Zeitlin
d060ae855f fix changing font/colour of label in buttons with images (#3939) [backport from trunk]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@55209 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-23 18:17:12 +00:00
Vadim Zeitlin
76ae7f748b handle FNERR_INVALIDFILENAME which happens if an invalid file name is passed to wxFileDialog (#9688) [backport from trunk]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@55207 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-23 17:49:04 +00:00
Julian Smart
c5301893b2 Documented wxRTC fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@55177 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-22 15:22:58 +00:00
Vadim Zeitlin
e87b77933f don't always create DIBs in wxBitmap(wxImage) ctor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@55153 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-21 20:43:48 +00:00
Vadim Zeitlin
cc68a5bd69 add comparison operators for UUID class (#9871)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@55113 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-18 11:30:10 +00:00
Julian Smart
307c2b253f Fixed scrolling problem where scrollbar was taken to be a valid child window
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@55010 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-07 15:58:51 +00:00
Vadim Zeitlin
9530dade7c store palette information from XPM in wxImage (#9763)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54947 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-03 10:31:07 +00:00
Vadim Zeitlin
71fd0e9fa9 don't keep the transparent palette colour from the previous frame for the next one which may not have any transparency at all (#9747)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54944 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-03 00:36:52 +00:00
Vadim Zeitlin
81b8e40161 add support for reading alpha channel from BMP images (#9741)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54942 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-03 00:23:38 +00:00
Vadim Zeitlin
f7d2f0f9e7 optimize Replace() for the common case of replacing one character with another one (#9802)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54860 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-30 21:41:07 +00:00
Vadim Zeitlin
f770962e9e updated Hindi translations
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54808 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-29 13:09:42 +00:00
Vadim Zeitlin
23512f453f fix crash when reading malformed PCX images (#3836)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54766 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-22 20:16:03 +00:00
Václav Slavík
b2a8de5a15 Fixed detection of Meta key state so that NumLock isn't misdetected as Meta.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54758 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-21 22:09:22 +00:00
Vadim Zeitlin
5b774e5249 fix generation of events for an initially empty wxDirPickerCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54732 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-20 22:48:34 +00:00
Vadim Zeitlin
2c6ca6f1fa mention compatibility implications of wxExecute() quoting changes; don't change quoting of already quoted arguments in 2.8 for compatibility; also fix handling of empty arguments as a side effect (see #4115)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54695 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-18 22:22:16 +00:00
Paul Cornett
8ea3ec21dc fix masking of disabled bitmaps with some themes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54676 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-18 02:45:48 +00:00
Vadim Zeitlin
71d4b88bdf allow using SetFont(wxNullFont) to reset the font as per documented behaviour (#3238)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54664 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-16 15:53:44 +00:00
Vadim Zeitlin
f89a4c2df5 fix changing size of merged cells (#9736)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54638 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-15 14:36:28 +00:00
Julian Smart
c7739476c7 Documented wxRTC fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54616 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-14 10:00:21 +00:00
Vadim Zeitlin
e95308c0ae set wxKeyEvent::m_uniChar correctly in the events generated by generic wxListCtrl (#4581)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54608 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-13 18:16:38 +00:00
Vadim Zeitlin
6425e8747b support disabling items before adding them to the menu (#3423)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54478 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-03 15:42:18 +00:00
Vadim Zeitlin
dcfcdd75a7 use proper name for a contributor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54451 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-01 13:44:07 +00:00
Vadim Zeitlin
b69b11c40c quote the arguments containing spaces or quotes correctly in wxExecute(char **) overload (#4115)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54441 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-01 00:05:36 +00:00
Vadim Zeitlin
453c35deaf fix handling of the keys in wxSpinCtrl (#9637)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54415 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-29 00:50:36 +00:00
Vadim Zeitlin
c6b44b6c88 support wxDP_ALLOWNONE in generic wxDatePickerCtrl (#3164)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54407 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-28 18:58:07 +00:00
Václav Slavík
9609c21f00 backport of r53980: fixed wxHTML default font size for printing to be 12pt regardless of the platform
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54403 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-28 15:16:17 +00:00