Commit Graph

41513 Commits

Author SHA1 Message Date
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
Julian Smart
ada887153d Backported equivalent of patch #10835 (Make Carbon ShowModal work with IMPLEMENT_APP_NO_MAIN)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@62125 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-25 13:39:04 +00:00
Julian Smart
e221b1ce84 Applied #9140 (wxMac: Calculate size of bitmaps correctly when w or h is 0)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@62124 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-25 13:23:26 +00:00
Julian Smart
8e12cd29d0 Applied #8697 (Improve error detection for MacFindFont )
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@62122 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-25 13:13:59 +00:00
Julian Smart
b04369c5e9 Backported #10494 (Possible wrong result of sqrt-function in wxDC::DoDrawArc, caused by integer-overflow)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@62121 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-25 11:59:20 +00:00
Julian Smart
8cc53ff56b Applied #11238: Wrong text positioning if fonts with different Ascent/Descent ratio are on the same line
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@62120 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-25 11:14:24 +00:00
Julian Smart
9d03cf946c Applied #10007: SetWindowGroupParent hangs in Mac Carbon dialog.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@62117 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-25 10:11:06 +00:00
Julian Smart
0ed415ed1f Applied #10753: WarpPointer() for Mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@62115 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-25 09:57:22 +00:00
Julian Smart
e37fe232f9 Applied #10356: Duplicate help menu in wxMac as a plugin
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@62114 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-25 09:18:08 +00:00
Julian Smart
f3fc0413d6 Applied #9011: Native wxListCtrl::HitTest on OS X
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@62113 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-25 09:06:07 +00:00
Julian Smart
f0bd165e49 Changed order of calls to avoid crash after deletion of window in kill focus event
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@62111 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-25 08:35:12 +00:00
Julian Smart
19320f1a7f Applied #9520: Fix to allow repeated use of wxFileDialog object
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@62110 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-25 07:52:08 +00:00
Julian Smart
713716a890 Applied #9481 - submenus for help menu
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@62105 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-25 07:29:17 +00:00
Julian Smart
551d768d12 Applied #10546: GTK support for multi-colored wxCursor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@62102 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-24 20:41:08 +00:00
Julian Smart
1408355593 Applied #10917: wxGTK wxFileDialog::SetDirectory and ::SetFilename problems
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@62100 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-24 20:36:31 +00:00
Julian Smart
809003a148 Applied #9668: made wxGetTimeStatic() dynamic
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@62096 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-24 19:12:10 +00:00
Julian Smart
23812a03ab Reverted change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@62095 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-24 18:20:21 +00:00
Julian Smart
620de0dfbe Applied #11106: wxGenericDirCtrl can get into a state where it will no longer expand
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@62093 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-24 17:04:10 +00:00
Julian Smart
0b02609ffe Applied #11005: use purple instead of black as default wxHyperlinkCtrl::m_visitedColour
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@62092 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-24 16:46:50 +00:00
Julian Smart
f0838ffc1e Applied #10860: adding test to show that a list being manipulated inside a long task updates correctly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@62088 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-24 15:54:53 +00:00
Julian Smart
ed86b73f2d Applied #11236: Event from thread not processed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@62085 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-24 15:42:13 +00:00
Julian Smart
609ad74c97 Applied #9789: missing wxBORDER_THEME style in XRC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@62083 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-24 15:36:35 +00:00
Julian Smart
3e415b3236 Applied #10891: ChangeValue instead of SetValue in wxTextCtrlBase::DoLoadFile
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@62082 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-24 14:36:15 +00:00
Julian Smart
9c0683bbe8 Applied #10069: performance improvement to mime type initialization
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@62080 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-24 14:22:50 +00:00