Commit Graph

22666 Commits

Author SHA1 Message Date
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
Stefan Csomor
dca07f802e supporting paper height, fixes #10376
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@58125 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-16 11:55:37 +00:00
Bryan Petty
60ce2c0f83 Initialize m_action_window to NULL in wxAuiManager ctor (fixes #10383).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@58121 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-15 18:56:41 +00:00
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
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
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
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
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
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
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
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
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
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