Julian Smart
c16b56edc1
Safer access of member variables
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@62807 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-12-07 15:06:10 +00:00
Paul Cornett
92b4fa3361
correct parameter type
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@62780 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-12-05 17:24:29 +00:00
Bryan Petty
088f7a56b6
Added wxHtmlEasyPrinting name accessor and modifier (only one wxHtmlEasyPrinting instance is supposed to be used for multiple printouts).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@62758 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-12-01 20:21:46 +00:00
Julian Smart
d788132ae0
Made Unicode the default in symbols dialog.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@62700 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-11-23 09:34:16 +00:00
Bryan Petty
82ac3bfbfb
Backport of r62669 to 2.8 branch. Fix crash when dragging toolbars in wxAuiManager::OnFloatingPaneMoveStart(). ( fixes #10170 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@62670 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-11-16 21:57:20 +00:00
Robin Dunn
d367030280
Add some missing commas. Fixes #11443
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@62668 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-11-16 21:31:05 +00:00
Paul Cornett
1a3afea6ee
look for backtrace() in -lexecinfo, fixes #9783
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@62657 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-11-15 04:02:27 +00:00
Paul Cornett
dcb7b2a6f3
don't show menubar unless is is supposed to be showing, fixes #11147
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@62616 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-11-11 18:04:09 +00:00
Julian Smart
03e48455d0
Fixed tab removal bug, and empty text element
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@62612 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-11-11 10:59:00 +00:00
Paul Cornett
a7dce89096
avoid causing idle event from GetValue(), fixes #11013
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@62574 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-11-08 23:50:46 +00:00
Paul Cornett
4d13f24dee
work around probable bug in GTK+ 2.18 when calling WriteText on a new, empty control, #11409
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@62555 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-11-04 05:18:38 +00:00
Vadim Zeitlin
806ffd552d
Compilation fix after r62545.
...
Cherry picking the change from the trunk didn't work correctly.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@62547 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-11-03 14:47:34 +00:00
Vadim Zeitlin
b49f1679af
Corrections to wxLaunchDefaultBrowser() under MSW.
...
Don't give spurious error messages if the default browser doesn't provide DDE
interface. Also use SEE_MASK_FLAG_NO_UI to avoid shell error messages as we
give them ourselves.
Backport of r55594 from trunk.
Closes #9948 .
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@62545 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-11-03 14:11:39 +00:00
Vadim Zeitlin
3900ddc6a0
Provide forward-compatible {Left,Middle,Right}IsDown() accessors.
...
Allow using the same code using XXXIsDown() to work with both 2.8 and 2.9
without provoking deprecation warnings with the latter for XXXDown().
Closes #11382 .
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@62544 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-11-03 14:11:30 +00:00
Vadim Zeitlin
a24cdadaf7
Make wx-config forward-compatible with wx 2.9.
...
wx-config in 2.9 doesn't have --debug option, don't use it if the real
wx-config chosen by this one is a 2.9 one.
Closes #11317 .
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@62543 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-11-03 14:11:19 +00:00
Vadim Zeitlin
74033e86bb
Avoid redraws of the window under tooltip when its text is changed.
...
Backport the change of r59198 (and correction from r59235) from trunk.
Closes #10520 .
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@62542 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-11-03 14:11:01 +00:00
Vadim Zeitlin
15e9a71f11
Export Convert{From,To}IeeeExtended() functions from wx DLL.
...
Closes #8710 .
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@62541 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-11-03 14:10:46 +00:00
Vadim Zeitlin
777e7c8a8d
Generate wxEVT_MOUSEWHEEL events for Shift-wheel in wxMac.
...
Handle both kEventMouseWheelAxisY and kEventMouseWheelAxisX events (the latter
is generated when Shift is pressed).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@62540 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-11-03 14:10:40 +00:00
Vadim Zeitlin
fd619666d1
No changes, just deTABified and removed trailing spaces.
...
This is necessary in order to be able to commit upcoming changes to this file.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@62539 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-11-03 14:10:32 +00:00
Jaakko Salli
cea22c0fac
Prevent wxCheckListBox from corrupting menu item by changing ms_nLastMarginWidth (regarding defect #4068 ). SetOwnMarginWidth() member function needed to be added into wxOwnerDrawn.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@62511 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-10-30 14:11:03 +00:00
Vadim Zeitlin
bbd5034121
Make the preview frame float on parent by default.
...
Otherwise it is hidden when the parent is a modal dialog, at least under
wxGTK.
This is a backport of r58154 from trunk and closes #10341 .
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@62502 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-10-27 16:39:01 +00:00
Paul Cornett
a9beb281b4
feature name must match description
...
fixes --disable-sysoptions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@62501 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-10-25 17:48:32 +00:00
Paul Cornett
ace3235191
update menubar size when style changes, fixes #11310
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@62487 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-10-23 16:59:43 +00:00
Paul Cornett
1f04196568
add opengl lib dependency, fixes #11335
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@62443 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-10-17 17:37:02 +00:00
Paul Cornett
57e858a992
Avoid installing emission hook more than once.
...
It was possible for an app using a timer, but triggering no events, to
accumulate an unbounded number of hooks, consuming large amounts of CPU time
in processing the hook list.
Fixes #11315 .
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@62397 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-10-13 06:53:16 +00:00
Vadim Zeitlin
097449e1e8
Don't access possibly deleted wxTimer in GTK callback.
...
The timer object could be deleted from its Notify(), so don't access it any
more after calling it. Just remember whether it was a one shot timer or not
and reuse this value for the return value of the callback.
Closes #11295 .
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@62333 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-10-08 13:56:30 +00:00
Vadim Zeitlin
12ef021b52
Fix new[]/delete mismatch in HelpGen.
...
Closes #11290 .
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@62332 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-10-08 13:52:08 +00:00
Julian Smart
c530a1a6bd
Applied patch #11261 (found a missing '{' in file src/palmos/imaglist.cpp)
...
Martin Ettl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@62205 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-30 06:58:50 +00:00
Julian Smart
36de58a21c
Applied #11260 (found a regression while checking in src/motif/menu.cpp with static code analysis tool cppcheck)
...
Marin Ettl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@62204 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-30 06:53:43 +00:00
Julian Smart
319cc9f6cb
Added context menu accessors; context menu now created in constructor.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@62194 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-29 06:45:04 +00:00
Julian Smart
f4b53f7128
SetItemFont correction
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@62193 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-29 06:36:05 +00:00
Bryan Petty
b89b276ce2
Fix regression in r37982 (missing ')'). Fixes #11257 .
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@62191 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-28 23:42:13 +00:00
Julian Smart
dff63abaf1
Moved WinPrinter from private.h to printdlg.cpp.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@62189 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-28 16:02:08 +00:00
Julian Smart
05c0fe0df0
Applied #10560 (Missing wxUSE_CONFIG checks.)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@62185 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-28 10:02:42 +00:00
Julian Smart
3c98b2751e
Applied #9956 (wxGenericTreeControl: Cache GetTextExtent results to greatly speedup CalculatePositions)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@62184 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-28 09:54:06 +00:00
Julian Smart
83226b65b2
Compilation fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@62183 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-28 09:40:20 +00:00
Julian Smart
20aa212619
Added additional wxSound::Create
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@62182 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-28 08:19:44 +00:00
Julian Smart
d8813f69c8
Applied #10362 : wxMac's wxSound doesn't work
...
By Cyball
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@62181 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-28 08:12:24 +00:00
Julian Smart
1a956a9823
Compile fix on Mac
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@62180 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-28 07:21:52 +00:00
Julian Smart
3180db0c6d
Applied #9465 (Error reading GIF with incorrect animation size)
...
By Marc Oldenhof
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@62165 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-27 11:09:52 +00:00
Julian Smart
7b44c10277
Applied #10190 (WINCE and wxLaunchDefaultBrowserBaseImpl error)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@62161 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-26 20:04:55 +00:00
Julian Smart
23899690d3
Applied #10857 (wxGenericListCtrl does not recalculate positions on Thaw nor Update, preventing Refresh)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@62158 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-26 17:47:23 +00:00
Julian Smart
aa024fc1d7
Applied #10029 : Incorrect _MOTIF_WM_HINTS set for borderless top-level windows
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@62157 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-26 17:09:40 +00:00
Julian Smart
f5f91412df
Backported #10813 : wxGTK: Clipboard stops working after some hours
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@62148 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-26 16:27:08 +00:00
Julian Smart
6a24c14934
Compile correction
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@62135 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-25 23:17:43 +00:00
Julian Smart
01404fe7a8
Raise the scrollbars on reparenting (part of patch #9076 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@62132 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-25 16:15:22 +00:00
Julian Smart
639cf7e892
Fixed compilation for no CG mode
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@62130 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-25 15:50:22 +00:00
Julian Smart
4f9b623763
Applied #8804 ([wxMac] wxSpinCtrl behaviour)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@62128 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-25 15:24:54 +00:00
Julian Smart
175af3f208
Warning fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@62127 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-25 15:07:53 +00:00
Julian Smart
d9c068bee7
Applied part of #9142 (wxMac: Fixes missing translation of "Window" menu name)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@62126 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-25 14:32:56 +00:00