Commit Graph

240 Commits

Author SHA1 Message Date
Stefan Csomor
1b5dbd344a cleanup mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50004 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-16 21:00:08 +00:00
Vadim Zeitlin
8d22935dcb unused parameter warning fixes for --disable-all-features build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49829 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-11 12:55:43 +00:00
Julian Smart
52af3158e9 Menu label consistency changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48023 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-11 17:54:59 +00:00
Vadim Zeitlin
e71bf8b256 don't use min() macro in wxQsort() which conflicts with the one from windows.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47746 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-27 13:51:34 +00:00
Vadim Zeitlin
11fe6505b8 deTABbed wxQsort()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47745 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-27 13:48:20 +00:00
Robert Roebling
fe5f448f43 Added wxQsort()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47696 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-24 09:26:51 +00:00
Julian Smart
f728025eae Added a new overload of wxDecToHex and used it in wxRichTextImageBlock::WriteHex
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46405 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-11 17:16:59 +00:00
Robert Roebling
d545f8030a Prepend file:// if the URI in wxLaunchDefaultBrowser()
has no scheme and the local file exists.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46122 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-19 12:38:34 +00:00
David Elliott
4263bab00e Provide wxLaunchDefaultBrowser implementation for wxCocoa.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45892 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-08 19:37:06 +00:00
David Elliott
c5f0d1f903 Move wxLaunchDefaultBrowser from BASE to CORE per wx-dev discussion.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45889 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-08 19:13:49 +00:00
Vadim Zeitlin
8bdc8a9c98 don't drop lines without trailing new line character in wxExecute() with capture
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45713 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-30 01:13:37 +00:00
Vadim Zeitlin
c2ca375c56 preparation for allowing to use wxTimer in wxBase (heavily modified patch 1113088):
1. Changed wxTimer to use wxTimerImpl
2. Added Unix-specific generic timer implementation
3. Added wxAppTraits::CreateTimerImpl()


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45544 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-20 01:29:16 +00:00
Vadim Zeitlin
b4a980f4f5 don't use obsolete functions (mostly copystring() and Count()), remove their documentation (patch 1697956)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45395 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-11 00:23:19 +00:00
Vadim Zeitlin
c1dc9f8394 removed WXWIN_COMPATIBILITY_2_4 from common and wxMSW files (patch 1675546)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44625 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-07 11:35:04 +00:00
Robert Roebling
17ede0b11d [ 1587059 ] wxLaunchDefaultBrowser fix for KDE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42712 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 11:46:44 +00:00
Václav Slavík
1b1b531857 compilation fix for !wxUSE_MIMETYPE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42709 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 11:25:36 +00:00
Vadim Zeitlin
6f6dd276a8 try http scheme if we can't find the default browser for the URL scheme (this is the case for file:// URLs for example) in wxLaunchDefaultBrowser()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42695 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 01:01:13 +00:00
Vadim Zeitlin
89d0cfc9f4 undid removal of implicit http: from wxLaunchDefaultBrowser() done in last revision as it's not supposed to work with local files by default (which should have file:// scheme (obviously)) but with URLs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42694 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 00:44:44 +00:00
Robert Roebling
889fda0c95 Launch the browser that is set in the gconf registry.
Don't blindly add "http://" to URL as this will not
    work with local file paths (obviously).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42591 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-28 21:57:24 +00:00
