Commit Graph

1258 Commits

Author SHA1 Message Date
Vadim Zeitlin
adf8a83f4f correct wxDateTime DST begin/end computations for years > 2006 in USA (closes #10425)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@58486 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-28 21:52:37 +00:00
Václav Slavík
e31dc22ee4 Automatically adjust toolbar's tool size if the provided bitmaps don't fit into the default size.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@58446 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-26 23:32:16 +00:00
Vadim Zeitlin
13c766f651 fix wxURI::GetUser() for URIs without password; added unit test case for it (closes #10412)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@58272 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-21 17:02:11 +00:00
Julian Smart
ff0ac260ef wxRTC now properly honours margin size
Added wxRE_CENTRE_CARET style to centre the caret line vertically


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@58256 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-21 12:05:11 +00:00
Julian Smart
ca2c70db6f Workaround for GTK+ sensitivity bug
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@58188 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-17 20:38:43 +00:00
Julian Smart
56511a5418 Fixed invisible CHM tooltip text bug when window text colour is black.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@58145 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-16 16:18:01 +00:00
Julian Smart
b759e7d3d0 Fixed [wxRichTextCtrl] Right Alignment sets text in the RTC too close to the border (#10277)
Also [wxRichTextCtrl] Wrong text positioning if different font sizes in the same paragraph (#10279)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@57972 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-10 14:55:07 +00:00
Julian Smart
04355fb016 Added wxAUI_MGR_LIVE_RESIZE flag for live sash sizing, the default on wxMac/CG
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@57885 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-07 14:51:49 +00:00
Vadim Zeitlin
d29206bfbb fix wxURL::GetInputStream() for URLs with special characters in credentials (closes #10265)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@57545 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-25 17:03:20 +00:00
Vadim Zeitlin
cc05060c18 make colours used by list and tree controls more consistent with the system theme settings; also use the correct colour for the status bar (closes #10089)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@57542 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-25 13:03:24 +00:00
Vadim Zeitlin
37cfa1218a avoid warnings about localtime() being deprecated from MSVC8/9 by just not using it from a header
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@57502 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-22 19:52:20 +00:00
Vadim Zeitlin
e027fe757f correct Serbian locale name: should be sr_RS, not sr_SR (fixes #10295)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@57501 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-22 19:50:17 +00:00
Vadim Zeitlin
9be232e7a9 fix wxTimeSpan::Format() for negative spans with 0 hour component (#10055)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@57474 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-21 12:16:06 +00:00
Vadim Zeitlin
9dd0e3cfcf don't hard code the menu bar height under WinCE (#10248) [backport of r57393 from trunk]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@57395 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-17 11:29:20 +00:00
Vadim Zeitlin
9ea428c072 mention wxHashMap::insert() change (r57388, #10261)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@57392 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-17 10:06:24 +00:00
Vadim Zeitlin
da895a08f5 fix handling of abandoned mutexes in wxMutex::Wait[Timeout]() (#10236)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@57100 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-04 00:22:04 +00:00
Vadim Zeitlin
0386be5f06 don't call DragFinish() before calling DragQueryPoint() or we (naturally) don't get the correct answer from the query (#10238)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@57099 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-04 00:17:36 +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
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
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
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
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