Vadim Zeitlin
4f7d425f60
use correct WXDLLIMPEXP_FWD_XXX (patch from Tim Stahlhut)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50184 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-23 14:13:50 +00:00
Vadim Zeitlin
8cf304f81b
added public wxInfoMessageBox() (slightly modified patch 1828235)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50057 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-18 19:56:03 +00:00
Vadim Zeitlin
14d6351382
always return wxString from wxGetUserHome() instead of char */wxWCharBuffer depending on the build
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49064 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-06 12:38:15 +00:00
Vadim Zeitlin
a43bd048a3
fix unused parameter warning in wxSetEnv() in release build
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48604 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-07 23:39:22 +00:00
Vadim Zeitlin
01101e2da6
added support for 2 extra mouse buttons (patch 1757630)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47802 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-29 01:04:33 +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
Vadim Zeitlin
033bf67c3c
added missing WXDLLIMPEXP_CORE for wxGetDisplay() for wxGTK
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47259 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-09 13:18:32 +00:00
Václav Slavík
b5dbe15d0b
added WXDLLIMPEXP_FWD_FOO macros in addition to WXDLLIMPEXP_FOO for use with forward declarations (in preparation for GCC visibility support)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47254 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-09 10:09:52 +00:00
Václav Slavík
90a77e6484
make wxSetEnv compatible with ANSI and Unicode, deprecate passing NULL to it in favour of wxUnsetEnv()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46547 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-19 20:02:49 +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
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
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
dc2819335f
added #ifdef __X__ forgotten in last commit
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45489 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-15 23:21:56 +00:00
Vadim Zeitlin
e4e83f385a
added wxGetX11Display() returning the pointer of the correct type, unlike the old wxGetDisplay()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45485 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-15 22:54:36 +00:00
Václav Slavík
fee043161b
removed unneeded wxChar* cast, we already have wxString one
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45430 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-12 17:47:26 +00:00
Vadim Zeitlin
bc855d0932
added wxEXEC_BLOCK flag (patch 1620430)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45325 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-08 00:18:09 +00:00
Robin Dunn
cf63f3d3ae
More patches from FM to clean up after moving contribs. Also removes
...
use of wxUSE_RESOURCES
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45280 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-06 21:08:30 +00:00
Václav Slavík
f8087c0d2c
changed wxPlatform implicit conversion to string to return const reference to wxString instead of const wxString object
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44860 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-16 20:10:17 +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
Julian Smart
dc484d491b
Wine fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43347 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-12 15:39:12 +00:00
Vadim Zeitlin
90527a50d7
use (new) wxAcceleratorEntry::Create() instead of recently deprecated wxGetAccelFromString()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41013 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-04 23:56:56 +00:00
Robert Roebling
ee0a94cfc2
Commited FRM's stockitem patch (empty stock items).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40978 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-03 12:23:04 +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
Michael Wetherell
ddf6057454
Use bitfields to make wxMouseState smaller
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39743 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-15 14:16:10 +00:00
Vadim Zeitlin
355debca06
added wxPowerEvent; moved power functions stubs to common/powercmn.cpp
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39359 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-27 14:09:40 +00:00
Włodzimierz Skiba
25a9f2912d
Missing 'int' interface for wxPlatform.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39182 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-17 08:48:31 +00:00
Włodzimierz Skiba
e8ee8f2716
Helper for clipping to range.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39050 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-05 17:28:33 +00:00
Vadim Zeitlin
f516d98637
create stock GDI objects on demand; use const with GDI objects appropriately (patch 1445355)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38765 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-16 22:18:29 +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
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
Vadim Zeitlin
7ba7c4e62f
use wxDiskspaceSize_t which is long and not wxLongLong if wxUSE_LONGLONG==0 (part of patch 1203970)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37494 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-11 16:21:14 +00:00
Robin Dunn
7dd40b6f4b
Added wxGetMouseState which returns the current state of the mouse.
...
Returns an instance of a wxMouseState object that contains the current
position of the mouse pointer in screen coordinants, as well as
boolean values indicating the up/down status of the mouse buttons and
the modifier keys. Implemented for wxMSW, wxGTK and wxMac.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36691 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-05 04:31:27 +00:00
Vadim Zeitlin
9ad34f611f
implemented wxGetFreeMemory() under IRIX (patch 1360356); made wxMemorySize always 64 bit as it can overflow even in 32 bit builds otherwise
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36250 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-25 22:09:22 +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
550343399a
Source cleaning. wxMotif/OS2 adjustements.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35778 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-03 16:39:45 +00:00
Vadim Zeitlin
84006e65e8
removed wxABI_VERSION checks
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35690 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-25 20:23:30 +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
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
Michael Wetherell
968eb2ef39
Add import/export macros
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35052 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-02 18:16:51 +00:00
Michael Wetherell
c447205527
wxABI_VERSION >= 20601 for wxLaunchDefaultBrowser
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34879 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-18 11:17:03 +00:00
Michael Wetherell
0f8218d7ca
Add wxABI_VERSION > 20601 wrappers
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34878 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-17 13:00:11 +00:00
Ryan Norton
498a1eeb8d
Add wxLaunchDefaultBrowser, note wxGetKeyState change
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33802 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-21 20:13:44 +00:00
Włodzimierz Skiba
16cba29d3a
Warning fixes for MinGW.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31552 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-21 18:48:22 +00:00
Włodzimierz Skiba
8ea92b4d77
Simple wxBatteryPower API for the support in wxWinCE, wxPalmOS and any other mobile device with wxWidgets. Minor source cleaning.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31515 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-20 16:09:23 +00:00
Vadim Zeitlin
a76d8a2953
only declare wxHandleFatalExceptions() when wxUSE_ON_FATAL_EXCEPTION == 1
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31412 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-17 00:38:33 +00:00
Włodzimierz Skiba
eecb33b018
Old API deprecated. Use new and remove old usage where necessary.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31305 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-10 17:21:16 +00:00
Włodzimierz Skiba
ec157c8f95
Old API depreciated. Use of new API. Source cleaning.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31234 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-04 19:35:52 +00:00
Włodzimierz Skiba
9d8aca4832
Take best fitting type for available memory measurement.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31152 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-27 18:47:26 +00:00