Commit Graph

40990 Commits

Author SHA1 Message Date
Vadim Zeitlin
81e01e291a fix PCH-less build with wxUSE_URL_NATIVE (see #10338)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@58116 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-15 12:45:22 +00:00
Vadim Zeitlin
1836055f40 add missing .c_str() (closes #10337)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@58115 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-15 12:42:36 +00:00
Jaakko Salli
1c9c557162 Let wxVariantDataDateTime::Write() and Read() work with invalid dates (otherwise wxVariant::GetString() will assert when value is an invalid wxDateTime)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@58054 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-12 17:27:53 +00:00
Paul Cornett
ec88b74105 return index of first added image in Add(), like MSW does, #10013
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@58031 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-12 05:39:04 +00:00
Paul Cornett
7ab97504f3 use text cursor only when control is enabled, #10347
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@58030 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-12 05:34:07 +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
Stefan Csomor
73d2bd8f21 copy constructors and assignement operators for wxGraphicsObject subclasses
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@57953 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-09 18:46:48 +00:00
Stefan Csomor
80061353ef menubar activation, fixes #10352
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@57952 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-09 17:30:45 +00:00
Stefan Csomor
4d371eebfc removing Leopard only code that doesn't mix well with the existing Printing Manager, fixes #10343
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@57932 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-09 10:01:11 +00:00
Robert Roebling
6360b8b1a0 Update allocation of all child widgets after scrolling
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@57904 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-08 12:30:10 +00:00
Stefan Csomor
ecea45123d clearing shortcuts, patch from Leland, fixes #10342
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@57897 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-07 20:07:09 +00:00
Julian Smart
d8952b4413 Always use live sash update on Mac/CG since it can't paint the splitter
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@57887 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-07 15:58:53 +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
Julian Smart
6c03c30fe9 Fixed assert caused by incorrect number of flex grid sizer rows
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@57881 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-07 11:45:05 +00:00
Julian Smart
e8792bc2cf Don't use client DC yet for size feedback on Mac/CG or you'll get a smear. Better to have no feedback.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@57877 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-07 09:24:50 +00:00
Julian Smart
26c1972f27 Workaround for _SetDstBlits32BGRA crash when compiling and running
on Leopard (happens in complex app but not in AUI sample)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@57862 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-06 17:36:29 +00:00
Julian Smart
bfbab2b822 Use own cursor implementation if Mac CG=1, since otherwise there are cursor
dropouts with more than one wxRTC


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@57861 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-06 17:06:33 +00:00
Bryan Petty
3b18bb593b Replaced IsLocked with IsOk in 2.8 docs (was already fixed in trunk).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@57860 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-06 16:37:14 +00:00
Chris Elliott
5fa870119d set default scales to 1.0 (as in baseDC)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@57853 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-06 10:04:32 +00:00
Stefan Csomor
164c67c40f bringing ctrl and cmd accel handling for menus in line with pure key event handling
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@57852 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-06 09:40:34 +00:00
Stefan Csomor
0470eca64e fixing include type
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@57851 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-06 09:39:13 +00:00
Stefan Csomor
d37d5de4fd adding DefaultAttributes support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@57850 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-06 09:38:39 +00:00
Stefan Csomor
8e0e596965 using GetFont calls instead of direct accessors
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@57849 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-06 09:36:54 +00:00
Stefan Csomor
e8aff59639 using GetFont calls instead of direct accessors
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@57848 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-06 09:34:07 +00:00
Paul Cornett
e86b7af93b backport r55463, fix for infinite loop when wxBeginBusyCursor is called from idle handler, #1547
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@57839 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-05 03:42:39 +00:00
Stefan Csomor
2cdacc9a81 support for proper mouse events for controls embedded in native toolbars
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@57830 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-04 13:57:18 +00:00
Paul Cornett
eb0778f870 fix header dependancy
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@57779 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-02 17:35:16 +00:00
Vadim Zeitlin
76f2c12ee5 update copyright year to 2009 (closes #10319)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@57704 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-01 15:18:40 +00:00
Václav Slavík
b345605988 backported wxArtProvider::PushBack() to 2.8 so that one can write code compatible with both wx2.8 and wx3
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@57701 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-31 23:40:06 +00:00
Vadim Zeitlin
7e5ededcad don't set the boolean cell value to an invalid value "0" (2nd part of #10307)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@57655 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-30 11:14:12 +00:00
Francesco Montorsi
6f3815c3a6 fix signature of wxRichTextAttr::Apply (closes #10278)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@57640 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-29 15:31:18 +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
Bryan Petty
aa17604d8d Fixed regression in r57474 (this is the 2.8 branch, not trunk, treat strings like so).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@57494 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-22 06:26:40 +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
7e4d15d545 really fix the length of the string returned by wxConvertStringToOle() (#10056)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@57464 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-21 02:57:06 +00:00
Vadim Zeitlin
2d7040cb00 add popup sample to the workspace (fixes #10162)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@57462 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-21 02:44:00 +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
a1511c548e don't change the value of the hash element if insert() didn't add it (closes #10261)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@57388 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-17 09:34:48 +00:00
Vadim Zeitlin
9c0e44102b mention that mouse events carry position in window coordinates of the window which generated the event (#10274)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@57368 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-16 14:52:29 +00:00
Bryan Petty
78a2b18631 Always call ScrollWindow() when there are window children (originally discussed on wx-dev in Oct 2004, but only ever applied to 2.9+).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@57359 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-15 19:09:31 +00:00
Václav Slavík
a53dd41397 fix for r56618: toolbar event handlers can toggle or disable tools again (patch #10241)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@57219 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-09 18:34:50 +00:00
Paul Cornett
177fb2b1e4 make sure timer events will trigger idle processing, #10251
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@57170 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-07 18:23:28 +00:00
Vadim Zeitlin
1392ea4b39 replace __UNICODE__ with wxUSE_UNICODE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@57144 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-06 18:53:43 +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
Julian Smart
548d175dcf Added Undo, Redo accelerators for wxRTC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@57086 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-03 12:27:24 +00:00