Commit Graph

40606 Commits

Author SHA1 Message Date
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
Julian Smart
f779be80e4 Logged some changes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52156 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-27 18:16:01 +00:00
Julian Smart
a3afc2ad35 Take into account explorer associations and CurVer when finding the command to execute.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52153 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-27 18:07:23 +00:00
Vadim Zeitlin
d28fb3eb2b don't attempt to create 0*0 bitmaps in GetBuffer() (patch 1899643)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52152 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-27 18:03:12 +00:00
Vadim Zeitlin
2603810965 clip the text in report mode to prevent it from overflowing into the next column (patch 1898914)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52151 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-27 18:00:30 +00:00
Václav Slavík
f15a5120e4 forgot to add OnFocusChange to version-script.in in r52007
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52144 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-27 15:32:57 +00:00
Vadim Zeitlin
f9894504d5 forward WM_HELP from the buddy control to the main one in order to make context sensitive help work when the text part of wxSpinCtrl is clicked with "?" cursor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52143 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-27 15:08:54 +00:00
Vadim Zeitlin
185b3cb324 don't hide the TLW being deleted unless there any other *visible* TLWs remaining (bug 1902632)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52142 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-27 14:49:46 +00:00
Julian Smart
25afa6b11a Added new symbols
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52138 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-27 08:58:05 +00:00