Vadim Zeitlin
ca7aeeb7d2
reset fd after closing it
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39186 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-17 09:13:10 +00:00
Vadim Zeitlin
3af9f2de59
added wxStandardPaths::GetResourcesDir() and GetLocalizedResourcesDir()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38370 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-25 17:00:40 +00:00
Robert Roebling
2b850ae1a5
Rearrange code to make adding wxMimeTypesManagerFactory
...
at runtim possible.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38172 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-17 14:13:02 +00:00
Vadim Zeitlin
ef1717a963
wxDisplay cleanup/rewrite:
...
- wxDisplay is now a concrete class and uses a pImpl-based design
- got rid of four duplicate but subtly different versions of trivial
single display-only wxDisplay implementation (but 2 versions of Mac
Classic and Mac CoreGraphics implementations each still remain...)
- assorted code simplifications and memory leaks fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38127 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-16 04:23:07 +00:00
Mart Raudsepp
da9e956384
Make wxJoystick::GetNumberJoystick a static method, as the number of
...
joysticks attached to the computer is a global property, not one of the
specific instance. Patch from Lauri Nurmi.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36284 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-29 12:50:13 +00:00
Vadim Zeitlin
17a1ebd101
first round of Intel compiler warning fixes: down from a few thousands just to slightly more than 100
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35688 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-25 19:59:19 +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
Vadim Zeitlin
0d2c74c6ef
use WX_DEFINE_ARRAY_PTR for anarray of pointers (fixes Sun CC warning)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35489 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-13 15:58:50 +00:00
Michael Wetherell
20123d4958
Add import/export attributes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35055 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-02 22:58:06 +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
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
99d800190a
Added licence/copyright information
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33948 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-04 18:57:50 +00:00
Vadim Zeitlin
14bdf09396
Unicode compilation fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31501 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-19 20:13:49 +00:00
Vadim Zeitlin
eaff0f0d3f
implemented wxStackWalker for Unix (using glibc-specific methods); moved wxUSE_STACKWALKER to common setu_inc.h
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31474 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-19 01:15:12 +00:00
David Elliott
fc480dc16b
Moved wxStandardPathsCF into base library when using CarbonLib or Darwin.
...
Make wxStandardPathsBase::Get() return a wxStandardPathsBase reference.
Implement it using wxAppTraits::GetStandardPaths() which is overridden by
wxMac and wxCocoa GUI libraries to return a reference to a wxStandardPathsCF.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30506 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-12 21:21:00 +00:00
David Elliott
f7ef06022c
Fix wxExecute for ports other than wxMac and wxCocoa on Darwin
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30089 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-24 07:36:16 +00:00
Vadim Zeitlin
c320b3e32d
initial Unix implementation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30028 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-20 00:35:26 +00:00
Vadim Zeitlin
8a613d31a3
declaration (only, so far) for Unix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30007 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-19 18:51:17 +00:00
Ryan Norton
51678b5b76
wxCocoa link fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29722 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-08 00:08:33 +00:00
Vadim Zeitlin
5a9b59346b
wxExecuteData is a struct, not class (warning fix)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29409 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-26 16:28:51 +00:00
Jouk Jansen
ce07cd8a75
Committing in .
...
Changes to make compilations on OpenVMS work:
displayx11.h : one semicolon removed, since it is not needed
progdlgg.cpp : On some systems (like OpenVMS) unsigned types are realy
unsigned. So a comparison unsigned_var < 0 is always
false and causes unreacheable code, which is flagged
by the compiler. In this case a change from unsigned long
to long was more what was intended here.
Modified Files:
wxWidgets/include/wx/unix/displayx11.h
wxWidgets/src/generic/progdlgg.cpp
----------------------------------------------------------------------
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29253 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-22 06:29:21 +00:00
David Elliott
91a40e94b9
Remove some cruft
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28745 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-10 03:07:37 +00:00
David Elliott
948c96efa1
Use bool instead of int. Replace TRUE/FALSE with true/false.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28709 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-08 05:30:36 +00:00
David Elliott
d6d6a882d4
Get rid of inline C compatibility methods
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28683 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-06 22:30:51 +00:00
David Elliott
e27c99c750
Get rid of wxUSE_GSOCKET_CPLUSPLUS
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28680 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-06 20:56:47 +00:00
David Elliott
ba2a81d747
Revert original UNIX C->C++ conversion and instead make it work exactly
...
like the new MSW C++ GSocket.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28607 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-03 19:18:39 +00:00
David Elliott
b082b52407
Incorporated src/unix/gsocket.c 1.86 to 1.92 changes (except 1.90 to 1.91
...
which was applied by Vadim as 1.9 to 1.10 of src/unix/gsocket.cpp)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28515 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-27 02:15:32 +00:00
Vadim Zeitlin
f7aa747716
removed _GSocket::m_oriented
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28512 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-26 21:33:54 +00:00
Vadim Zeitlin
bb0926cc00
compilation fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28499 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-25 17:26:13 +00:00
Vadim Zeitlin
e4edebc096
removed Direction_Max from Direction enum for consistency with the MSW version
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27926 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-21 12:36:34 +00:00
Václav Slavík
ac258944bc
use shaped window for taskbar icon, so that background shows correctly behind icons with mask
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27505 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-29 17:01:57 +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
Robin Dunn
a800dc50d4
Fixes so joystick not only compiles on Linux, but it actually works too!
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27265 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-14 02:52:05 +00:00
Vadim Zeitlin
7fa4dc1cfc
(blind) fix for gcc 3.4 warning for an always true comparison in an assert
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27191 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-09 18:35:36 +00:00
Stefan Neis
b6db2e9107
C++ comments transformed to C comments.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26153 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-09 22:48:53 +00:00
Robert Roebling
6d7184953a
InitAsNeeded no longer inline in the header.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25808 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-15 00:32:45 +00:00
Václav Slavík
cad1a197e5
renamed wxWave to wxSound; compatibility fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25472 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-02 13:16:31 +00:00
Václav Slavík
83f7f12df2
API and code changes to allowing stopping playback
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25464 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-02 00:49:39 +00:00
Václav Slavík
9be32e8f2d
added support for async playback to Unix implementation of wxSound, implemented SDL backend for playback if OSS is not available, fixed OSS to work on non-Linux Unices
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25455 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-01 18:25:12 +00:00
David Elliott
1119a830a8
Move GSocketBSDGUIShim from source file to header (we'll need it in a second)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25235 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-18 20:17:29 +00:00
David Elliott
444cb1fdcb
Add virtual methods to GSocketBSD for calling the event loop handler
...
instead of the GUI event functions table. Also added a compatibility class
to gsocket.cpp until we can update all of the GUIs.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25234 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-18 19:34:16 +00:00
David Elliott
09e6e5ec02
Initial move from C to C++. The functionality of the code should not have
...
changed at all in this move from C to C++. To top that off there is a
define wxUSE_GSOCKET_CPLUSPLUS in include/wx/gsocket.h which turns off
all the new code in that file and also gsockunx.h.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25229 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-18 07:46:18 +00:00
Julian Smart
6213bde147
Cure link error under wxGTK on Mac
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25061 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-02 20:45:35 +00:00
Ryan Norton
e07d33e724
Added some placeholders...
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24800 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-13 03:53:08 +00:00
Václav Slavík
1202890513
added support for gcc precompiled headers
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22722 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-09 12:38:21 +00:00
Václav Slavík
38bb138f09
fixed wxBase and GUI separation for sockets code
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22668 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-07 12:26:17 +00:00
Václav Slavík
324899f6c5
return wxToolkitInfo by reference and not by pointer
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22492 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-02 15:39:26 +00:00
Václav Slavík
a8eaaeb237
replaced wxAppTraits::GetOSVersion with GetToolkitInfo with richer information that is needed by wxDynamicLibrary
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22491 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-02 15:14:17 +00:00
Václav Slavík
85f582bda7
wxJoystick and wxWave are now available in all Unix ports, the code was not GTK specific
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22485 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-02 13:50:49 +00:00