Commit Graph

22105 Commits

Author SHA1 Message Date
Julian Smart
b97ff943c6 Image objects should load and save attributes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51371 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-25 12:10:56 +00:00
Julian Smart
c6f158dfbb Update caret in SetInsertionPoint
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51364 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-24 22:43:22 +00:00
Julian Smart
7885636055 Style removal fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51363 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-24 22:23:08 +00:00
Paul Cornett
9bcce52d3f don't clear m_items before deleting m_menu (partial backport of r49263)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51361 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-24 18:12:55 +00:00
Paul Cornett
0913baedc3 fix memory leak when wxMenu is used as a popup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51360 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-24 17:59:11 +00:00
Julian Smart
d06f01b7a2 Optimization correction
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51358 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-24 17:28:41 +00:00
Vadim Zeitlin
d05fe24689 fix assert when calling ExpandAll() on hidden root item (bug 1768282)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51356 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-24 11:23:30 +00:00
Stefan Csomor
27aa92bfa0 fixing 1877182
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51336 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-22 13:59:45 +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
Václav Slavík
8439c5e20e C++ files are not executable
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51312 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-21 16:30:13 +00:00
Stefan Neis
0ed66b8299 Applied patch #1875242 - fixing more bugs related to using OS/2's DevQueryCaps
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51287 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-19 14:10:36 +00:00
Vadim Zeitlin
479ba6e11e use bgcolor when restoring styles as this is what we write, not backgroundcolor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51283 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-19 03:42:05 +00:00
Vadim Zeitlin
87c5dec670 skip focus events after handling them in wxTextCtrl, otherwise they never reach wxApp (bug 1875046)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51282 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-19 03:35:47 +00:00
Stefan Neis
e5a898b54d Fixed errors in OS/2's wxDC::SetMapMode (patch #1871556, needed for Filezilla).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51280 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-18 21:38:26 +00:00
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
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
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
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
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
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
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
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
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
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