Commit Graph

22181 Commits

Author SHA1 Message Date
Robin Dunn
2620b36e03 Fixed the embedded smaple so that it actually works, wx-ified the
Python bits


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26561 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-01 19:22:09 +00:00
Robin Dunn
6b7e0a8639 embedded sample compiles again
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26560 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-01 18:05:10 +00:00
Robin Dunn
2e957aaeb1 Build and Install steps updated
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26559 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-01 18:03:45 +00:00
Robin Dunn
45cf74cccf Demo tweaks to correct some visual glitches and event order issues
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26558 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-01 17:44:05 +00:00
David Elliott
37ec2bd38b #include "wx/settings.h" for wxSystemSettings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26557 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-01 16:38:21 +00:00
Stefan Csomor
5e6f42cdf9 Assert for incorrect style, added Deselection for single selection lists
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26556 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-01 15:43:41 +00:00
Stefan Csomor
94d1d0f447 default to striped background
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26555 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-01 15:26:36 +00:00
Stefan Csomor
125c798467 supporting events also for root control (needed for event handling of mouse and paint at tlw-level)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26554 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-01 15:24:19 +00:00
Stefan Csomor
b19bf058f3 fixing shape windows, as we now use the structure region for answering questions about position and size, we cannot use GetRect in the defproc anymore
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26553 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-01 15:19:39 +00:00
Stefan Csomor
58ddb76c39 pass in NULL for mouse event handler, otherwise the handler thinks it is a valid toplevel window
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26552 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-01 15:18:06 +00:00
Vadim Zeitlin
51ce89f1bf removed (well, kept empty shell to avoid breaking existing code) InheritAttributes()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26551 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-01 14:54:07 +00:00
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