Stefan Csomor
8595885403
one additional assign
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50207 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-24 09:36:56 +00:00
David Elliott
afc605b2be
Document the cfstring.h/cfstring.cpp as being used by all Darwin ports (it's
...
now part of the common base library).
Use the CFLocale-based code on all Darwin systems instead of testing
__WXOSX__ in base-library code which is NEVER appropriate.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50089 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-19 19:23:29 +00:00
Stefan Csomor
82bbd8907b
forward port from 2.8
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49780 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-09 20:29:28 +00:00
Václav Slavík
e17206f71b
wxMac compilation fixes for visibility (missing DLL export macros)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48061 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-13 22:06:26 +00:00
David Elliott
64dfdfa28b
Improve static_cfref_cast so that it can be used without causing an unnecessary retain/release in the case when one is only using the cast to convert to a more-derived raw CF ref type.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47384 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-12 20:03:20 +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
David Elliott
9ed8b5a7b2
Don't include <CoreFoundation/CFBase.h> because it in turn includes MacTypes.h which causes too much namespace pollution.
...
Instead, declare the CFTypeRef type and the CFRelease and CFRetain functions.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47226 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-07 22:10:02 +00:00
David Elliott
991dd5beb9
Add support for wxFONTENCODING_MACKEYBOARD.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47224 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-07 18:56:46 +00:00
David Elliott
e4dd1e19a2
Move wxMBConv_cf out of strconv.cpp and into strconv_cf.(cpp|h) by forking the files (svn copy) and removing the appropriate portions from each fork.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47208 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-07 02:56:40 +00:00
Václav Slavík
e0b3b9d044
take wxString, not wxChar* in wxStandardPaths::GetLocalizedResourcesDir
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46182 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-23 19:10:36 +00:00
David Elliott
6972616433
Make wxCFRef take a template raw pointer parameter instead of CFTypeRef to ensure it does not get called with a ref holder.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46000 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-12 19:30:09 +00:00
David Elliott
fd9cd37f66
Implement NULL-checking wxCFRetain/wxCFRelease as suggested by Stefan Csomor.
...
Use wxCFRetain/wxCFRelease in wxCFRef where needed.
Use .get() to access m_ptr of a different wxCFRef instantiation instead of making them friends.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45999 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-12 19:22:53 +00:00
David Elliott
b4e0eabd78
Added cfref.h containing wxCFRef templated CF ref holding class and related functions.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45998 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-12 18:55:58 +00:00
Stefan Csomor
e6893d5d28
cleaning up problems after string changes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45448 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-14 09:24:02 +00:00
Vadim Zeitlin
e6733873f5
multiple fixes to wxJoystick under Unix and new index-based API for accessing joystick buttons and axes (patch 1678497)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44843 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-16 00:51:43 +00:00
Vadim Zeitlin
e94e2d73e1
added default value for GetLocalizedResourcesDir() category parameter, as in the base class
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43771 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-03 18:53:23 +00:00
Robert Roebling
ac7ad70d4c
[ 1590221 ] wxStandardPaths::GetExecutablePath
...
Required for optimised stackwalker patch.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43340 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-12 12:58:10 +00:00
Włodzimierz Skiba
1b88201ff5
Headers cleaning.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42077 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-17 14:44:52 +00:00
Vadim Zeitlin
d3c7fc996a
mark all dtors which are virtual because base class dtor is virtual explicitly virtual themselves
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41020 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-05 20:47:48 +00:00
Vadim Zeitlin
a8d69700fc
add default value for the encoding parameter of wxMacCFStringHolder() instead of passing wxLocale::GetSystemEncoding() which doesn't work when wxUSE_INTL == 0 to it in many places (replaces 2nd part of patch 1501724)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40283 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-24 18:01:39 +00:00
Stefan Csomor
dfd468aafd
moving UniChar code to one place
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39893 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-29 17:23:37 +00:00
Paul Cornett
dd0d56f5c7
remove unneeded includes from mac/carbon/private.h
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39244 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-20 05:47:39 +00:00
Vadim Zeitlin
17af82fb4c
added wxStandardPaths::GetDocumentsDir() (patch 1214360)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38777 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-17 01:12:04 +00:00
Stefan Csomor
32efab35c1
applying patch 1411230
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38620 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-08 11:43:13 +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
Włodzimierz Skiba
78fc4e5509
Line-up interfaces to use size_t for GetCount()s.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38018 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-12 13:08:24 +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
Stefan Csomor
ce0d1032d1
applying patch 1345435
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36060 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-02 15:22:39 +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
Ryan Norton
ac7f7b51da
my cvs dir got screwed up and didn't commit this...
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33811 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-21 23:35:02 +00:00
Ryan Norton
2a32f1733d
revert some stuff for 1.6
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33738 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-18 22:51:52 +00:00
Ryan Norton
dd9b4b7f11
Some corefoundation wrappers, Implement Associate and Unassociate for mac mime types
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33732 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-18 21:23:11 +00:00
Ryan Norton
65442ab650
Finalize wxJoystick on mac. Note change. Pretty up joystick sample a bit. Don't logsyserror when wxSound can't find a file - its annoying.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32045 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-14 20:12:11 +00:00
Ryan Norton
4cb1d3daa2
Move HID stuff into both OSX builds. Add preliminary joystick for OSX
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32030 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-14 09:38:42 +00:00
Stefan Csomor
69ea41a788
cleanup
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32028 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-14 05:51:52 +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
726b98e9a1
Added wxStandardPaths for wxMac and wxCocoa.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30174 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-29 21:38:33 +00:00
David Elliott
5185263fc5
Moved wxCFStringHolder and some other string functions to their own files.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30169 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-29 18:29:35 +00:00