Commit Graph

40664 Commits

Author SHA1 Message Date
Václav Slavík
725a35f6a0 if we can't detect tooltip color, yellow as used by Tiger is still better than white, which isn't used anywhere
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52560 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-16 00:35:34 +00:00
Václav Slavík
8fd5fa3a0e wxMSW: generate wxClipboardTextEvent from wxTextCtrl with wxTE_RICH style too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52547 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-15 12:33:04 +00:00
Vadim Zeitlin
540ed0d7f4 initialize m_nCurLine in wxTextBuffer ctor (part of patch 1908134)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52531 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-15 02:38:43 +00:00
Vadim Zeitlin
78de549990 use wxTE_PROCESS_{ENTER,TAB} with the wxGridCellChoiceEditor combobox (slightly modified patch 1906581)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52529 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-15 02:24:12 +00:00
Paul Cornett
ac6704fa9b fix for infinite sizing loop (partial patch 1907189)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52501 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-14 15:55:09 +00:00
Julian Smart
ac01374973 Added typecasts (Sebastian Gottschalk)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52496 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-14 14:24:34 +00:00
Julian Smart
251a07fb90 Fixed bug in wxDialUpManagerMSW::GetISPNames - uses realloc() without checking for NULL, leading to a memory leak (Sebastian Gottschalk)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52495 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-14 14:18:24 +00:00
Julian Smart
61090a1a07 Fixed bug for chars with ASCII value > 127, explicitly casting to an unsigned char (Sebastian Gottschalk)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52492 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-14 14:17:14 +00:00
Julian Smart
da62ad4c09 Fixed bug for chars with ASCII value > 127, explicitly casting to an unsigned char (Sebastian Gottschalk)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52490 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-14 14:16:28 +00:00
Julian Smart
2e4dc1ddb1 Fixed buffer overflow (Sebastian Gottschalk)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52489 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-14 14:14:57 +00:00
Julian Smart
5796f3e926 Fixed bug in XTI constructor macro (Sebastian Gottschalk)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52488 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-14 14:13:05 +00:00
Stefan Csomor
0d3c6e6983 use the same font matching fallbacks for all layout operations
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52483 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-14 10:33:09 +00:00
Václav Slavík
af24f0bd0f make sure FindFocus returns newly focused window immediately after SetFocus on 2.8 branch too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52476 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-14 01:14:56 +00:00
Václav Slavík
77392f0261 fixed crash in wxHtmlHelpController if the help window is still open
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52470 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-13 23:29:27 +00:00
Paul Cornett
2ace713c9a fix for idle processing stopping without processing all pending events, replaces patch 1912157
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52465 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-13 04:37:03 +00:00
Václav Slavík
3c61f2e3ab include 'Version' in version string, it's what Apple apps do
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52457 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-12 21:28:03 +00:00
Vadim Zeitlin
0cdffad26b removed non-existent SockAddrLen()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52455 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-12 19:24:33 +00:00
Julian Smart
5ba820ec7e Better fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52452 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-12 13:45:14 +00:00
Julian Smart
13beff4a16 Sizing/scrollbar corrections for Mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52450 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-12 13:36:09 +00:00
Vadim Zeitlin
ba3049f5a5 VC6 compilation fix: remove redundant end variable declaration in Destroy()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52444 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-11 14:06:04 +00:00
Julian Smart
c6b4dd2e4d Typo correction
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52443 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-11 11:31:13 +00:00
Vadim Zeitlin
68e2214bfc fix WXDLLIMPEXP_FWD declaration of wxCollapsiblePane
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52422 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-10 13:55:07 +00:00
Vadim Zeitlin
c0e61743de use extra parentheses to fix Borland problems with operator?:
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52411 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-09 12:59:26 +00:00
Vadim Zeitlin
4b506b8b34 suppress (harmless) warnings about unused variables
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52409 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-09 12:55:39 +00:00
Robin Dunn
b8a91a00eb Enable XRC to call wxStaticText::Wrap
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52398 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-09 03:27:15 +00:00
Robin Dunn
da2f6baf7c Don't need to use wxHAVE_RAW_BITMAP any more.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52396 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-09 03:21:11 +00:00
Stefan Csomor
6262f74563 fix for 1742682
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52362 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-06 18:02:21 +00:00
Vadim Zeitlin
5949c5068f use \newsince instead of incorrect \since
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52360 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-06 14:41:57 +00:00
Václav Slavík
87069a16f1 Unicode compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52359 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-06 13:48:50 +00:00
Václav Slavík
febd29d9e9 added wxRESERVE_SPACE_EVEN_IF_HIDDEN support to XRC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52334 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-05 15:14:37 +00:00
Václav Slavík
b185fa1efb backported wxSizer::SetSizeHints() fix to make it work correctly when the best size decreases
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52332 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-05 15:09:16 +00:00
Václav Slavík
c46a31dd46 backported wxSizer::ComputeFittingClientSize() and ComputeFittingWindowSize() to 2.8
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52331 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-05 15:02:22 +00:00
Václav Slavík
a0a0e2b8d8 backported ClientToWindowSize(), WindowToClientSize() to 2.8
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52330 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-05 14:19:38 +00:00
Vadim Zeitlin
90416caebe really use the position passed to ShowHelpAtPoint() when using CHM help controller [backport of r52203 from trunk]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52329 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-05 13:20:26 +00:00
Václav Slavík
f891eca8c0 backported wxRESERVE_SPACE_EVEN_IF_HIDDEN to 2.8
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52319 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-04 17:46:43 +00:00
Bryan Petty
98b9d9c98b Fixed non-precomp headers build.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52296 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-04 00:21:16 +00:00
Vadim Zeitlin
e0f1a90fb4 position help windows shown when Shift-F1 is pressed near the window and not at the mouse position unless the mouse is over the window [backport of r52271 from trunk]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52272 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-03 02:01:31 +00:00
Václav Slavík
be50cecab6 fixed rendering of wxTextCtrl's border with wxTE_RICH(2) styles and XP's Classic theme
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52263 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-02 20:40:12 +00:00
Vadim Zeitlin
7f02d57e99 don't post WM_NULL if there is already a WM_NULL in the queue to avoid overflowing it (patch 1904771)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52253 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-02 14:45:41 +00:00
Vadim Zeitlin
60d02d5637 don't clear value index in SetStringValue() if the value is invalid (patch 1905695)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52251 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-02 14:29:38 +00:00
Václav Slavík
17dd3f27e0 wxMac: Fixed wxListCtrl to respect items' non-default fonts.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52243 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-02 10:43:48 +00:00
Vadim Zeitlin
fff10a73bf ignore VC7 projects created by importing VC6 ones
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52225 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-02 00:35:01 +00:00
Vadim Zeitlin
c1554065e6 mention that SetNativeFontInfo() resets the font in 2.8 but doesn't in the next versions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52224 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-02 00:32:48 +00:00
Stefan Csomor
f7a5176212 guard against an m_peer being NULL which is the case for a wxMenuBar, and here tools with introspection from python crash on OS X because they display all attributes in inheritance ...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52217 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-01 16:45:55 +00:00
Václav Slavík
c170f4aeec fixed ~wxWindowBase to remove associated context help from wxHelpProvider -- otherwise wrong help text could be reused by other controls later
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52200 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-29 21:11:53 +00:00
Václav Slavík
118e206211 misc. fixes to wxHelpProvider docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52197 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-29 20:02:09 +00:00
Vadim Zeitlin
731991e499 fix asserts when the root is hidden [backport of r45135 from trunk]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52196 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-29 19:51:05 +00:00
Václav Slavík
d5805cba69 fixed addition of wxLANGUAGE_VALENCIAN to be binary compatible
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52195 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-29 15:12:57 +00:00
Václav Slavík
e37c9b6c2e clear statusbar 'Connecting...' message on failure
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52186 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-28 22:50:25 +00:00
Julian Smart
2c3cfbb21c Open and Close clipboard properly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52178 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-28 18:44:24 +00:00