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
Julian Smart
c9f62632e9
Applied #10828 (Hourglass in wxDocManager::OnPreview)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@62079 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-24 13:54:46 +00:00
Julian Smart
c6fb1da330
Applied #10799 : using CallTipUseStyle() doesn't enable wxSTC_STYLE_CALLTIP
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@62074 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-24 13:16:56 +00:00
Julian Smart
de089d8a1c
Applying patch #10784 : eliminate gauge flicker
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@62070 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-24 10:18:25 +00:00
Julian Smart
b2f96cafca
Applied patch #9510 : wxIAccessible access freed memory
...
by Cyball
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@62067 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-24 10:15:06 +00:00
Julian Smart
ee18a103b3
Applied patch #11078 - DEVMODE creation in wxWindowsPrintNativeData::TransferFrom plus SetQuality to dpi
...
by Martin Perktold
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@62064 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-24 09:52:26 +00:00
Julian Smart
b105aac221
Applied #10659 (year change in copyright)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@62053 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-24 07:42:09 +00:00
Julian Smart
a0b4f26342
Applied #10639 (Not all previewed fonts are displayed with the correct nameface)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@62052 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-24 07:36:00 +00:00
Julian Smart
8932702b0c
Added wxRICHTEXT_HANDLER_USE_CSS flag for HTML handler to use CSS
...
where possible.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@62033 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-23 11:06:30 +00:00
Julian Smart
06666889ff
Fixed #10702 (encoding not used in HTML handler)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@62029 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-23 07:53:08 +00:00
Julian Smart
a3e04e576b
Compile fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@62028 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-23 07:45:14 +00:00
Julian Smart
279df2ce99
Fix for wrong line placement when centering or right-aligning
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@62027 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-23 07:38:57 +00:00
Julian Smart
66b33d22fa
Fix for #4696 : added SetDefaultStyleToCursorStyle() to SetInsertionPoint() so style is taken from context, not the style at a previous location.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@62020 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-22 16:36:42 +00:00
Julian Smart
6c0f734302
Returning WVR_REDRAW triggers Windows bug that moves child windows, so don't use it.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@62019 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-22 15:20:42 +00:00
Julian Smart
c48ada3df4
Fixed #9996 (incorrect XML output in Ansi build for non-ASCII character)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@62013 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-22 13:06:10 +00:00
Julian Smart
6ac5d9ebd0
Don't use deprecated background style
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@62010 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-22 10:03:45 +00:00
Vadim Zeitlin
f15c021bb6
Fix possible deadlock in wxEvtHandler::ProcessPendingEvents().
...
Delete the event we just processed before re-locking the critical section as
this may result in deadlocks if the (user-defined) event dtor does something
non-trivial.
Closes #10790 .
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@61982 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-20 21:48:50 +00:00
Julian Smart
c78e95f633
Avoid duplicate character event for VK_DECIMAL on numeric keypad
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@61978 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-20 10:57:20 +00:00
Vadim Zeitlin
122fc27e3e
Check for self-assignment in wxFileName::operator=().
...
This is a backport of r56794 from trunk but adds the check for self-assignment
to the Assign() implementation which is in a .cpp file and so is compiled into
the library and not operator=() itself which is inlined to avoid any problems
with mixing different version of this inline function when updating to next
2.8 version without recompiling.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@61943 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-16 11:37:46 +00:00
Julian Smart
ce2a0101bf
wxRTC's own caret is more reliable than the generic one, so use it.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@61930 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-14 15:52:26 +00:00
Stefan Neis
76738ae8b7
Be more paranoid about parent window possibly being NULL (partly fixes #11195 ).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@61904 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-13 15:47:25 +00:00
Julian Smart
9a2e7481ba
Fix on Mac to prevent scrollbars always being shown
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@61876 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-11 08:55:34 +00:00
Vadim Zeitlin
cdf7bf04aa
Predefine wxNEEDS_T to fix wxrc compilation with Sun CC.
...
After the recent changes _T() is not defined any longer when using Sun CC but
this file does need it to be defined and seems to compile fine when it is, so
define wxNEEDS_T before including any wx headers.
See #10660 .
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@61873 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-09 22:37:14 +00:00
Vadim Zeitlin
6dfeacd66f
Don't use _T() in public headers used under Unix.
...
Avoid conflict with the Sun CC standard headers (see #10660 ).
Also update the change log to mention _T() changes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@61872 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-09 22:37:05 +00:00
Vadim Zeitlin
9ff9127930
Undef _T before including standard headers and redefine it later.
...
This change fixes the build of wxWidgets itself by undefining _T() before
including any standard headers and redefining it after including them.
See #10660 .
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@61871 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-09 22:29:51 +00:00
Vadim Zeitlin
7620326bdb
Don't define _T() when using Sun compiler if possible.
...
Avoid defining _T() if possible as it conflicts with the use of this
identifier in standard headers. Do still define it when building wx itself or
when the special symbol wxNEEDS__T is explicitly predefined.
See #10660 .
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@61870 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-09 22:29:43 +00:00
Vadim Zeitlin
b03aba8244
Define WXBUILDING when building wxWidgets itself.
...
This is needed by the upcoming _T-related patches (see #10660 ).
Notice that only Makefile.in was regenerated using the old 0.2.5 bakefile
version to keep changes to the minimum. The other makefiles will have more
changes when they are regenerated with bakefile 0.2.6 after we update to it.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@61869 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-09 22:29:35 +00:00
Vadim Zeitlin
080a52bc8e
Use VariantTimeToSystemTime() in wxConvertOleToVariant().
...
Fix the problem with variants containing only time (but not date) information.
Also check in the symmetric changes to wxConvertVariantToOle() but disable
them for now as they were not tested.
Closes #11177 .
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@61846 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-06 15:59:49 +00:00