Commit Graph

82 Commits

Author SHA1 Message Date
Vadim Zeitlin
9a83f86094 Globally replace _T() with wxT().
Standardize on using a single macro across all wxWidgets sources and solve the name clash with Sun CC standard headers (see #10660).

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61508 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-23 20:30:22 +00:00
Vadim Zeitlin
9611b7975f use WXSIZEOF(x) instead of sizeof(x)/sizeof(x[0]) (closes #10701)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61296 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-02 22:43:31 +00:00
Vadim Zeitlin
ca910e1a13 fix more wxOSX/Carbon warnings in release build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61165 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-22 18:36:19 +00:00
Stefan Csomor
9581362b15 make sure theme font info is reset if anything is changed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61148 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-20 23:10:10 +00:00
Vadim Zeitlin
c22ace4dff fix a couple of harmless warnings during wxOSX build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61124 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-18 22:54:21 +00:00
Stefan Csomor
2ff0354a3a fixing param
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60252 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-20 04:47:14 +00:00
Stefan Csomor
c443ff6f53 fixing native font info support bugs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60150 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-14 19:58:51 +00:00
Stefan Csomor
b4ff8b3e4e adding iphone code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59924 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-29 20:48:05 +00:00
Stefan Csomor
aa6208d975 conforming to new naming convention of starting all port specific methods with the port prefix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59804 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-24 07:56:17 +00:00
Stefan Csomor
6f283573af adding back API for 2.8 compatibility
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59801 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-24 06:58:43 +00:00
Stefan Csomor
de0d209531 fixing warning in osx core and carbon
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59777 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-23 15:24:04 +00:00
Stefan Csomor
beb2638a99 simpler define handling
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59720 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-22 09:49:28 +00:00
Stefan Csomor
9445de1e4f make sure we always have a CGFontRef
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59661 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-20 20:23:28 +00:00
Stefan Csomor
9a672c75fb introducing temporary variables for atsu with cocoa
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59657 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-20 19:23:16 +00:00
Stefan Csomor
f1c40652a0 reworked font handling for osx
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59644 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-20 13:56:57 +00:00
Stefan Csomor
4dd9fdf827 reworking event handling to redirect to c++ virtual functions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58704 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-07 13:25:58 +00:00
Stefan Csomor
4abb374e4d make sure that code is always available when compiling for 10.4, whatever flavour
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58064 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-13 04:54:21 +00:00
Francesco Montorsi
394fd6e2f2 build fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56669 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-03 18:50:41 +00:00
Francesco Montorsi
1fdb23edd6 build fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56667 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-03 18:15:03 +00:00
Francesco Montorsi
0c14b6c324 fix the incoherence pointed out by ifacecheck between wx docs, that documents usage of the wxFontFamily, wxFontStyle and wxFontWeight enums in wxFont setters and getters, and the actual sources, which use 'int' instead; provided the same backward-compatibility pattern already used for wxBrush,wxPen both against 'int' overloads and against the wxDeprecatedGUIConstants enum values
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56664 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-03 17:02:25 +00:00
Vadim Zeitlin
5c33522fca replace wx_{const,static,reinterpret}_cast with their standard C++ equivalents
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56644 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-02 02:39:52 +00:00
Robin Dunn
e6ba38871f Unicode-related compile fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55845 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-24 23:44:34 +00:00
Stefan Csomor
01548e7c02 CoreText fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55574 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-12 18:36:08 +00:00
Stefan Csomor
29e32b7f9e 10.4 support for osx-cocoa
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55517 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-07 20:10:32 +00:00
Stefan Csomor
36eca86160 several small fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55500 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-06 16:33:18 +00:00
Stefan Csomor
524c47aa3a osx new layout
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55419 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-02 16:53:23 +00:00
Stefan Csomor
292e5e1f17 OSX renaming round 2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54845 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-30 14:52:41 +00:00
Stefan Csomor
b2680ced12 osx regrouping
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54820 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-29 20:04:11 +00:00
Stefan Csomor
92b6654b66 use default fonts that have also bold and italic variants present on the system (CoreText does not synthesize font variants) fixes #4751
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54384 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-27 15:27:21 +00:00
Stefan Csomor
cde80c9284 was incorrectly forcing the font to 12 in most cases, fixes #4745
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54379 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-27 09:50:08 +00:00
Stefan Csomor
1f0c8f31f4 fixing file paths after renaming
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54129 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-11 19:30:52 +00:00
Stefan Csomor
489468feaa renaming
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54119 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-11 16:46:03 +00:00