Robin Dunn
b99444c736
Apply new patch fixing problem of IsRunning always returning True. See #11699
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@63485 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-02-15 17:30:58 +00:00
Václav Slavík
fc25164624
Make it possible to subclass wxMenuBar in XRC (patch #11679 ).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@63466 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-02-11 12:47:17 +00:00
Václav Slavík
fe84c6f5e1
Fixed possible buffer overflow in wxXmlResource::GetXRCID() (patch #11715 ).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@63465 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-02-11 12:36:43 +00:00
Robin Dunn
d479459b39
Allow more than one timer with the same ID. See #11699 .
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@63420 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-02-08 19:38:46 +00:00
Vadim Zeitlin
b42afac3a0
Remove unnecessary <vector> inclusion.
...
This header doesn't seem to be used anywhere and we try to avoid any STL
dependencies in 2.8 branch.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@63406 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-02-05 19:05:12 +00:00
Vadim Zeitlin
baf84d8710
Don't include wx/rawbmp.h unnecessary from src/generic/graphicc.cpp.
...
This is not only unneeded but also breaks wxX11 (and probably other ports)
compilation because raw bitmap access is not available there.
Closes #11700 .
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@63405 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-02-05 19:03:20 +00:00
Robin Dunn
4d7c9f2205
Set the ID and event object for wxSetCursorEvents
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@63391 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-02-05 00:26:44 +00:00
Robin Dunn
63b7efeaa7
Backport r62977 and others from trunk to allow timers with ID of zero.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@63390 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-02-05 00:26:01 +00:00
Julian Smart
37c68ffe9f
Don't select all if there is nothing to select.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@63373 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-02-03 11:42:58 +00:00
Julian Smart
422d720acd
Don't delete previous character when pressing Del at end of buffer.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@63371 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-02-03 09:51:42 +00:00
Julian Smart
d902c6dd24
Fixes for incorrect selection, extra newline insertion when undoing deletion of selection,
...
insufficient refresh for operations on last line,
HasCharacter/ParagraphAttributes bug.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@63358 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-02-02 22:19:52 +00:00
Julian Smart
e4db8a879f
Simplify SetSelectionRange and make consistent with SetSelection.
...
Fix a bug that returns true for character and paragraph style tests if no characters or paragraphs were found.
Fix SetSelection to position caret at end.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@63345 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-02-01 12:07:28 +00:00
Stefan Csomor
da71899374
fix for sleep mode on displays, fixes #11557
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@63334 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-01-31 15:19:50 +00:00
Michael Wetherell
d3daf59f2a
Fix for file length fixup.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@63302 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-01-28 21:46:09 +00:00
Michael Wetherell
1132633751
Backport stdio large file support for VC++ and mingw.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@63300 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-01-28 21:36:09 +00:00
Chris Elliott
9e97f8c397
bakefile 0.2.8 and wxw2.8.11
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@63295 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-01-28 10:14:20 +00:00
Julian Smart
98e5829d41
Added EVT_WIZARD_PAGE_SHOWN event for wxWizard, to give apps
...
a chance to initiate processing after a page is presented.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@63262 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-01-25 18:47:47 +00:00
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
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
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
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
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
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
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
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
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
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
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
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