Commit Graph

187 Commits

Author SHA1 Message Date
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
c0badb709a Include wx/timer.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39285 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-23 11:04:37 +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
Włodzimierz Skiba
66d84d1130 Build and run ::wxGetUserName() silently with unusual configs.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36233 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-23 12:04:42 +00:00
Włodzimierz Skiba
86f6a6d19d Safe wxStrncpy usage.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36225 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-22 11:57:55 +00:00
Włodzimierz Skiba
119f7bb745 wxGetUserName for WinCE.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36221 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-22 09:20:41 +00:00
Włodzimierz Skiba
32c0c61cbd Missing wxUSE_* markup.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34886 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-18 16:58:18 +00:00
Włodzimierz Skiba
78a054f667 Code simplification and warning fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34882 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-18 13:43:42 +00:00
Włodzimierz Skiba
7bea7b9148 Helpers in disabling warnings for unused params.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34790 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-30 15:31:20 +00:00
Vadim Zeitlin
a45fb5b44c fixed problem with wxKill(SIGNONE) returning error for running process
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34685 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-16 23:48:50 +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
Vadim Zeitlin
4c5da5e42d added wxGetWinVersion()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34571 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-07 13:29:43 +00:00
Julian Smart
3103e8a97e Typo correction patch [ 1208110 ] Lots of typo corrections
Olly Betts


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34436 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-31 09:20:43 +00:00
Julian Smart
106d80ad37 Applied patch [ 1195797 ] Fixes to compile on Win64
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34241 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-22 12:10:55 +00:00
Julian Smart
90805c24d7 WinCE fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34049 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-13 12:15:04 +00:00
Robert Roebling
a50ca84319 Commit fix for EUC_JP encoding under Windows.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33978 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-07 11:51:17 +00:00
Ryan Norton
f6afe7fdf1 Fix warning on CYGWIN for sockets
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33552 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-12 17:18:13 +00:00
Julian Smart
0367d3391c \ is a reasonable home directory on WinCE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33268 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-02 17:22:22 +00:00
David Elliott
267e11c550 Use wxFontMapperBase::Get instead of wxFontMapper::Get from wxBase code.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33068 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-26 06:51:56 +00:00
Włodzimierz Skiba
27b2dd53f6 Fixed strange situation when we had wxPathExists and wxDirExists with the same finctionality. Using wxPathExists instead wxFileExists (fixes bug #865628). Minor source cleaning.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32862 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-17 17:46:32 +00:00
Julian Smart
7acf6a921e Small fixes for compiling Cygwin (with --disable-sockets)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32860 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-17 12:43:15 +00:00
Julian Smart
1f867767ac Correct compilo for non-WinCE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32859 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-17 09:54:20 +00:00
Julian Smart
c75d190a0a Added wxWINDOWS_POCKETPC, wxWINDOWS_SMARTPHONE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32849 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-16 10:18:13 +00:00
Vadim Zeitlin
040e5f77e6 harmless warning fixes for WinCE (mostly unused parameters)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32640 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-07 19:50:06 +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
Włodzimierz Skiba
04a18b0d95 MinGW warning fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31467 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-18 20:13:00 +00:00
Włodzimierz Skiba
23ee4b4874 wxWinCE fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31443 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-18 10:10:23 +00:00
Vadim Zeitlin
c50a4038e3 implemented wxIsDebuggerRunning() for Win32
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31296 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-08 17:44:46 +00:00
Robert Roebling
fa78de8249 Added test to fontencoding -> codepage conversion
which should test if the codepage is actually
    installed on that version of Windows. Will do
    more testing.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31268 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-06 19:15:46 +00:00
Włodzimierz Skiba
525665dfe7 Warning fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31244 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-05 18:30:10 +00:00
Robert Roebling
b169661f86 Commit wxFontEncoding -> MS codepage conversion code
based on MSDN's docs instead of the round trip through
   character sets.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31236 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-04 22:22:23 +00:00
Włodzimierz Skiba
2b7295c904 GetFreeSpace is here since 1993 and returns crazy values. Let's have win64/win32 cases only.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31154 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-27 20:17:44 +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
Julian Smart
b4367c87f1 Simplification
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30861 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-05 17:02:17 +00:00
Julian Smart
ade0e73d18 Further Wince fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30858 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-05 14:11:35 +00:00
Julian Smart
885b88a257 Unicode/WinCE corrections
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30856 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-05 13:36:44 +00:00
Julian Smart
e0f6b731a8 Added flags argument to wxKill and wxProcess::Kill to allow it to
kill child processes.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30855 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-05 12:53:25 +00:00
Vadim Zeitlin
db1d019338 better (more precise) values for wxGetOsDescription() (patch 1047539)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30432 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-10 22:08:37 +00:00
Vadim Zeitlin
77d8d6cd64 added wxGetFullModuleName(); use it instead of calling ::GetModuleFileName() directly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29441 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-27 10:58:32 +00:00
Václav Slavík
7eb872f4d6 partially reverted Robert's changes, did it more cleanly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29426 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-26 23:08:01 +00:00
Robert Roebling
45f410f227 Moved function from mslu to utils to make the
linker not complain about double symbols.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29422 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-26 20:01:35 +00:00
Włodzimierz Skiba
27d2dbbcca Source cleaning: -1/wxID_ANY/wxDefaultCoord, ::, !!/!IsEmpty(), TRUE/true. FALSE/false, tabs, whitespaces.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29038 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-07 11:11:05 +00:00
Włodzimierz Skiba
7010702f63 WinCE fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28325 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-20 11:11:46 +00:00
Vadim Zeitlin
08873d362b added wxMilli/MicroSleep(), deprecated wxUsleep()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28135 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-01 12:15:00 +00:00
Julian Smart
e7d9c39867 Reverted config/resource name change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27454 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-26 10:49:43 +00:00
Julian Smart
655719367a Use old licence name
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27408 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-23 20:53:33 +00:00
Julian Smart
77ffb5937e Name and version changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27404 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-23 14:56:36 +00:00
Vadim Zeitlin
3a5bcc4db0 removed Win16 code (patch 905241), last version with remains of Win16 support tagged with BEFORE_WIN16_REMOVAL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26423 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-28 13:10:14 +00:00
Vadim Zeitlin
7b28e0ede4 don't give error messages if ws2_32.dll is not available in wxGetHostName()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25577 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-07 19:25:05 +00:00
Vadim Zeitlin
2dc357ea28 expand the value of HOME env var in wxGetHomeDir() because it may contain env vars inside it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24568 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-15 15:42:40 +00:00