Commit Graph

1154 Commits

Author SHA1 Message Date
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
Václav Slavík
90b5819c2e fixed wxXmlResource::GetText() in ANSI build to correctly convert the string to current locale's charset
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51218 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-14 22:40:28 +00:00
Julian Smart
1b7e34be56 Fixed GetInfo to use the current language.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51135 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-09 15:54:42 +00:00
Vadim Zeitlin
7f45b76c62 return false from Dispatch() if gtk_main_quit() was called (patch 1864846)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51039 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-06 15:26:16 +00:00
Vadim Zeitlin
074ca2937d don't hardcode 16/32 as sizes for small/normal icons (fixes bug 1862812)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50999 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-03 01:13:44 +00:00
Vadim Zeitlin
ee635d523a fix bug with parsing negative time zones in ParseRfc822Date()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50955 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-30 23:35:40 +00:00
Vadim Zeitlin
355d2bbff0 implement wxListCtrl::ScrollList() (in report view and vertical direction only) (slightly modified patch 1843647)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50902 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-22 15:58:38 +00:00
Vadim Zeitlin
56bbaa28a3 fixes to wxImage::ResambleBox() (patch 1843902)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50901 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-22 15:52:48 +00:00
Vadim Zeitlin
9b3fbee03e discard any pending messages for the socket being destroyed to avoid the problem with having them delivered to the next socket we create which reuses the same message number (patch 1856012)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50893 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-22 14:05:25 +00:00
Václav Slavík
237d84033e backported: when a window inside scrolled window receives focus, make sure the parent is scrolled so that the window with focus is visible
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50864 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-20 18:36:19 +00:00
Julian Smart
89639ecdba Corrected wxRTTI for wxNotebook so dynamic casting to wxBookCtrlBase works
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50855 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-20 10:51:33 +00:00
Vadim Zeitlin
495d64ce39 don't misinterpret the time after the date as a weekday (patch 1836708)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50732 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-15 21:03:21 +00:00
Julian Smart
7a6db76600 Big wxRichTextCtrl performance increase due to faster wrapping code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50541 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-06 12:25:59 +00:00
Julian Smart
bbde7abce9 Reverted mouse position change - wxMSW does send (-1, -1) for keyboard context menu access
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50475 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-04 21:51:33 +00:00
Václav Slavík
5012afdc2a added <scrollrate> parameter to wxScrolledWindow XRC handler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50473 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-04 19:06:09 +00:00
Julian Smart
89c830a332 Context menu event from keyboard records the mouse position, not -1, -1, in line with wxMSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50464 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-04 13:38:02 +00:00
Václav Slavík
d2e72b6805 ensure that wxGrid::AutoSizeColumn/Row() never sets column/row size smaller than the minimal size
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50224 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-24 17:55:14 +00:00
Václav Slavík
c25ddfa8a3 backported wxGrid labels autosizing patch (r44835) to 2.8
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50201 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-23 21:21:25 +00:00
Václav Slavík
1f8d85852d fixed the changelog to have only one 2.8.7 section instead of two
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50198 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-23 20:39:00 +00:00
Václav Slavík
caf5b94341 removed gstreamer dependency from all libraries except for wxMedia, not only from wxBase
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50120 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-20 22:52:40 +00:00
Vadim Zeitlin
cf22e46119 added wxWindow::GetPrev/NextSibling() [backport of r50108 from trunk]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50111 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-20 16:12:12 +00:00
Julian Smart
d9bb81e462 Documented another bug fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49995 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-16 13:15:33 +00:00
Julian Smart
f74357863f Added some change logs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49994 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-16 13:14:38 +00:00
Vadim Zeitlin
693c373183 implement wxClientDisplayRect() using _NET_WORKAREA WM hint [backport of r49697 and r49700 from trunk]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49838 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-11 23:52:54 +00:00
Vadim Zeitlin
bee86e0097 cleanup wxURLModule after wxSocketModule to avoid crash when destroying default proxy (patch 1828964)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49798 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-09 23:17:49 +00:00