Commit Graph

40251 Commits

Author SHA1 Message Date
Václav Slavík
19d59a461f the wxConvUI hack in wxMsgCatalog should only be done in ANSI build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51264 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-17 18:01:23 +00:00
Vadim Zeitlin
980abc9e64 don't write wide string to std::ostream which outputs them as pointer values
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51255 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-16 22:15:18 +00:00
Julian Smart
d1254299f1 Correction for cursor setting when moving out of a sash window (John Dallaway)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51249 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-16 13:50:23 +00:00
Vadim Zeitlin
3588d8d1c4 set mime-type to image/x-xpixmap and eol-style to native for all XPMs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51247 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-16 13:05:34 +00:00
Vadim Zeitlin
0593dff688 use more WXDLLIMPEXP_FWD declarations instead of WXDLLIMPEXP (patch from Tim Stahlhut)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51246 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-16 12:56:37 +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
e3726cf6c9 More split tree fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51209 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-14 15:56:48 +00:00
Stefan Csomor
1403931675 make matching code case-insensitive
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51201 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-13 18:07:01 +00:00
Vadim Zeitlin
8bb9ea69f1 fix bug introduced in wxRegion::DoUnionWithRect() in r41429 which broke refreshing/repainting in wxGTK1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51183 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-12 20:28:56 +00:00
Vadim Zeitlin
1c78eba4ff compilation fix for wxGTK1 after r49740 (GtkOnSize() there needs size parameters)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51182 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-12 19:52:08 +00:00
Stefan Csomor
7edab562a0 adding old 'pict' support to quartz mode for receiving bitmapobjs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51165 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-11 19:18:57 +00:00
Stefan Csomor
dc21f4bbb0 adding old 'pict' support to quartz mode for receiving bitmapobjs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51164 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-11 19:17:46 +00:00
Bryan Petty
8e9674bbd2 Backported wxRect::Intersect() documentation (patch 1868322 from Laurent Humbertclaude).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51163 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-11 18:38:20 +00:00
Julian Smart
fa0c928797 Fixes for split tree when using generic tree control
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51154 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-10 19:57:35 +00:00
Julian Smart
416a4f3cd9 Colour correction
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51138 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-09 20:39:02 +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
Julian Smart
51d48f09cf Don't ignore path when prompting for file in SaveAs()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51133 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-09 14:56:12 +00:00
Vadim Zeitlin
1faf469de3 test Clear() in the sample [backport of r51116 from trunk]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51132 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-09 14:43:15 +00:00
Stefan Csomor
75d8e044ec adding back support for font encoding in non-unicode builds
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51075 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-07 13:59:53 +00:00
Robert Roebling
462c155465 [ 1865141 ] wxNotebook::DeletePage can result in invalid page selection
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51074 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-07 13:04:19 +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
9214b97a17 don't unload libgnomevfs.so, this results in a crash on exit later so keep it loaded as a lesser evil (see Gentoo bug 203389)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51034 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-06 13:14:41 +00:00
Vadim Zeitlin
cf91c9b8c1 fix comparison of BYTE variable with -1 after last commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51030 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-06 00:27:41 +00:00
Vadim Zeitlin
9d39c3f3aa fix handling of OEM VKs in wxCharCodeWXToMSW() (patch 1810940)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51026 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-05 18:59:09 +00:00
Vadim Zeitlin
7f8344ab96 meaning of left/right keys should be inversed in RTL locale (patch 1863866)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51025 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-05 18:53:12 +00:00
Michael Wetherell
3306244cb4 Revert previous commit.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51009 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-03 17:11:45 +00:00
Paul Cornett
0fa6253bdf fix for last commit: didn't work if mask was white
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51003 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-03 06:58:11 +00:00
Paul Cornett
4142b4383b Fix wxCursor(wxImage&) ctor for image widths not a multiple of 8, and finding second-most frequent color.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51002 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-03 05:29:07 +00:00
Paul Cornett
87cc328112 backport: fix leak when creating wxCURSOR_BLANK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51000 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-03 03:50:25 +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
bf37d5c83e also scroll vertically if necessary in MoveToItem() when the control is in a non-report mode (based on patch 1857650)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50998 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-03 00:52:42 +00:00
Vadim Zeitlin
ec1cc2edad don't call LogLastRepeatIfNeeded() from dtor, it's too late to do it there anyhow; do call it from Flush() however (replaces patch 1857589)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50994 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-02 21:27:31 +00:00
Vadim Zeitlin
c476ef9b48 don't lock the gs_prevCS critical section recursively (replaces patch 1857581)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50993 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-02 21:18:15 +00:00
Vadim Zeitlin
cb3c7437d2 allow creating empty ZIP archives (patch 1861030)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50992 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-02 20:31:31 +00:00
Vadim Zeitlin
f748392d04 added wxS(); use it in a couple of places
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50987 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-02 16:31:38 +00:00
Vadim Zeitlin
43de9abf95 do VMS-specific X symbols redefinitions only once in wx/platform.h instead of doing it in individual files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50982 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-01 20:38:33 +00:00
Robin Dunn
c0e28504ec Ensure AutoComp items with no type will set the item's image index to -1.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50973 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-31 20:12:59 +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
Julian Smart
d596490f4b Reduction of includes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50950 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-30 16:11:12 +00:00
Julian Smart
cb6aa66cae Fixed pasting inefficiency
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50948 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-30 14:22:24 +00:00
Robin Dunn
9de26f99db It is possible for a scrolled window to get focus events from children other than
the target window's children (the wxGrid label windows for example) so don't
trigger an assert about it.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50935 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-28 17:57:55 +00:00
Mart Raudsepp
fb8c131d10 Workaround an assert that leads up to causing a crash on the next time anything tries to CaptureMouse
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50934 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-28 07:16:38 +00:00
Mart Raudsepp
f95d54fe64 Fix compilation of unicode debug builds, broken since rev50864
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50917 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-25 23:33:16 +00:00
Mart Raudsepp
ba333a53b0 Cherry-picked from trunk: Update some references of CVS to SVN, more remain that should be changed; update the daily makefiles link in winCE project file downloading instructions.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50916 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-25 23:01:48 +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
7d840762c6 fixed XRC handler for sizers to do the expected thing when putting controls into wxScrolledWindow: let them determine virtual size, not real size
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50880 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-21 22:50:35 +00:00
Václav Slavík
16fb9e58c1 fixed wxScrolledWindow best size calculation to not use current size in computation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50878 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-21 22:48:44 +00:00