Stefan Csomor
8138cfecaf
optimizing for multiple Realize calls in sequence, moving EventHandler push to toolbar item creation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35399 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-01 09:32:18 +00:00
Stefan Csomor
04732a7f27
moving and slightly extending the comment on CGState
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35398 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-01 06:36:21 +00:00
Stefan Csomor
34a4e91286
support for the AllPages attribute, proper round trip and fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35397 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-01 05:52:20 +00:00
Vadim Zeitlin
a57ac1c418
better handling of empty MDI parent frame visibility: show it only when there are no MDI children shown
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35396 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-01 01:26:49 +00:00
Vadim Zeitlin
4a60e3f007
hide the MDI parent frame instead of just moving it away (why didn't I do it like this before?)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35394 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-31 22:53:51 +00:00
Stefan Neis
9e03e02d0c
Replaced SOCKLEN_T by WX_SOCKLEN_T to resolve conflict with AIX system headers.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35387 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-31 15:48:41 +00:00
Vadim Zeitlin
47547fbe45
show the name of incrimanted class in RTTI registration assert
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35386 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-31 15:27:16 +00:00
Stefan Csomor
72ba915e7e
CoreGraphics : experimental colour pattern / dash support (by OSAF) (turned off by default) - fixes in arc and multiline drawings
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35385 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-31 14:55:13 +00:00
Stefan Csomor
a06e389f0a
setting CG origin to printable area
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35384 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-31 14:49:08 +00:00
Stefan Csomor
5d5c59e9c4
somehow an additional call moved in... removed
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35383 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-31 14:46:55 +00:00
Stefan Csomor
35d1986eb8
setting All Pages if To is 0
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35382 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-31 14:20:41 +00:00
Vadim Zeitlin
c9ee46c3a5
return a more useful value from wxJoystick::GetProductName()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35378 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-30 23:39:56 +00:00
Vadim Zeitlin
0ab82ca91e
better looking fallback resources for IRIX (patch from Riccardo Mottola)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35374 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-30 19:20:06 +00:00
Włodzimierz Skiba
99f0cdf2e9
Missing wxGetOsDescription() for wxMGL in response to undefined reference in wxLogs.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35372 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-30 17:25:58 +00:00
Vadim Zeitlin
42b1fb630d
generate mouse events for all static controls, not just wxStaticLine (patch 1276413 by Jamie Gadd)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35370 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-30 13:54:29 +00:00
Vadim Zeitlin
4ce18ecb66
fix for status bar positioning: account for wx client area origin (replaces patch 1276316)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35369 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-30 08:33:50 +00:00
Mart Raudsepp
3c542a4de0
Remove assert from wxNativeFontInfo::GetFamily() due to, in case of some gtk+ setup/themes, querying for an
...
nonexistent facenames family through wxSystemSettings::GetFont(wxSYS_DEFAULT_GUI_FONT) on startup.
Document wxFont work in changes.txt
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35367 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-29 21:14:18 +00:00
Chris Elliott
18c9aebeca
fix as discuused on wxdev for bc54
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35366 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-29 15:46:55 +00:00
Vadim Zeitlin
b624acad7e
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
2005-08-29 14:09:51 +00:00
Vadim Zeitlin
df7998fce5
compilation fix; unTABbed
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35364 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-29 13:59:39 +00:00
Vadim Zeitlin
bd118d35c6
(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
2005-08-29 13:48:56 +00:00
Mart Raudsepp
2696b11cd5
[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
2005-08-29 04:33:15 +00:00
Mart Raudsepp
c42f011ed6
[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
2005-08-29 01:18:07 +00:00
Vadim Zeitlin
84cefcb0eb
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
2005-08-28 16:38:55 +00:00
Vadim Zeitlin
5e99793eca
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
2005-08-28 16:33:18 +00:00
Vadim Zeitlin
c07103f267
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
2005-08-28 16:21:36 +00:00
Vadim Zeitlin
f7040b5fe6
added IsSizeDeferred() (part of patch 1199639)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35350 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-28 16:19:45 +00:00
Vadim Zeitlin
c15b71ae08
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
2005-08-28 15:44:15 +00:00
Vadim Zeitlin
44bf7fe3d0
fixed wxRegionRefData copy ctor (patch 1274403)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35347 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-28 15:37:54 +00:00
Vadim Zeitlin
774960ce3c
corrected #ifdefs testing wxUSE_UNICODE_MSLU
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35336 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-28 13:11:18 +00:00
Vadim Zeitlin
d26adb9df7
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
2005-08-28 13:06:36 +00:00
Mattia Barbon
13abe5c0c8
Improved wxStaticBox border calculation for wxMotif.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35331 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-28 08:07:34 +00:00
Mattia Barbon
a7f17c90e5
Remove useless code.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35330 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-28 08:05:33 +00:00
Mattia Barbon
8b7b0d67b0
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
2005-08-28 08:02:13 +00:00
Mattia Barbon
6bae67261c
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
2005-08-28 08:00:25 +00:00
Mattia Barbon
d30814cdf2
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
2005-08-28 07:55:43 +00:00
Mattia Barbon
4e025aa206
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
2005-08-28 07:51:59 +00:00
Vadim Zeitlin
e7aaf2dedd
added wxLongLong::ToDouble()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35323 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-28 00:03:30 +00:00
Stefan Csomor
2c1dbc95e1
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
2005-08-27 16:43:19 +00:00
Stefan Csomor
0e71e8459f
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
2005-08-27 13:57:48 +00:00
Stefan Csomor
c725df80c5
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
2005-08-27 13:55:49 +00:00
Vadim Zeitlin
53e2e87c9b
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
2005-08-26 22:52:29 +00:00
Chris Elliott
966b84b914
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
2005-08-25 21:58:22 +00:00
Vadim Zeitlin
3147bb585a
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
2005-08-25 19:27:43 +00:00
Vadim Zeitlin
f8387e15ee
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
2005-08-25 19:14:44 +00:00
Włodzimierz Skiba
d110378748
[ 1273159 ] logical vs. bitwise operators, part 2
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35312 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-25 19:10:47 +00:00
Mart Raudsepp
b20cb04588
[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
2005-08-25 12:46:57 +00:00
Mattia Barbon
101b477808
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
2005-08-24 21:29:09 +00:00
Vadim Zeitlin
5e23e2d59a
compilation fix for systems with XtIMSignal
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35303 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-24 17:36:00 +00:00
Vadim Zeitlin
4c620d1900
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
2005-08-24 15:41:33 +00:00