Vadim Zeitlin
705d0c55ac
Fix harmless g++ 4.3 warning about "suggested braces".
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@63218 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-01-22 22:01:58 +00:00
Vadim Zeitlin
f5ddb02e65
Don't place NULL pointers in the GDK window array in GTKGetWindow().
...
This avoids an assert in GTKUpdateCursor() later on.
Backport of r60458 from trunk.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@63217 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-01-22 22:01:24 +00:00
Jaakko Salli
ab1b239de2
Added entry on generic wxDatePickerCtrl keyboard navigation fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@63163 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-01-17 12:10:50 +00:00
Paul Cornett
ea4b3d8058
update docs for wxMAXIMIZE on GTK
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@63162 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-01-16 04:14:18 +00:00
Paul Cornett
107036dbcf
honor wxMAXIMIZE frame style, fixes #11631
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@63160 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-01-15 17:09:29 +00:00
Jaakko Salli
5b08af5c2f
When checking whether the parent control has wxTAB_TRAVERSAL, take into account that the wxComboCtrl can be part of a composite control, such as generic wxDatePickerCtrl ( fixes #11630 ).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@63158 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-01-15 16:06:46 +00:00
Vadim Zeitlin
2044a5f9cc
Add wx/osx/textentry.h to the list of OS X headers.
...
Fix problem with "make install" which didn't install this header.
Backport of r63137 from HEAD.
Closes #11624 .
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@63138 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-01-12 15:51:48 +00:00
Robin Dunn
cea6e8c61a
Use GraphicsContext (if available) for drawing in SurfaceImpl::AlphaRectangle. Fixes #10542 .
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@63115 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-01-10 00:48:52 +00:00
Paul Cornett
3ce31329a9
fix broken #elif
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@63098 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-01-08 04:33:21 +00:00
Mattia Barbon
772133e232
Document wxPerl interface differences for wxRichTextCtrl.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@63037 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-01-02 11:31:29 +00:00
Vadim Zeitlin
d1db5f63e7
Change the year in copyright messages to 2010.
...
Backport of r63031 from trunk.
See #11584 .
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@63032 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-12-31 13:37:24 +00:00
Vadim Zeitlin
fb564bb8ea
Use memmove() instead of memcpy() in wxString::AssignCopy().
...
This allows the code like "s = s.c_str()" to work correctly, although it
doesn't fix all self-assignment-related bugs.
See #11245 .
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@63008 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-12-28 20:01:39 +00:00
Paul Cornett
1e40d1e968
don't use ==, fixes ##11580
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@63003 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-12-28 01:56:31 +00:00
Chris Elliott
16ed267188
remove ;
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@62959 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-12-21 10:04:31 +00:00
Jaakko Salli
c012190c3f
In wxComboCtrl, prefer focus rectangle colours over custom ones.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@62929 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-12-18 17:03:06 +00:00
Jaakko Salli
9beb1afb73
Have wxComboCtrl honour any application-specified foreground and background colour.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@62928 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-12-18 16:42:13 +00:00
Stefan Csomor
07101c6c76
fix for sleep mode on displays, fixes #11557
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@62911 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-12-17 13:39:54 +00:00
Chris Elliott
85da80ca51
force rebuild of all docs
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@62899 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-12-16 08:30:58 +00:00
Václav Slavík
aa01352e88
define NDEBUG if not using debug CRT
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@62894 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-12-15 15:38:27 +00:00
Chris Elliott
19524338c7
fix for second bug in bug 11438
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@62876 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-12-14 09:38:41 +00:00
Chris Elliott
5542faf05f
fix for bug 11438
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@62857 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-12-11 13:55:32 +00:00
Julian Smart
b8692c0afa
Speed up adding pages during freezing
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@62816 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-12-08 14:07:59 +00:00
Julian Smart
e0a1f575ee
Don't crash if no document
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@62808 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-12-07 15:22:45 +00:00
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