Commit Graph

40286 Commits

Author SHA1 Message Date
Julian Smart
8b2a6dfc24 Added a reset-buffer event to give an opportunity to set the default initial style
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51493 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-01 14:13:51 +00:00
David Elliott
7e27b3c853 Allow wxTopLevelWindowCocoa::SetDefaultItem(NULL)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51476 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-31 19:17:42 +00:00
Vadim Zeitlin
2902ec6116 return the result of ProcessEvent() from ProcessCommand() instead of always returning true unconditionally
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51463 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-30 21:31:03 +00:00
Julian Smart
349556aba5 Added checks to encoding conversion to avoid crash
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51457 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-30 17:02:53 +00:00
Vadim Zeitlin
24ca0acd57 corrected comment: wxSingleInstance is not for Win32 only since about 10 years
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51451 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-29 23:11:55 +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
Julian Smart
8012cfb11f Fixed global cursor setting on Mac, which fixes busy cursor and context help cursor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51437 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-29 11:01:27 +00:00
Julian Smart
fbd42050d5 Take basic style into account when applying style sheet
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51415 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-27 17:58:43 +00:00
Julian Smart
a5e384ca8d Take basic style into account when showing style under cursor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51413 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-27 17:34:36 +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
da79097cbe only define wxEventPtr in wxBase, not wxCore
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51404 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-27 12:57:04 +00:00
Vadim Zeitlin
38d05c1011 don't fail in wxTransferStreamToFile if file size is exact multiple of 4KB (bug 1835918)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51392 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-26 23:23:09 +00:00
Vadim Zeitlin
29f1f4864e delete the event object in ProcessPendingEvents() even if the handler throws an exception (bug 1836010)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51391 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-26 23:18:30 +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
Julian Smart
1ca0f7a249 Corrected image saving to HTML
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51375 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-25 16:38:18 +00:00
Julian Smart
52bd35f359 HTML output corrections
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51373 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-25 15:02:44 +00:00
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
123cc0e9d7 Fixed a bug in HasAlignment
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51368 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-25 09:16:01 +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
Julian Smart
4d6022b2c6 ABI compatibility
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51347 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-23 13:03:22 +00:00
Julian Smart
00ba76f198 Splittree header commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51339 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-23 07:29:48 +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
Julian Smart
8bd0636fca Added event handler macro
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51326 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-22 08:23:44 +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
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