Commit Graph

1220 Commits

Author SHA1 Message Date
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
Julian Smart
770756327c Fixed bug whereby sash would disappear beneath left-hand pane
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54370 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-26 10:55:16 +00:00
Julian Smart
b8dd5d063d Allow an app to cut down start time by not doing unnecessary mime types initialisation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54356 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-25 08:36:30 +00:00
Julian Smart
d079ccd92d Recorded GNOME MIME types fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54354 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-25 07:57:36 +00:00
Vadim Zeitlin
d740f112a5 fix crash when copying empty selection to clipboard (#4783)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54230 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-15 11:45:05 +00:00
Vadim Zeitlin
924d65ee97 don't clear the list control when wxLC_[HV]RULES style is toggled (#4688)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54201 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-13 22:38:33 +00:00
Vadim Zeitlin
ffbf09ac1e set focus to the control when it's clicked [backport of r53014 from trunk]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53987 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-05 15:48:55 +00:00
Vadim Zeitlin
4bdfaa384b fix wxDateTime::ParseRfc822Date() to handle missing seconds (ticket #1341)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53900 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-01 14:37:26 +00:00
Vadim Zeitlin
aba0599409 correct toolbar width calculation with comctl32.dll < 6.0 (patch 1902358)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53487 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-08 13:25:00 +00:00
Vadim Zeitlin
3fea4c9842 fix wxEVT_COMMAND_TEXT_ENTER generation in wxSpinCtrl [backport of r53396 from trunk]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53397 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-28 11:33:47 +00:00
Václav Slavík
987e09dce1 Fixed handling of transparent background in borderless wxBitmapButton (patch #1477883)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53339 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-24 23:19:36 +00:00
Václav Slavík
c853b92bdb wxHTML: preserve TAB characters when copying <pre> content to clipboard (backport from trunk)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53318 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-23 11:54:05 +00:00
Václav Slavík
2e1f8b15ae implement wxLIST_AUTOSIZE support in wxMac's wxListCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53275 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-20 22:10:04 +00:00
Václav Slavík
87be8ad315 fixed incorrect layout width caching in wxHtmlContainerCell (patch #1931479)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53160 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-13 12:29:53 +00:00