Commit Graph

1076 Commits

Author SHA1 Message Date
Julian Smart
fb9c1ff9cb Binary compatible API fixes for menu label retrieval with and without
mnemonics/accelerators.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48053 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-13 17:07:01 +00:00
Julian Smart
49ab1eb964 Added XRC handler for wxPropertySheetDialog (Sander Berents)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48045 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-13 12:05:18 +00:00
Vadim Zeitlin
66ce99069b initialize m_labelWidget to 0 to fix crash when the label is empty (backport of part of r45312 changes from trunk)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47628 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-21 22:51:49 +00:00
Julian Smart
aa53874e59 Fixed a crash in wxGrid on creation due to OnSize being called too soon.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47332 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-11 08:37:18 +00:00
Vadim Zeitlin
49266c6b45 generate wxEVT_COMMAND_LIST_END_LABEL_EDIT event even if label didn't change [backport of rev 47265 from trunk]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47266 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-09 15:00:42 +00:00
Paul Cornett
1a5f13bcf5 fix XPM SaveFile for more than 92 colors
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47088 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-03 03:08:26 +00:00
Julian Smart
33fac1eaf7 Added SetBitmap, GetBitmap to wxWizard
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47065 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-02 08:00:17 +00:00
Benjamin Williams
5aadb60fc3 updated change log with information about wxAuiNotebook updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47017 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-29 09:35:59 +00:00
Vadim Zeitlin
1006538504 restored key events generation (backports 45371 from the trunk, closes bug 1724916)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47016 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-29 01:51:11 +00:00
Robert Roebling
56e3b9d239 Mention changes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46668 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-23 17:00:26 +00:00
Vadim Zeitlin
b6f6729e23 don't always add wxCAPTION to wxMiniFrame style unconditionally (patch 1739821; backport from HEAD)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46652 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-22 19:14:00 +00:00
Vadim Zeitlin
1cf8287602 make setting the foreground colour of wxTextCtrl in wxGTK work [backport of 1.685 from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46568 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-20 21:30:16 +00:00
Vadim Zeitlin
8adb6b9372 don't free "static" alpha data (patch 1738966) [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46549 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-20 00:13:57 +00:00
Václav Slavík
9f50431f18 improve XRC loading performance on Unix by avoiding MIME database loading
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46522 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-18 18:37:40 +00:00
Václav Slavík
b996028c3b when selecting text in wxHTML, selecting half a character is enough to select it (patch #1719530; this is standard behaviour when selecting text)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46507 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-17 17:58:20 +00:00
Václav Slavík
887e1ab976 fixed selecting part of word from right to left in wxHTML (patch #1719530)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46505 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-17 17:31:09 +00:00
Vadim Zeitlin
1644f8fccc correct setting of pSymbol->SizeOfStruct (patch 1737789) [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46501 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-17 00:59:29 +00:00
Vadim Zeitlin
8653d7fa60 added colour normalization to PNM handler [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46311 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-03 22:14:32 +00:00
Vadim Zeitlin
79ac0cd199 fix crash after destroying a default button in a backwards compatible way (patch 1727956)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46272 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-02 13:25:43 +00:00
Vadim Zeitlin
4be667976c enable non-top tabs workaround for Vista too (replaces patch 1724221) [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46270 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-02 13:22:20 +00:00
Vadim Zeitlin
056eb8dc99 added msw.font.no-proof-quality system option as it makes more fonts available (feature request 1617941) [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46268 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-02 13:13:24 +00:00
Robert Roebling
54873ec085 Mention support for clipping in GNOME print backend.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46221 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-26 16:03:06 +00:00
Robert Roebling
07e647c02f Mention printing Landscape fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46091 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-17 11:09:59 +00:00
Robert Roebling
1884063d39 Mention changes since 2.8.4
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46065 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-16 08:56:15 +00:00
Vadim Zeitlin
b4c10903ff apply the table bg colour between the cells too (patch 1713170) [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45986 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-11 23:12:33 +00:00
Vadim Zeitlin
e07964301a fix wxComboCtrl colours under Windows Vista (patch 1710006) [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45984 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-11 22:56:00 +00:00
Robert Roebling
843179c40f Mention printer change in the docs.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45955 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-11 09:27:29 +00:00
Mart Raudsepp
5dd5470a3b [wxGTK2] Support wxTEXT_ALIGNMENT_JUSTIFIED in wxTextCtrl if GTK+ version is at least 2.11. This is for future benefits as stable gtk+-2.12 should come out much before wxWidgets new stable cycle
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45951 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-11 07:25:07 +00:00
Vadim Zeitlin
9ae4fd9db4 added wxListCtrl::SetItemPtrData() to allow associating pointers with items under 64 bit architectures
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45935 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-10 02:02:21 +00:00
Václav Slavík
1ec1052865 backported wxString::From/ToUTF8 to 2.8 for forward compatibility with wx3
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45861 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-06 12:57:43 +00:00
Václav Slavík
b198c59447 added wxString::From/To8BitData() for forward compatibility with wx3
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45762 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-02 18:03:26 +00:00
Vadim Zeitlin
3b85f3189e fix wxStringOutputStream::Write() in Unicode build when the output overlaps a boundary between UTF-8 characters (bug 1701426)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45732 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-01 13:52:19 +00:00
Vadim Zeitlin
94356f539a fix m_sizerPage memory leak for the wizards not using sizers (replaces patch 1708331, fixes bug 1647290) [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45723 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-30 19:48:04 +00:00
Vadim Zeitlin
1885d4d4e2 don't drop lines without trailing new line character in wxExecute() with capture [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45714 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-30 01:17:43 +00:00
Robert Roebling
c3c7278aa7 Mention change in wxComboBox::SetValue()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45685 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-26 21:21:30 +00:00
Vadim Zeitlin
93c2397b68 don't assert in wxUniv SetSelection(wxNOT_FOUND), just clear text zone contents
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45655 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-26 02:23:51 +00:00
Vadim Zeitlin
9fe19926fa don't assert in SetSelection(wxNOT_FOUND), just clear text zone contents (patch 1707475) [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45653 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-26 02:17:18 +00:00
Vadim Zeitlin
e9ef27252d allow having children of status bar in XRC (patch 1704125) [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45572 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-21 23:24:42 +00:00
Vadim Zeitlin
8e295ee217 fix bug with not updating the last line correctly when a group was deleted and recreated (bug 1685312) [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45558 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-21 15:10:56 +00:00
Vadim Zeitlin
0a3c4e03f4 even controls with transparent background should draw it if they have an explicitly set background colour, so handle this at wxWindowUniv level instead of adding hacks to individual controls, such as wxStaticText, to deal with this (replaces patch 1700004) [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45447 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-14 01:17:28 +00:00
Vadim Zeitlin
127e4f1caf fix wxTextCtrl::SetSelection(-1, -1) to behave as documented (patch 1700000) [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45445 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-13 23:41:59 +00:00
Vadim Zeitlin
c8c1e854b1 implement support for right-aligned/centered items owner-drawn items (patch 1699415) [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45444 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-13 23:38:28 +00:00
Vadim Zeitlin
d5d363321c don't return the next line text from GetLineText() for empty lines (patch 1697208) [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45362 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-09 21:19:59 +00:00
Václav Slavík
89b6915f14 added wxString::[w]char_str() to 2.8 for forward compatibility with wx3
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45213 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-02 12:25:40 +00:00
Vadim Zeitlin
5f814f27d9 don't handle orderly socket shutdown by the peer as an error (patch 1688222) [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45171 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-30 19:04:25 +00:00
Vadim Zeitlin
993ad8f9b4 don't call gtk_label_set_line_wrap() from DoGetBestSize() as this results in an infinite resizing loop when the control is inside a GTK+ widget doing its own layout (such as wxToolBar) [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45132 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-30 12:16:10 +00:00
Vadim Zeitlin
1059208429 fixed bug in wxThread::Wait() in console applications introduced in 2.8.3 (bug 1690777)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45114 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-29 17:28:21 +00:00
Vadim Zeitlin
9ce84d105d make wxNO_BORDER work with wxRadioBox (patch 1525406) [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45050 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-25 02:03:27 +00:00
Vadim Zeitlin
7a6043ae7c don't use TPM_RECURSE under NT4, it results in TrackPopupMenu() not showing the menu at all (bug 1663216) [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45039 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-23 16:23:12 +00:00
Vadim Zeitlin
c0459b5cfa correct the checked flag in the event generated by checkable menu items (fixes bug introduced in 1.143.2.1, patch 1685634)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45014 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-22 03:04:09 +00:00