Commit Graph

1178 Commits

Author SHA1 Message Date
Vadim Zeitlin
ffbf09ac1e set focus to the control when it's clicked [backport of r53014 from trunk]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53987 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-05 15:48:55 +00:00
Vadim Zeitlin
4bdfaa384b fix wxDateTime::ParseRfc822Date() to handle missing seconds (ticket #1341)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53900 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-01 14:37:26 +00:00
Vadim Zeitlin
aba0599409 correct toolbar width calculation with comctl32.dll < 6.0 (patch 1902358)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53487 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-08 13:25:00 +00:00
Vadim Zeitlin
3fea4c9842 fix wxEVT_COMMAND_TEXT_ENTER generation in wxSpinCtrl [backport of r53396 from trunk]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53397 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-28 11:33:47 +00:00
Václav Slavík
987e09dce1 Fixed handling of transparent background in borderless wxBitmapButton (patch #1477883)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53339 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-24 23:19:36 +00:00
Václav Slavík
c853b92bdb wxHTML: preserve TAB characters when copying <pre> content to clipboard (backport from trunk)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53318 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-23 11:54:05 +00:00
Václav Slavík
2e1f8b15ae implement wxLIST_AUTOSIZE support in wxMac's wxListCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53275 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-20 22:10:04 +00:00
Václav Slavík
87be8ad315 fixed incorrect layout width caching in wxHtmlContainerCell (patch #1931479)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53160 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-13 12:29:53 +00:00
Václav Slavík
3657a5a4d8 Fixed IMPLEMENT_APP() to be compatible with the -WU flag of Borland C++ (patch #1935997)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53157 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-13 12:17:37 +00:00
Julian Smart
b99e1e15be Added wxRichTextCtrl superscript and subscript support (Knut Petter Lehre).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53105 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-10 14:05:25 +00:00
Václav Slavík
f4e1026261 Fixed timing of malformed animated GIFs in wxHTML (patch #1926825 by Gennady Feller)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52997 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-03 18:55:46 +00:00
Václav Slavík
d37ce8aaa7 backported wxXmlNode::InsertChildAfter and its use during XML parsing to 2.8
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52976 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-02 10:06:54 +00:00
Václav Slavík
26fa2f80fb backported fix to wxSpinCtrl::GetClientSize() in wxMSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52655 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-21 18:23:17 +00:00
Václav Slavík
f480c1c138 made wxAcceleratorTable work with buttons in wxGTK too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52614 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-18 16:19:49 +00:00
Vadim Zeitlin
45ff30df68 implement wxSpinCtrl::Reparent() to properly reparent both the spin button and the text control part [backport of r52543 from trunk]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52582 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-17 13:46:31 +00:00
Václav Slavík
f9c213a146 Fixed generic art provider to scale bitmaps down to client-specific best size if needed.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52561 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-16 00:36:37 +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
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
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
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
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
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
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
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
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
Václav Slavík
7f427f9cc2 fixed wxBitmapButton to use focus and hover bitmaps correctly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52007 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-22 19:57:54 +00:00
Vadim Zeitlin
f89e3c6f87 revert not encoding the colons in FileNameToURL() under MSW (r51904, patch 1890922) as this completely broke wxFS URLs parsing; explain this in a comment in the trunk version
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51940 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-20 16:33:55 +00:00
Vadim Zeitlin
74ad534dd4 implement wxRadioBox::Reparent(): it didn't reparent the radio buttons (patch 1891030)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51905 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-19 02:43:29 +00:00
Vadim Zeitlin
ddd5ad6298 don't encode collons in file:// URLs under Windows as IE is incapable of opening them (and other browsers can open both forms) (patch 1890922)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51904 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-19 02:37:53 +00:00
Vadim Zeitlin
c842c9c98b honour locale modifiers such a @valencia in system locale (patch 1896444)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51897 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-18 23:43:29 +00:00
Vadim Zeitlin
3ae0951d3a fix wxNotebook::GetPage{Text,Image}() when they were called from the page change event handler for the first added page (patch 1895161)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51853 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-17 01:37:23 +00:00
Vadim Zeitlin
70ba4e9681 fix redundant storage of current date both in wxCalendarCtrl and popup m_currentDate variable which resulted in multiple bugs, e.g. calendar didn't open at the current date value [ABI preserving version of r51843 from trunk]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51846 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-16 15:54:55 +00:00
Vadim Zeitlin
41bbc56e13 mention fix for the column index in the column right-click event
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51775 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-13 23:09:20 +00:00
Vadim Zeitlin
cc6d111a24 set listview extended styles after switching to report view and not only when creating it (bug 1874996) [backport of 51390 from trunk]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51773 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-13 22:46:30 +00:00
Julian Smart
af5f42f506 Fixed several style, paste and undo bugs
Added a reload function to the sample for quickly restoring original text


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51739 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-12 17:05:32 +00:00
Vadim Zeitlin
3fc67306a4 implement wxListBox::EnsureVisible() in wxGTK; add a test for it to the widgets sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51659 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-11 16:03:23 +00:00
Vadim Zeitlin
b03cf964a3 don't close UDP socket if it receives an empty datagram (patch 1885472)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51623 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-09 23:51:38 +00:00
Vadim Zeitlin
1988baa62b added alpha support to wxImage::Paste() (patch 1883497, bug 1831612)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51617 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-09 15:32:04 +00:00
Vadim Zeitlin
d05d5c1687 don't lose the contents of the combobox if it was set to a value not in a list and a popup has been opened and closed (patch 1883474)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51616 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-09 15:22:15 +00:00
Václav Slavík
285900728d fixed wxTextCtrl to not process clipboard events twice if there's a custom wxEVT_COMMAND_TEXT_* handler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51504 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-02 14:07:19 +00:00
Julian Smart
ccaff46ee6 Corrected wxSetCursor documentation.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51441 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-29 11:18:03 +00:00
Václav Slavík
a36c664252 Fixed wxCURSOR_HAND to map to GDK_HAND2 and not GDK_HAND1, for consistency with other applications
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51408 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-27 15:26:44 +00:00
Vadim Zeitlin
57f27af169 fix assert when using owner-drawn menu items with the newest (Vista) SDK [backport from trunk]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51379 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-26 01:38:06 +00:00
Václav Slavík
a9cb1b92a3 use xdg-open in wxLaunchDefaultBrowser() on Unix if available
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51328 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-22 10:19:39 +00:00
Václav Slavík
2ce6b01ba5 wxGrid focus handling fixes:
- don't allow focus in helper labels subwindows
- draw selection in different colour when not focused
- hide cursor/highlight when not focused



git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51314 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-21 17:16:15 +00:00
Vadim Zeitlin
0a585911c0 don't enable disabled windows when showing them (patch 1871879)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51230 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-16 01:49:36 +00:00