]>
git.saurik.com Git - wxWidgets.git/log
Chris Elliott [Mon, 29 Aug 2005 15:46:55 +0000 (15:46 +0000)]
fix as discuused on wxdev for bc54
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35366
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Mon, 29 Aug 2005 14:09:51 +0000 (14:09 +0000)]
another (blind) compilation fix for Borland after last commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35365
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Mon, 29 Aug 2005 13:59:39 +0000 (13:59 +0000)]
compilation fix; unTABbed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35364
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Mon, 29 Aug 2005 13:48:56 +0000 (13:48 +0000)]
(blind) compilation fix for Borland after last commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35363
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Mon, 29 Aug 2005 10:32:02 +0000 (10:32 +0000)]
update from Martin Srebotnjak
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35362
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Mart Raudsepp [Mon, 29 Aug 2005 04:33:15 +0000 (04:33 +0000)]
[wxGTK2] Runtime check for pango_font_family_is_monospace in wxFontEnumerator (gtk2.4 runtime check) to allow wxGTK2
applications compiled against gtk2.4 or newer to work with gtk2.2 or older runtime.
Removed HAVE_PANGO_FONT_FAMILY_IS_MONOSPACE configure check in case of wxGTK2, as __WXGTK24__ is now used for that.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35361
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Michael Wetherell [Mon, 29 Aug 2005 01:59:36 +0000 (01:59 +0000)]
Compilation fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35360
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Mon, 29 Aug 2005 01:31:22 +0000 (01:31 +0000)]
regenerated after libcairo filtering out changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35359
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Mart Raudsepp [Mon, 29 Aug 2005 01:18:07 +0000 (01:18 +0000)]
[wxGTK2] Runtime check for pango_font_family_is_monospace in wxFont::GetFamily (gtk2.4 runtime check) to allow wxGTK2
applications compiled against gtk2.4 or newer to work with gtk2.2 or older runtime. wxFontEnumerator TODO
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35358
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Mart Raudsepp [Sun, 28 Aug 2005 23:46:20 +0000 (23:46 +0000)]
gtk+-2.x runtime compatibility when compile-time gtk+ version is 2.7+
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35357
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 28 Aug 2005 16:38:55 +0000 (16:38 +0000)]
use #ifdef and not #if (fixes -Wundef warnings reported in bug
1273111 )
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35355
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 28 Aug 2005 16:33:18 +0000 (16:33 +0000)]
fixed cursor flicker (patch
1254492 by Hans P. Palbol)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35353
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 28 Aug 2005 16:25:43 +0000 (16:25 +0000)]
spelling fixes and other minor corrections to the docs (patch
1273930 by Andreas Mohr)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35352
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 28 Aug 2005 16:21:36 +0000 (16:21 +0000)]
fixed status bar positioning to work both with and without sizers (patch
1199639 by Jamie Gadd)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35351
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 28 Aug 2005 16:19:45 +0000 (16:19 +0000)]
added IsSizeDeferred() (part of patch
1199639 )
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35350
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 28 Aug 2005 15:46:28 +0000 (15:46 +0000)]
fixed label case so that the link works (patch
1263943 )
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35349
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 28 Aug 2005 15:44:15 +0000 (15:44 +0000)]
fixed bug in wxStreamBuffer::Read(wxStreamBuffer *) and improved its documentation (patch
1273774 by Paul Cornett)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35348
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 28 Aug 2005 15:37:54 +0000 (15:37 +0000)]
fixed wxRegionRefData copy ctor (patch
1274403 )
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35347
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 28 Aug 2005 14:36:46 +0000 (14:36 +0000)]
dirty hack to fix deprecation warning when building wxMotif
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35346
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 28 Aug 2005 13:34:48 +0000 (13:34 +0000)]
added test file loaded by the sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35345
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 28 Aug 2005 13:33:57 +0000 (13:33 +0000)]
ignore sample-created XPM
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35344
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 28 Aug 2005 13:33:31 +0000 (13:33 +0000)]
added wxChoice:: and wxCombobox::GetCurrentSelection()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35343
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 28 Aug 2005 13:31:20 +0000 (13:31 +0000)]
added wxDateTime::[Make]FromTimezone
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35342
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 28 Aug 2005 13:27:33 +0000 (13:27 +0000)]
test centering file dialog
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35341
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 28 Aug 2005 13:27:08 +0000 (13:27 +0000)]
set or unset column image on column click
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35340
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 28 Aug 2005 13:26:04 +0000 (13:26 +0000)]
ignore dummy.txt used by the sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35339
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 28 Aug 2005 13:17:29 +0000 (13:17 +0000)]
modified GetLastMenuItem() to also take into account the popup menu items
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35338
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 28 Aug 2005 13:12:50 +0000 (13:12 +0000)]
let ctags know about (and ignore) WXDLLIMPEXP_BASE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35337
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 28 Aug 2005 13:11:18 +0000 (13:11 +0000)]
corrected #ifdefs testing wxUSE_UNICODE_MSLU
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35336
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 28 Aug 2005 13:07:35 +0000 (13:07 +0000)]
ignore evc libs directories
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35335
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 28 Aug 2005 13:06:36 +0000 (13:06 +0000)]
Fixed several bugs in wxDateTime timezone handling:
- ToTimezone() and MakeTimezone() now work as expected
- added and documented FromTimezone() and MakeFromTimezone()
- Set(double jdn) interprets jdn always in UTC
- updated ParseRfc822Date() timezone handling
- removed workarounds for old bugs from the test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35334
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Mattia Barbon [Sun, 28 Aug 2005 08:54:56 +0000 (08:54 +0000)]
No significant changes. Remove reliance on wx/bookctrl.h being
included in wx/sizer.h.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35333
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Mattia Barbon [Sun, 28 Aug 2005 08:31:22 +0000 (08:31 +0000)]
Add recent wxMotif changes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35332
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Mattia Barbon [Sun, 28 Aug 2005 08:07:34 +0000 (08:07 +0000)]
Improved wxStaticBox border calculation for wxMotif.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35331
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Mattia Barbon [Sun, 28 Aug 2005 08:05:33 +0000 (08:05 +0000)]
Remove useless code.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35330
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Mattia Barbon [Sun, 28 Aug 2005 08:02:13 +0000 (08:02 +0000)]
All toplevel windows without the wxNO_BORDER style should
have a border under MWM, too.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35329
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Mattia Barbon [Sun, 28 Aug 2005 08:00:25 +0000 (08:00 +0000)]
Improve sizer support in generic wxNotebook. Fix the widgets sample
to take advantage of it.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35328
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Mattia Barbon [Sun, 28 Aug 2005 07:55:43 +0000 (07:55 +0000)]
Under wxMotif, default buttons are bigger than other buttons,
hence Realize() must be called after default button has been set.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35327
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Mattia Barbon [Sun, 28 Aug 2005 07:51:59 +0000 (07:51 +0000)]
Implement GetMinSize for wxMotif wxButton. Helps solfing sizing
problems in generic common dialogs.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35326
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 28 Aug 2005 00:34:37 +0000 (00:34 +0000)]
added wxABI_VERSION test around ToDouble()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35325
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 28 Aug 2005 00:33:20 +0000 (00:33 +0000)]
added wxLongLong::ToDouble()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35324
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 28 Aug 2005 00:03:30 +0000 (00:03 +0000)]
added wxLongLong::ToDouble()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35323
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 27 Aug 2005 19:29:06 +0000 (19:29 +0000)]
added operator==() and !=
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35322
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Csomor [Sat, 27 Aug 2005 16:43:19 +0000 (16:43 +0000)]
several fixes, guards, and an implementation for removal of native toolbar items
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35321
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Csomor [Sat, 27 Aug 2005 13:57:48 +0000 (13:57 +0000)]
allowing a clear of a graphic context, and set the pen and brush after a graphics restore
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35320
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Csomor [Sat, 27 Aug 2005 13:55:49 +0000 (13:55 +0000)]
save correctly oriented GraphicState and clear Context before destruction (is invalid at that point)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35319
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Fri, 26 Aug 2005 22:52:29 +0000 (22:52 +0000)]
open fstream with ios::binary flag to be compatible with wxFileStream and to avoid mangling binary files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35318
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Julian Smart [Fri, 26 Aug 2005 08:21:43 +0000 (08:21 +0000)]
Warning corrections
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35317
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Chris Elliott [Thu, 25 Aug 2005 21:58:22 +0000 (21:58 +0000)]
fix gpf in mdi sample with motif when child is closed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35316
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Thu, 25 Aug 2005 19:27:43 +0000 (19:27 +0000)]
pressing enter now activates the default button even when the focus is on a checkbox or radio button
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35315
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Thu, 25 Aug 2005 19:16:53 +0000 (19:16 +0000)]
don't mention undocumented wxOwnerDrawn in the docs (patch
1267562 )
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35314
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Thu, 25 Aug 2005 19:14:44 +0000 (19:14 +0000)]
only give error about missing richedit.dll once (the code was already supposed to work like this but didn't, patch
1273177 )
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35313
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Włodzimierz Skiba [Thu, 25 Aug 2005 19:10:47 +0000 (19:10 +0000)]
[
1273159 ] logical vs. bitwise operators, part 2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35312
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Włodzimierz Skiba [Thu, 25 Aug 2005 16:31:42 +0000 (16:31 +0000)]
RTTI and exceptions settings for WinCE are restored.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35311
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Mart Raudsepp [Thu, 25 Aug 2005 12:46:57 +0000 (12:46 +0000)]
[wxGTK2] Check if a family wasn't found for the description in GetFamily()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35310
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Michael Wetherell [Thu, 25 Aug 2005 11:17:06 +0000 (11:17 +0000)]
Make TEST_DIR the current test, so that the djgpp build can work on the tinderbox.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35309
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Mattia Barbon [Wed, 24 Aug 2005 21:29:09 +0000 (21:29 +0000)]
As reported by Chris Elliott some releases of Lesstif crash
when setting the font list of a widget. The code is disabled for
now for all Lesstif versions.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35308
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Václav Slavík [Wed, 24 Aug 2005 19:20:18 +0000 (19:20 +0000)]
install bakefile presets (patch
1253143 )
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35307
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Włodzimierz Skiba [Wed, 24 Aug 2005 18:35:30 +0000 (18:35 +0000)]
Warning fix for wxLogs.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35306
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Włodzimierz Skiba [Wed, 24 Aug 2005 17:56:29 +0000 (17:56 +0000)]
Missing wxUSE_... flags and source cleaning.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35305
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Włodzimierz Skiba [Wed, 24 Aug 2005 17:47:11 +0000 (17:47 +0000)]
Missing wxUSE_... flags and source cleaning.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35304
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Wed, 24 Aug 2005 17:36:00 +0000 (17:36 +0000)]
compilation fix for systems with XtIMSignal
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35303
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Wed, 24 Aug 2005 15:41:33 +0000 (15:41 +0000)]
compilation fix: DefaultVisual() needs Display, not WXDisplay (and code cleanup in wxGetSubPixmap() as well)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35302
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Michael Wetherell [Wed, 24 Aug 2005 14:59:36 +0000 (14:59 +0000)]
Move LabelWrapper, TextSizerWrapper classes out of function body to accommodate some older compilers.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35301
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Wed, 24 Aug 2005 12:11:14 +0000 (12:11 +0000)]
fixed -Wundef warning for HAVE_SCHED_H
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35300
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Wed, 24 Aug 2005 11:17:05 +0000 (11:17 +0000)]
fix for -Wundef warning for HAVE_XIM under GTK1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35299
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Wed, 24 Aug 2005 11:16:04 +0000 (11:16 +0000)]
#undef things which require other, disabled, ones, instead of re-#defining them as 1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35298
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Wed, 24 Aug 2005 11:14:27 +0000 (11:14 +0000)]
corrected comment explaining wxABORT_ON_CONFIG_ERROR
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35297
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Włodzimierz Skiba [Wed, 24 Aug 2005 07:57:49 +0000 (07:57 +0000)]
wxUSE_STATTEXT guard.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35296
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Włodzimierz Skiba [Wed, 24 Aug 2005 06:32:56 +0000 (06:32 +0000)]
[
1267725 ] Wrong operator for logical/bitwise operation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35295
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Mart Raudsepp [Wed, 24 Aug 2005 00:25:19 +0000 (00:25 +0000)]
[wxGTK2] Don't duplicate code inside wxFontRefData::InitFromNative()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35294
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Michael Wetherell [Wed, 24 Aug 2005 00:23:21 +0000 (00:23 +0000)]
Workarounds for old versions of gcc on hpux: define __STDC_EXT__ when it is
need and use -lpthread instead of -pthread when the latter is not supported.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35293
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Tue, 23 Aug 2005 23:34:06 +0000 (23:34 +0000)]
fix for the last commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35292
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Tue, 23 Aug 2005 23:27:40 +0000 (23:27 +0000)]
use wxString::Format(), calling string.Format() has no effect patch
1267345 )
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35291
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Mart Raudsepp [Tue, 23 Aug 2005 23:19:20 +0000 (23:19 +0000)]
[tex2rtf] Remove wxWidgets-2.0 compatibility guards
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35290
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Tue, 23 Aug 2005 23:12:48 +0000 (23:12 +0000)]
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
Vadim Zeitlin [Tue, 23 Aug 2005 23:12:37 +0000 (23:12 +0000)]
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
Michael Wetherell [Tue, 23 Aug 2005 23:10:59 +0000 (23:10 +0000)]
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
Vadim Zeitlin [Tue, 23 Aug 2005 22:56:41 +0000 (22:56 +0000)]
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
Vadim Zeitlin [Tue, 23 Aug 2005 21:37:38 +0000 (21:37 +0000)]
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
Włodzimierz Skiba [Tue, 23 Aug 2005 16:02:51 +0000 (16:02 +0000)]
wxOS2/OW warning and build fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35282
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Włodzimierz Skiba [Tue, 23 Aug 2005 15:54:39 +0000 (15:54 +0000)]
wxOS2/OW warning and build fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35281
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Włodzimierz Skiba [Tue, 23 Aug 2005 15:41:50 +0000 (15:41 +0000)]
wxOS2/OW warning and build fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35280
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Julian Smart [Tue, 23 Aug 2005 07:46:30 +0000 (07:46 +0000)]
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
Stefan Csomor [Tue, 23 Aug 2005 07:43:41 +0000 (07:43 +0000)]
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
Stefan Csomor [Tue, 23 Aug 2005 07:37:13 +0000 (07:37 +0000)]
adding a string for private data identification
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35277
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Mart Raudsepp [Tue, 23 Aug 2005 00:03:27 +0000 (00:03 +0000)]
[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
Mart Raudsepp [Mon, 22 Aug 2005 23:56:01 +0000 (23:56 +0000)]
[wxGTK2] Move wxFontRefData::SetStyle/SetWeight to wxNativeFontInfo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35275
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Mon, 22 Aug 2005 23:54:57 +0000 (23:54 +0000)]
regenerated after #error changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35274
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Mon, 22 Aug 2005 23:43:08 +0000 (23:43 +0000)]
compilation fix after last commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35273
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Mart Raudsepp [Mon, 22 Aug 2005 23:27:39 +0000 (23:27 +0000)]
[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
Mart Raudsepp [Mon, 22 Aug 2005 23:19:57 +0000 (23:19 +0000)]
[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
Vadim Zeitlin [Mon, 22 Aug 2005 22:46:33 +0000 (22:46 +0000)]
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
Mart Raudsepp [Mon, 22 Aug 2005 21:58:32 +0000 (21:58 +0000)]
[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
Mart Raudsepp [Mon, 22 Aug 2005 20:42:03 +0000 (20:42 +0000)]
[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
Mart Raudsepp [Mon, 22 Aug 2005 20:25:32 +0000 (20:25 +0000)]
[wxGTK2] Plug memory leak in wxFontEnumerator::EnumerateFacenames()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35267
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Mon, 22 Aug 2005 20:22:21 +0000 (20:22 +0000)]
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
Włodzimierz Skiba [Mon, 22 Aug 2005 19:50:54 +0000 (19:50 +0000)]
Warning fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35265
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Mattia Barbon [Mon, 22 Aug 2005 17:44:43 +0000 (17:44 +0000)]
Compilation fix for Motif 1.2.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35264
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Mart Raudsepp [Mon, 22 Aug 2005 17:22:44 +0000 (17:22 +0000)]
[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