Commit Graph

22320 Commits

Author SHA1 Message Date
Vadim Zeitlin
4f819fe40a fixed DoGetBestSize() for default buttons
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26550 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-01 14:15:15 +00:00
Vadim Zeitlin
c4ca49cde3 implemented GetBestSize()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26549 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-01 13:55:21 +00:00
Vadim Zeitlin
c7e111cd98 wxGTK became a little too eager in using the best size after my change in 1.453; only use it if width or height are not specified
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26548 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-01 13:32:16 +00:00
Vadim Zeitlin
e4de95f8d5 added script for generating tags file for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26547 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-01 13:16:52 +00:00
Vadim Zeitlin
cc402e6431 use GetFont() instead of (possibly not initialized) m_font in GetCharWidth/Height()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26546 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-01 13:09:26 +00:00
Vadim Zeitlin
a433fbd51d show window from PostCreation() (which is called for the derived classes as well) instead of Create() (which is not)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26545 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-01 13:08:24 +00:00
Vadim Zeitlin
40452e0583 only use font/colours in SetWidgetStyle() if they're set
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26544 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-01 12:45:24 +00:00
Vadim Zeitlin
02a8e64ca3 really show the menubar (calling Show(TRUE) doesn't do it any more)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26543 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-01 12:41:27 +00:00
Vadim Zeitlin
c5fc899bf2 really show the window after creation (calling Show(TRUE) doesn't do it any more)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26542 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-01 12:40:04 +00:00
Václav Slavík
e3f810a21b forgot to add header file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26541 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-01 12:22:44 +00:00
Václav Slavík
a81f30662b test program improvements (patch 927429)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26540 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-01 11:51:09 +00:00
Vadim Zeitlin
993da3969b use the window default colours, not hardcoded ones, in OnSysColourChanged()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26539 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-01 11:08:44 +00:00
Vadim Zeitlin
e736b21a8c give the panel 3D grey colour by default: as it's not a native control, we must give it a colour explicitly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26538 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-01 11:05:50 +00:00
Vadim Zeitlin
e9cafd4289 use wxFULL_REPAINT_ON_RESIZE only for wxPreviewCanvas, not for the entire wxPreviewFrame -- this eliminates flicker of the control bar, at least
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26537 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-01 11:04:33 +00:00
Vadim Zeitlin
fbfe58cb95 fixed unused param warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26536 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-01 10:34:23 +00:00
Václav Slavík
340da6aec0 commited streams test suite (not part of build yet, coming soon)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26535 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-01 10:13:47 +00:00
Stefan Csomor
793921582e added adjustOrigin parameter to bounds calculation, added Freeze and Thaw implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26534 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-01 08:34:18 +00:00
Stefan Csomor
271cad4cf7 added adjustOrigin parameter to bounds calculation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26533 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-01 08:32:44 +00:00
Václav Slavík
20f46e8dc8 BCC fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26532 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-01 07:17:50 +00:00
Stefan Csomor
6ec2f25444 removed duplicate background colour setting (was leading to ignoral of the second one in Create)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26531 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-01 07:05:04 +00:00
Stefan Csomor
0f89f2f558 removed flags for wxOK etc that interfere with miniframe style
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26530 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-01 05:58:11 +00:00
Stefan Csomor
c6f9fb0548 cast corrected
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26529 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-01 05:18:10 +00:00
Vadim Zeitlin
9f4b46717b no changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26528 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-01 00:19:39 +00:00
Vadim Zeitlin
7a69cd967a use MSWCreateControl() instead of the old mess; implemented Get(Class)DefaultAttributes()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26527 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-01 00:15:07 +00:00
Vadim Zeitlin
39c7a53c9b implemented Get(Class)DefaultAttributes()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26526 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-01 00:14:42 +00:00
Vadim Zeitlin
a4a5c96ed7 removed SetFont() inheriting the parents font
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26525 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-01 00:10:12 +00:00
Vadim Zeitlin
553c5bcc3a added wxGetCCDefaultFont() returning the default icon font
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26524 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-01 00:09:48 +00:00
Vadim Zeitlin
34040e3126 default implementation of Get(Class)DefaultAttributes()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26523 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-01 00:07:32 +00:00
Vadim Zeitlin
1b69c81574 added Get(Class)DefaultAttributes()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26522 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-01 00:05:13 +00:00
David Elliott
bdcc580c3d Update Rez command to reflect new location for .r files.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26521 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-31 20:49:39 +00:00
Stefan Csomor
84f6927eca corrected Refresh (client coordinates)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26520 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-31 19:01:02 +00:00
Stefan Csomor
d3016f3029 scrollbars added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26519 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-31 16:45:37 +00:00
Julian Smart
479815cafd Added version test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26518 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-31 16:32:54 +00:00
Robert Roebling
76a6e80383 Applied patch for Intel compiler.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26517 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-31 15:43:19 +00:00
Stefan Csomor
587bc95090 different approaches implemented
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26516 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-31 13:26:45 +00:00
Stefan Csomor
b05bf6eec7 refresh on move changed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26515 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-31 13:23:56 +00:00
Stefan Csomor
bcbd69875f reverting drawing code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26514 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-31 08:19:01 +00:00
Vadim Zeitlin
dfc2d51987 fixed compilation for Mac (MacUpdateImmediately() doesn't exist any more)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26513 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-31 08:15:19 +00:00
Vadim Zeitlin
31d7fc0f9c set SMALL_FONT for controls here because InheritAttributes() doesn't do it any longer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26512 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-30 23:47:44 +00:00
Vadim Zeitlin
42497f30eb don't inherit font from the parent by default
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26511 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-30 23:16:45 +00:00
Vadim Zeitlin
416101beab documented Set/GetWindowVariant()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26510 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-30 23:14:28 +00:00
Robin Dunn
33ab916f29 More notes about the type conversion fragment.
Cross linked CHANGES and MigrarionGuide.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26508 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-30 21:46:20 +00:00
Vadim Zeitlin
d284c07534 call wxApp::OnExceptionInMainLoop() when an exception occurs (refactored the change 1.16->1.17)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26507 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-30 20:52:19 +00:00
Vadim Zeitlin
6046e57acc implemented wxApp::OnExceptionInMainLoop()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26506 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-30 20:50:59 +00:00
Vadim Zeitlin
b76f0023ae added and documented wxApp::OnExceptionInMainLoop()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26505 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-30 20:49:54 +00:00
Robin Dunn
69223c7017 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26504 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-30 20:09:28 +00:00
Robin Dunn
73adcb0150 Version number update
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26503 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-30 19:54:17 +00:00
Robin Dunn
8470ed1a3a Better conversion functions for integral and floating point types,
allows truncated floats to be used where integers are expeceted,
raises more meaningful exceptions, etc.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26502 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-30 19:50:53 +00:00
Robin Dunn
94eaeb1b02 remove 'point' arg from kwargs if it was replaced
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26501 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-30 19:17:17 +00:00
Stefan Csomor
413844c2d4 fixing auto wrap and default font
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26500 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-30 18:29:00 +00:00