Commit Graph

30693 Commits

Author SHA1 Message Date
Mart Raudsepp
8a15e8ba7a [wxGTK2] Move wxFontRefData::SetPointSize to wxNativeFontInfo. Implement SetFaceName()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35276 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-23 00:03:27 +00:00
Mart Raudsepp
7533ba252b [wxGTK2] Move wxFontRefData::SetStyle/SetWeight to wxNativeFontInfo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35275 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-22 23:56:01 +00:00
Vadim Zeitlin
04e525a00d regenerated after #error changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35274 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-22 23:54:57 +00:00
Vadim Zeitlin
2b36af83fd compilation fix after last commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35273 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-22 23:43:08 +00:00
Mart Raudsepp
8c8c4b717a [wxGTK2] Don't query native font for underlined, but return the set value - storing it natively would likely require
the usage of a PangoAttribute, and I'm not sure if that's even different than just storing it inside wxFontRefData.
Not investigating further as PangoAttribute addition would require ABI compatibility breakage anyhow.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35272 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-22 23:27:39 +00:00
Mart Raudsepp
b67d14bee0 [wxGTK2] Do what we (I) can wrt the win32 centric wxNativeFontInfo::GetFamily
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35271 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-22 23:19:57 +00:00
Vadim Zeitlin
4a767dd5cd added test for snprintf() which may not be present in system headers, treat it similarly to vsnprintf() instead of assuming that it's always there
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35270 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-22 22:46:33 +00:00
Mart Raudsepp
5844fc0775 [wxX11] a ROMAN font is with serifs and a SWISS font is without. Set the font to "serif" if it's wxFONTFAMILY_ROMAN
not wxFONTFAMILY_SWISS.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35269 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-22 21:58:32 +00:00
Mart Raudsepp
38d446db26 [wxGTK2] Return wxTELETYPE with GetFamily() for monospaced fonts, fixing IsFixedWidth() after it broke completely
after get accessor changes, and returning the right thing in GetFamily() in this case. Other families TODO.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35268 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-22 20:42:03 +00:00
Mart Raudsepp
b578601e3e [wxGTK2] Plug memory leak in wxFontEnumerator::EnumerateFacenames()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35267 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-22 20:25:32 +00:00
Vadim Zeitlin
dd6abbacb9 don't use #error in configure test programs, some compilers (such as SGI mipsPro) treat it as a non-fatal warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35266 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-22 20:22:21 +00:00
Włodzimierz Skiba
1bc4db11b1 Warning fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35265 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-22 19:50:54 +00:00
Mattia Barbon
7398fb8170 Compilation fix for Motif 1.2.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35264 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-22 17:44:43 +00:00
Mart Raudsepp
02d9204cad [wxGTK2] wxFont::Get* - Query native font for information, if the wxFont has an associated wxNativeFontInfo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35263 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-22 17:22:44 +00:00
Vadim Zeitlin
59afc60f15 use quotes, not angle brackets, for wx headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35262 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-22 16:00:16 +00:00
Stefan Csomor
229f627030 remove the carbon event handlers just before calling DisposeControl to avoid callbacks into zombie windows...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35261 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-22 15:12:02 +00:00
Włodzimierz Skiba
83498ef2b0 Empty string corrections.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35260 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-22 15:00:07 +00:00
Włodzimierz Skiba
790fc140a9 Compensation for bkl 0.1.9.X/eVC4/RTTI bug.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35259 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-22 14:54:41 +00:00
Stefan Csomor
525ae3fe38 respecting DoDragDrop flags like CopyOnly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35258 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-22 14:53:35 +00:00
Stefan Csomor
6db6bfd1ce correcting DropData behaviour so that preferred format is handled correctly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35257 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-22 09:52:04 +00:00
Stefan Csomor
6ac23e25b8 correcting Drag Data handling for 'TEXT' and 'utxt'
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35256 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-22 08:49:38 +00:00
Stefan Csomor
671478ee46 adapting text object data handling along the GTK2 lines
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35255 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-22 08:46:08 +00:00
Vadim Zeitlin
0ccaeba319 regenerated after undoing recent HP-UX changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35254 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-21 19:01:02 +00:00
Vadim Zeitlin
d24a5079c5 don't use -threads with gcc under HP-UX, it's for DCE threads and not pthreads (reverts recent commit)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35253 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-21 18:59:05 +00:00
Vadim Zeitlin
7eb00c80b2 moved __STDC_EXT__ definition for HP-UX from configure to wx/platform.h, like this we can do it only if it's not alraedy defined by the compiler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35252 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-21 18:57:08 +00:00
Mattia Barbon
62603868bc Regenerated PO files.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35251 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-21 16:02:15 +00:00
Mattia Barbon
aeb9a15618 Made wxMotif wxFileDialog translatable.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35250 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-21 15:27:40 +00:00
Vadim Zeitlin
9240613a8d fix handling of partially-specified min size
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35249 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-21 11:14:20 +00:00
Vadim Zeitlin
20bfc1c29f fill in OS info in GetToolkitInfo() (patch 1256409)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35248 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-20 15:49:12 +00:00
Vadim Zeitlin
5bd98e9354 add information for Palm/CE ports (patch 1256409)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35247 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-20 15:47:13 +00:00
Vadim Zeitlin
47bd540624 last commit accidentally used out of date aclocal.m4 and so overwrote some previous changes, corrected
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35246 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-20 15:38:19 +00:00
Vadim Zeitlin
efdf6afeb2 regenerated after HP-UX fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35245 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-20 15:33:03 +00:00
Vadim Zeitlin
b5887a837d vsnprintf() tests correction: check that declaration is const-correct; merged the Metrowerks test with the one for the other compilers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35244 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-20 15:20:16 +00:00
Vadim Zeitlin
d66943923d use -threads with gcc under HP-UX instead of -pthread
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35243 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-20 15:12:24 +00:00
Vadim Zeitlin
be30c667ed only define __STDC_EXT__ in CXXFLAGS for gcc under HP-UX, it's already present in CFLAGS by default
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35242 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-20 15:10:12 +00:00
Vadim Zeitlin
472e73db81 don't forget to modify include/msvc/wx/setup.h and include/wx/msw/chkconf.h when adding a new library
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35240 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-19 17:32:07 +00:00
Vadim Zeitlin
14a3591de2 added wxmsw26_media library
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35239 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-19 17:29:51 +00:00
Vadim Zeitlin
3c232ecbaf link unicows.lib implicitely when using MSVC and wxUSE_UNICODE_MSLU==1 (thi is used in DLL wx builds)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35238 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-19 17:23:23 +00:00
Vadim Zeitlin
9eeab5fa9d link unicows.lib automatically (and in correct order) if wxUSE_UNICODE_MSLU==1 (this is for the application and is mainly needed when using static wx libs)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35237 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-19 17:15:44 +00:00
Vadim Zeitlin
6f2df739f4 check whether unicows.dll works correctly instead of just crashing if we linked it in wrong order (i.e. not before wx libs)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35236 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-19 17:10:24 +00:00
Vadim Zeitlin
69c54afe21 check for unicows.dll on program starup when wxUSE_UNICODE_MSLU==1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35235 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-19 16:47:25 +00:00
Stefan Csomor
5e8c9935fd workaround because regions that were built up, were sometimes being drawn on the screen as well...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35234 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-19 16:29:09 +00:00
Michael Wetherell
f2555abd7a Fix uses of wxUSE_METAFILE, patch 1262723 Paul Cornett
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35233 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-19 13:48:24 +00:00
Michael Wetherell
938ad7687f Document the current behaviour of OnDestroy
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35232 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-19 13:45:11 +00:00
Michael Wetherell
eb76ad0b3b Remove duplicate code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35231 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-19 13:24:38 +00:00
Mattia Barbon
6ace5176f6 Use default GUI font for wxMessageDialog and wxFileDialog.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35229 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-19 10:00:23 +00:00
Jouk Jansen
cb542c35fa Committing in .
Some updates for OpenVMS compile support

 Modified Files:
 	wxWidgets/setup.h_vms wxWidgets/src/motif/gauge.cpp
 	wxWidgets/src/motif/xmcombo/xmcombo.c
 ----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35228 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-19 08:14:05 +00:00
Stefan Csomor
92b6cd6289 avoiding recursive KillEvents on the same object, in case the focus gets set to another element in the OnKillEvent Handler ...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35227 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-19 06:46:30 +00:00
Vadim Zeitlin
a351409ef2 compilation fix for wxUnivGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35226 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-18 22:16:52 +00:00
Vadim Zeitlin
81e2cbc685 fixed (harmless) unused variable warning in release build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35225 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-18 21:10:24 +00:00