Commit Graph

26542 Commits

Author SHA1 Message Date
Włodzimierz Skiba
b713f8919c wx/math.h integration
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31011 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-14 20:52:13 +00:00
Włodzimierz Skiba
83c5e93495 Be C file.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31010 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-14 20:34:23 +00:00
Włodzimierz Skiba
50c6bf91c8 Fixme removal.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31009 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-14 20:32:24 +00:00
Włodzimierz Skiba
d76bb5b289 Geometry operators tests.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31008 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-14 20:29:21 +00:00
Włodzimierz Skiba
3e8f9a4980 Geometry operators tests.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31007 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-14 20:29:20 +00:00
Robin Dunn
90f7243727 Don't call _setOORINfo from PreGrid
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31006 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-14 19:58:50 +00:00
Robin Dunn
ed8d127eb0 Added SetFocus and SetFocusIgnoringChildren to wx.Panel
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31005 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-14 19:57:58 +00:00
Robin Dunn
7353d81801 Applied patch #1084332: xrced does not respect encoding
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31004 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-14 19:39:09 +00:00
Vadim Zeitlin
b987387052 more wxUniv compilation fixes (bug 1085003)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31003 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-14 12:33:53 +00:00
Vadim Zeitlin
18c509fb88 compilation fix for WXWIN_COMPATIBILITY_2_4 == 0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31002 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-14 12:30:42 +00:00
Robin Dunn
49e6b3c3cf deprecated Get/SetOptimization
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31001 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-13 23:15:45 +00:00
Robin Dunn
c9463abb23 Added
IsEditable
    Undo
    Redo
    SelectAll
    CanCopy
    CanCut
    CanPaste
    CanUndo
    CanRedo


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31000 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-13 23:06:19 +00:00
Robin Dunn
496d695b87 Deprecated NotebookSizer and BookCtrlSizer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30999 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-13 23:02:27 +00:00
Robin Dunn
cf4dfd1467 Added GetColoursCount
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30998 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-13 23:00:57 +00:00
Robin Dunn
4bfe9b91c3 Added gravity
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30997 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-13 22:46:45 +00:00
Robin Dunn
4e4a4ac83a Give Maximize and default param
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30996 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-13 22:39:44 +00:00
Robin Dunn
9eefe9f085 wxRect::union and docstring fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30995 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-13 22:38:06 +00:00
Vadim Zeitlin
7344726a7a undef CreateWindow too, even if we don't use it ourselves it's still a very common name and shouldn't be defined after including wxWindows headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30994 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-13 21:30:39 +00:00
Włodzimierz Skiba
3454ecd508 math.h/PI integration
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30993 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-13 20:10:59 +00:00
Vadim Zeitlin
e77c5d9682 reverted recent VK_OEM_PLUS change, do map it to '+' for now, but added a comment questioning whether this should be done at all
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30992 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-13 20:07:45 +00:00
Włodzimierz Skiba
e0d3147139 math.h/PI integration
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30991 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-13 20:04:51 +00:00
Włodzimierz Skiba
19edb09cd9 math.h/PI integration
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30990 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-13 19:54:38 +00:00
Włodzimierz Skiba
699bfc3d1a Avoid conflict with INFINITY of math.h.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30989 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-13 19:48:36 +00:00
Włodzimierz Skiba
956615e2f7 Further changes markup.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30988 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-13 19:46:02 +00:00
Vadim Zeitlin
bdd1a35ddc (blind) wxUniv compilation fix: define the method using wxWindow out of line, i.e. after wxWindow is defined
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30987 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-13 19:42:35 +00:00
Włodzimierz Skiba
3ad70d312e wx/msw/notebook.h needs wx/notebook.h in lack of precompiled headers.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30986 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-13 18:24:19 +00:00
Włodzimierz Skiba
bb8d428f33 Events table serves for RTTI too.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30985 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-13 14:08:08 +00:00
Julian Smart
f525dc5479 Added missing events
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30984 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-13 10:49:13 +00:00
Julian Smart
78a445a86e Typo correction
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30983 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-13 09:18:34 +00:00
Vadim Zeitlin
5b870dc087 use WX_FORWARD_STD_METHODS_TO_SUBWINDOWS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30982 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-13 01:03:44 +00:00
Vadim Zeitlin
7249080588 added WX_FORWARD_STD_METHODS_TO_SUBWINDOWS macro
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30981 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-13 01:02:32 +00:00
Vadim Zeitlin
bd0a76e228 1. derived wxMSW radio box from static box because it includes the box anyhow
2. changed it to use wxSubwindows to cut down code duplication
3. deprecated Get/SetNumberOfRowsOrCols() which didn't do anything in neither
   MSW nor GTK (this is the only change in GTK code)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30980 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-13 01:00:35 +00:00
Robert Roebling
6de9d616ca Correctd orientation of sash handle.
Adapted some code in the native scrolling window
    to the generic version's code.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30979 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-13 00:29:32 +00:00
Vadim Zeitlin
b04093c949 use solid bacgkround for static box as pattern brush can't be properly aligned when it is painted
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30978 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-13 00:12:37 +00:00
Vadim Zeitlin
c4a95f6f99 implemented MSWGetBgBrush/ColourForChild() to propagate themed notebook background to children
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30977 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-13 00:11:14 +00:00
Vadim Zeitlin
c5bd3c6268 rewrote and virtualized the background erasing logic: each window may now
specify which background brush should be used for its children and each child
may also choose to use either background brush or (solid) background colour

wxWindow::OnEraseBackground() and wxControl::MSWControlColor() now use the
same code


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30976 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-13 00:09:54 +00:00
Vadim Zeitlin
042ce4ccba forward Enable() and SetFont() to the labels as well
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30975 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-12 21:51:11 +00:00
Vadim Zeitlin
052da7d572 added a few more composite functions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30974 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-12 21:43:45 +00:00
Vadim Zeitlin
24181682fa don't use WS_EX_TRANSPARENT style, it doesn't seem to help with anything (if it is readded, please make sure to explain why exactly was it needed)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30972 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-12 20:27:35 +00:00
Vadim Zeitlin
5554336399 check for any parent with non default background in wxControl::MSWControlColor(), not just wxNotebook
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30971 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-12 20:21:16 +00:00
Vadim Zeitlin
7af99268d4 override MSWGetDefaultBgBrush() to use transparent brush
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30970 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-12 19:47:01 +00:00
Vadim Zeitlin
d34e375c9c added MSWGetDefaultBgBrush() to allow some derived classes to use transparent brush for erasing background
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30969 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-12 19:44:52 +00:00
Václav Slavík
98a50e202c even GUI test should be console app
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30968 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-12 19:25:46 +00:00
Vadim Zeitlin
e07e8195ae added a test for wxRect::Union()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30967 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-12 19:23:19 +00:00
Vadim Zeitlin
c71ce67511 fixed Union() for the case of this rectangle being empty
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30966 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-12 19:00:42 +00:00
Vadim Zeitlin
8a8dcc3421 position the labels correctly when we're created with fixed size
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30965 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-12 18:59:42 +00:00
Vadim Zeitlin
7fe985eede create controls with 1*1 size by default, not 0*0 as it wreaks havoc with wxRect::Union logic
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30964 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-12 18:56:36 +00:00
Vadim Zeitlin
bebc503c78 compilation fix for wxUSE_TOGGLEBTN == 0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30963 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-12 18:32:26 +00:00
Vadim Zeitlin
5294a27e95 regenerated
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30962 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-12 18:09:32 +00:00
Vadim Zeitlin
d5f330f9bc unused var warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30961 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-12 17:59:41 +00:00