Stefan Csomor
fb743cab53 cleanup for 10.5
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42008 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-14 15:15:00 +00:00
Václav Slavík
22a35096a0 renamed wxRect::Inside() to wxRect::Contains(), wxRect::Inside(wxRect) is too confusing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41198 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-13 17:12:25 +00:00
Stefan Neis
8ab09e65f9 Fixed OS/2 specific defines (there's no such thing as WXOS2).
Added the more commonly used wxPORT_PM as alias for wxPORT_OS2.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40879 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-27 16:40:17 +00:00
Włodzimierz Skiba
a6e8c584db WinCE build fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40799 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-24 17:43:42 +00:00
Paul Cornett
216c354363 build fix: don't use compatibility names in wx code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40618 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-15 16:35:32 +00:00
Vadim Zeitlin
8bb6b2c057 wxPlatformInfo (patch 1532064)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40599 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-13 21:00:32 +00:00
Vadim Zeitlin
74639764d0 added possibility to strip only mnemonics, not accels, in wxStripMenuCodes(); added wxControl::GetLabelText()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40329 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-25 18:40:04 +00:00
Vadim Zeitlin
b21d68c68b explicitely include <shellapi.h>, apparently needed when wxUSE_GUI=0 and PCH are not used (patch 1501701)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39832 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-26 00:01:03 +00:00
Włodzimierz Skiba
9a6384ca1e Improvements for building minimal builds and new ports: wxUSE_* usage and minor cleaning.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39633 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-08 11:25:30 +00:00
Vadim Zeitlin
7aa7d2d407 oops, typo in last commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39410 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-29 00:01:30 +00:00
Vadim Zeitlin
622eb78696 don't offset the position for toplevel windows in wxFindWindowAtPoint() (patch 1491559)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39406 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-28 23:47:59 +00:00
Włodzimierz Skiba
76b49cf49b Include wx/frame.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39045 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-05 08:10:55 +00:00
Włodzimierz Skiba
6aa68c25a4 Build fix for SmartPhoneCE.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38953 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-30 00:04:37 +00:00
Julian Smart
4bfec1790f Changed the wxPlatform syntax as per Vadim's suggestions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38755 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-16 09:31:06 +00:00
Julian Smart
55d452c6f9 Typo correction
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38748 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-15 19:34:18 +00:00
Julian Smart
230c90774f Easier platform testing class and function
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38746 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-15 17:40:13 +00:00
David Surovell
13a1e96f92 improved LaunchDefaultBrowser on FreeBSD systems by using the BROWSER env var when no HTML file MIME mapping is found
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37199 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-28 18:06:09 +00:00
Włodzimierz Skiba
13ff248506 Watcom fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36901 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-16 20:10:17 +00:00
Julian Smart
f14d6dd133 Added caption parameter to wxGetFontFromUser and wxGetColourFromUser.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36623 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-02 14:26:36 +00:00
Włodzimierz Skiba
5ccb95f690 WinCE build fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36002 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-23 22:37:58 +00:00
Mattia Barbon
dee1a63ff5 Removed WXWIN_COMPATIBILITY_2_2 together with code guarded by it.
Changed default for WXWIN_COMPATIBILITY_2_4 to 0.
  Added WXWIN_COMPATIBILITY_2_6 (defaults to 1).
  Ran build/update-setup-h.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35858 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-09 15:48:42 +00:00
Włodzimierz Skiba
3452f00b56 MSWUniv build fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35726 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-26 13:37:07 +00:00
Michael Wetherell
588c80dea1 Ambiguous overload fix for gcc
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35677 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-25 13:02:27 +00:00
Vadim Zeitlin
42d0df0030 wxLaunchDefaultBrowser() now supports wxBROWSER_NEW_WINDOW flag (and it actually works correctly, too)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35669 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-24 23:56:34 +00:00
Vadim Zeitlin
7999124f55 fix wxExecute() return code checks and removed not working code to open URLs in new window
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35668 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-24 23:28:26 +00:00
Mart Raudsepp
8907154c1a Nuke #pragma implementation/interface's
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35650 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-23 12:56:45 +00:00
Włodzimierz Skiba
ae6c8147aa Code clarification.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35432 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-05 18:10:46 +00:00
Włodzimierz Skiba
8cc3b2e982 [1242443] wxUSE_UNICODE fix for wxLaunchDefaultBrowser.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34908 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-22 12:51:12 +00:00
Włodzimierz Skiba
532d575bd9 Allow MSW Base be usable in other ports than wxMSW (ie. wxTVision in windows console). Adjustements for limited setup.h (as in wxTV) and minor source cleaning.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34632 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-10 17:53:19 +00:00
Julian Smart
f8c10795d5 WinCE fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34248 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-22 14:07:32 +00:00
Julian Smart
fab79d4427 Applied patch [ 1202417 ] Make wxLaunchDefaultBrowser windows fallback work with wince
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34236 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-22 10:49:13 +00:00