Commit Graph

22487 Commits

Author SHA1 Message Date
Vadim Zeitlin
0babb5fa2a fix setting the initial value when it's not in the default 0..100 range [backport of r53550 from trunk]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54861 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-30 21:53:26 +00:00
Vadim Zeitlin
f7d2f0f9e7 optimize Replace() for the common case of replacing one character with another one (#9802)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54860 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-30 21:41:07 +00:00
Julian Smart
ef00e5367e Take on appropriate paragraph style in the newly created paragraph.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54810 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-29 13:22:50 +00:00
Paul Cornett
9c521e0003 build fix for wxMac with wxUSE_THREADS==0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54797 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-28 16:58:25 +00:00
Paul Cornett
b65ce02c69 fix Gtk-WARNING "... no property named `row-ending-details'" (#4809)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54792 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-28 05:49:04 +00:00
Vadim Zeitlin
23512f453f fix crash when reading malformed PCX images (#3836)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54766 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-22 20:16:03 +00:00
Stefan Csomor
2c02248f15 trying to fix dnd problems leopard refs #9748
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54764 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-22 15:41:53 +00:00
Stefan Csomor
cfb265f172 trying to fix dnd problems with the unicodetextcontrol under leopard refs #9748
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54763 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-22 14:53:24 +00:00
Václav Slavík
b2a8de5a15 Fixed detection of Meta key state so that NumLock isn't misdetected as Meta.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54758 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-21 22:09:22 +00:00
Vadim Zeitlin
f671cd5668 another compilation fix for wxDFB STL build (#9754)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54757 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-21 17:34:48 +00:00
Vadim Zeitlin
c712f3a701 compilation fix for wxDFB STL build (#9753)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54755 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-21 17:17:20 +00:00
Vadim Zeitlin
88ec1a0722 fix wxDFB compilation without wxUSE_LOG (#9752)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54754 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-21 17:14:32 +00:00
Vadim Zeitlin
95a695cd54 compilation fix for wxDFB STL build (#9751)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54750 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-21 17:05:14 +00:00
Vadim Zeitlin
b792497e3c add missing headers for wxDFB cross-build (#9770)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54748 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-21 17:01:35 +00:00
Vadim Zeitlin
51157e65e8 add missing trailing quote in a #warning (#9769)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54747 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-21 16:58:06 +00:00
Stefan Csomor
305a46fd55 fix for #9045
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54745 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-21 15:27:11 +00:00
Vadim Zeitlin
1b8cb9ac59 don't call gtk_selection_data_set_text() with non-UTF-8 data as we did in ANSI build (#2037)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54742 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-21 03:39:40 +00:00
Vadim Zeitlin
5b774e5249 fix generation of events for an initially empty wxDirPickerCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54732 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-20 22:48:34 +00:00
Vadim Zeitlin
f90b293de6 already escaped backslash shouldn't escape the following quote in ConvertStringToArgs()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54704 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-19 01:53:04 +00:00
Vadim Zeitlin
23c883b71a fix bug with wxCSConv("ASCII")
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54703 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-19 01:45:38 +00:00
Vadim Zeitlin
c64b101c34 backport fix for wxCSConv(wxFONTENCODING_SYSTEM) creation from trunk: use system encoding for DoCreate(), not name which is not handled correctly for ASCII case
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54701 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-19 01:34:36 +00:00
Vadim Zeitlin
55bef83fe0 return ISO8859-1 from wxLocale::GetSystemEncoding() for C locale, as in trunk, otherwise wxCSConv with default encoding doesn't work at all
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54700 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-19 00:32:57 +00:00
Vadim Zeitlin
2c6ca6f1fa mention compatibility implications of wxExecute() quoting changes; don't change quoting of already quoted arguments in 2.8 for compatibility; also fix handling of empty arguments as a side effect (see #4115)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54695 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-18 22:22:16 +00:00
Julian Smart
b71d96c5d4 Tab removal
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54690 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-18 12:55:14 +00:00
Paul Cornett
8ea3ec21dc fix masking of disabled bitmaps with some themes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54676 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-18 02:45:48 +00:00
Vadim Zeitlin
649aee2a92 implement wxCSConv::From/ToWChar() correctly for Latin-1 (#9739)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54666 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-17 19:43:08 +00:00
Vadim Zeitlin
71d4b88bdf allow using SetFont(wxNullFont) to reset the font as per documented behaviour (#3238)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54664 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-16 15:53:44 +00:00
Vadim Zeitlin
6cc415390f backport fixes for the fix for transparency in static bitmaps (r51824) from trunk (r54651 and r54652)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54653 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-16 01:54:58 +00:00
Julian Smart
c5c703efea Fixed wxTreebook tree control border style
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54645 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-15 21:29:10 +00:00
Vadim Zeitlin
f89a4c2df5 fix changing size of merged cells (#9736)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54638 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-15 14:36:28 +00:00
Vadim Zeitlin
ba4fb41424 fix heap corruption bug: use delete[] to delete a buffer allocated with new[], not delete
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54615 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-14 02:34:29 +00:00
Vadim Zeitlin
e95308c0ae set wxKeyEvent::m_uniChar correctly in the events generated by generic wxListCtrl (#4581)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54608 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-13 18:16:38 +00:00
Julian Smart
f8ae0bd260 Shift+Return now puts the cursor on the next line
Fixed GetContiguousPlainText bug that caused wrapping problem


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54597 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-13 12:11:36 +00:00
Robin Dunn
aae461d4ff If an item is hidden, don't check it for overflows.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54568 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-10 01:32:23 +00:00
Stefan Neis
1989629a23 Applied fix for wxGrid::ClearAttrCache (#9712).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54565 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-09 17:25:32 +00:00
Vadim Zeitlin
8827d7b444 unescape the value of wxHyperlinkCtrl label (#9683)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54563 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-09 14:02:19 +00:00
Vadim Zeitlin
ab6608cb9f update the year in wx information dialog (#9701)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54557 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-09 02:18:35 +00:00
Robin Dunn
01e2f8bbd1 Applied patch from Ticket #9563. Use just the rectangle of the widget with the focus when deciding if scrolling is needed, instead of the rect of the parent of the widget/child of the target window. This fixes some flickering when a panel of widgets is used inside the scrolled window, and also a total lack of scrolling if the focused widget is out of view but the upper-left corner of the panel is in view.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54553 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-09 01:38:08 +00:00
Vadim Zeitlin
5f492309e8 fix focus problems in picker controls under MSW which were due to not letting the system process kill focus for the text part of the control (#9687)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54520 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-06 23:57:23 +00:00
Stefan Neis
00687e20f5 Make AutoSizing in wxGrid's SetCol/RowSize work and use it from corresponding
AutoSize functions. This fixes #4107.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54513 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-06 16:29:58 +00:00
Vadim Zeitlin
e21c350472 avoid duplicated command events if a wxFrame-level handler called event.Skip() (#4757)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54510 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-06 14:04:15 +00:00
Stefan Neis
fc37284dfb Added missing include (#9625).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54496 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-05 18:25:33 +00:00
Stefan Neis
e96b728de9 Added missing include (depending on configuration, see #9622).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54491 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-05 17:38:58 +00:00
Stefan Csomor
dec0ad4bb9 changing condition to make sure we are not failing in case the min system is given as 10.3.9 ... solves #9693
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54486 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-04 14:23:38 +00:00
Vadim Zeitlin
6425e8747b support disabling items before adding them to the menu (#3423)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54478 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-03 15:42:18 +00:00
Vadim Zeitlin
84ef02fea0 don't ignore changes of empty string to 0 or vice versa in float grid cells (#2802)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54477 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-03 15:37:35 +00:00
Vadim Zeitlin
b69b11c40c quote the arguments containing spaces or quotes correctly in wxExecute(char **) overload (#4115)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54441 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-01 00:05:36 +00:00
Vadim Zeitlin
c3e7fde30f fix a hang up in wxExecute(wxArrayString& output) overload (#4380)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54439 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-30 23:37:56 +00:00
Vadim Zeitlin
11d4aa9d05 VC8 compilation fix after last change (#9665)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54435 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-30 13:35:51 +00:00
Julian Smart
c2bf832bee Further style preview fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54431 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-30 09:42:19 +00:00