Vadim Zeitlin
5cb61fed97
some compilers don't like statics in inline functions, even if they're const -- replaced with an enum
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35289 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-23 23:12:48 +00:00
Vadim Zeitlin
84ae7ca4f6
check for missing statfs() prototype (happens at least under AIX 4)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35288 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-23 23:12:37 +00:00
Michael Wetherell
c5035065a8
Compilation fix for wxUSE_DRAG_AND_DROP=0
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35287 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-23 23:10:59 +00:00
Vadim Zeitlin
6ca1005bcb
removed attempts to link with unicows.lib using #pragmas for msvc, this doesn't work reliably
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35286 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-23 22:56:41 +00:00
Vadim Zeitlin
09f7f79f2d
removed wrong sentence about idle events being sent to TLWs only; explained why you would and wouldn't use RequestMore
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35285 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-23 21:37:38 +00:00
Włodzimierz Skiba
c54e5eb0f6
wxOS2/OW warning and build fixes.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35282 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-23 16:02:51 +00:00
Włodzimierz Skiba
5f4d35b804
wxOS2/OW warning and build fixes.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35281 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-23 15:54:39 +00:00
Włodzimierz Skiba
49fe461056
wxOS2/OW warning and build fixes.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35280 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-23 15:41:50 +00:00
Julian Smart
45aee08b3b
Don't try drawing the bitmap before it's valid
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35279 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-23 07:46:30 +00:00
Stefan Csomor
7adabb9ae8
cleanup and adding the case when the toplevel window itself is the recipient of the drag
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35278 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-23 07:43:41 +00:00
Stefan Csomor
0b6db82f16
adding a string for private data identification
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35277 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-23 07:37:13 +00:00
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