Commit Graph

22522 Commits

Author SHA1 Message Date
Robin Dunn
befa69771a Set stc and xrc to use GENDIR again as SWIG on Mac is still generating
slightly different code than the other platforms for some reason


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26805 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-15 19:52:50 +00:00
Robin Dunn
7efa87d202 MacSetTheme
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26804 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-15 19:28:25 +00:00
Robin Dunn
9c605df769 Use GetHandle for Mac too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26803 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-15 19:27:54 +00:00
Robin Dunn
a212b7793a MacSetMetalAppearance
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26802 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-15 19:27:15 +00:00
Robin Dunn
2c65dbc429 Default for id
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26801 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-15 19:26:28 +00:00
Robin Dunn
b2df227bb0 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26800 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-15 19:22:27 +00:00
Robin Dunn
0c02082608 Add width and precision params for wxGridCellFloatEditor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26799 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-15 19:19:26 +00:00
David Elliott
7b73db07a3 Make buttons display the bitmap image instead of the text "Bitmap Button"
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26798 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-15 19:17:15 +00:00
Robin Dunn
ed3ff7fe09 Added SetDefaultXXX methods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26797 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-15 19:01:52 +00:00
Robin Dunn
aee2779036 install missing headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26796 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-15 18:58:51 +00:00
Robin Dunn
56e63286ac Added new encoding, new methods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26795 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-15 18:31:18 +00:00
Robin Dunn
447f48ba19 Moved some enums around to better match the C++ headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26794 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-15 18:26:05 +00:00
Robin Dunn
644e168383 Oops
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26793 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-15 18:24:54 +00:00
Robin Dunn
ba938c3d00 Added some convenience methods to wx.Bitmap: SetSize, GetSize, and
wx.EmptyBitmap can be called with a wx.Size (or a 2-element sequence)
object too.  Similar changes were done for wx.Image as well.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26792 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-15 18:23:17 +00:00
Robin Dunn
1980f3fa71 More about the sizer changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26791 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-15 18:13:35 +00:00
Robin Dunn
55deb20826 clarify the note about OpenGL errors
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26790 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-15 18:12:55 +00:00
Robin Dunn
e8601bb2e6 removed stuff about the decorator classes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26789 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-15 18:12:15 +00:00
Robin Dunn
ef8b9c3eb8 minor tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26788 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-15 18:11:14 +00:00
Robert Roebling
304b8bc189 Added SW_SCROLLCHILDREN to make scrolling work
under eVC 3.0 (and probably any Windows CE).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26787 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-15 18:10:30 +00:00
Dimitri Schoolwerth
d30ee785c2 made GetAlpha(x, y) const (the docs are already correct)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26786 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-15 16:16:01 +00:00
Robert Roebling
7ef67c25ff Fix for white area above frame because of funky
toolbar/menubar-mix implementation under eVC 3.0.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26785 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-15 15:58:25 +00:00
Robert Roebling
c1855476b1 Fix to make frame visible under eVC 3.0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26784 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-15 15:56:30 +00:00
Dimitri Schoolwerth
b333445388 ignore all (generated) .con files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26783 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-15 11:33:34 +00:00
Dimitri Schoolwerth
f01da876d8 use Find, not Member
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26782 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-15 11:06:19 +00:00
Dimitri Schoolwerth
22d080f35b improved const-ness of find/Find functions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26781 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-15 11:05:13 +00:00
Robin Dunn
28b6885216 Added #include for non PCH compilers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26780 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-14 23:53:45 +00:00
Robin Dunn
ec5cadfec5 Updated with notes about recent sizer changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26779 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-14 23:50:37 +00:00
Robin Dunn
1eba219387 Added wxSizerItem::SetMinSize that calls m_window->SetSizeHints if not
wxFIXED_MINSIZE, SetInitSize and SetItemMinSize uses SetMinSize, and
fixed [ 934651 ] sizeritem's 'minsize' value has no effect in xrc resources


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26778 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-14 23:45:21 +00:00
Robin Dunn
1ebfafde51 Keep track of the initial size that the window was created with, and
when the window is added to a sizer use that size with SetSizeHints.
This is to fix problems resulting from the previous change where
SetSizeHints was called with the initial size from CreateBase.

Also, Patch [ 934677 ] wxWindowBase::DoGetBestSize() should exclude hidden windows


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26777 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-14 22:40:14 +00:00
Stefan Csomor
dd05f81195 removing resource based implementations
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26776 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-14 17:31:35 +00:00
David Elliott
70cbdccac9 Quick hack removing wxDIALOG_MODAL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26775 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-14 16:26:24 +00:00
Robin Dunn
fc576e8d26 Don't accidentally instal the MSVCRT.dll from XP as it wont' work on
Win98.  Use a set from CVS instead of from the SYSDIR.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26774 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-14 16:19:11 +00:00
David Elliott
2c326adae6 Quick hack to rid the code of wxDIALOG_MODAL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26773 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-14 16:03:53 +00:00
Stefan Csomor
6919b35eb4 resources must be copied, cannot be symlinked
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26772 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-14 16:00:01 +00:00
Vadim Zeitlin
570384d865 don't use wxDIALOG_MODAL any more
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26771 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-14 07:02:36 +00:00
Robin Dunn
2b61982245 docstring tweak
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26770 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-14 06:35:47 +00:00
David Elliott
327940530c wxASSERT_MSG instead of wxASSERT
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26769 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-14 06:00:13 +00:00
Robin Dunn
71a0c62f2f If the icon is smaller than the allotted space then center it.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26768 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-14 05:59:30 +00:00
Robin Dunn
b19d7524fc Add wxGridBagSizer to the overview text
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26767 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-14 05:58:18 +00:00
Robin Dunn
98bc3dcf46 simplify how the XWindow is extracted for GetHandle
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26766 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-14 05:57:47 +00:00
Robin Dunn
ac12ef6e5f The activex dirs got left out.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26765 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-14 05:57:10 +00:00
David Elliott
dc5bcaefb5 Cocoa_drawRect: Set m_updateRegion using the NSRect or if possible (Panther)
using the array from [NSView -getRectsBeingDrawn:count:]


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26764 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-14 05:56:52 +00:00
Robin Dunn
b14395e4ba Doc tweaks, double the backslashes so they convert properly with ReST
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26763 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-14 05:56:40 +00:00
David Elliott
e9ec987a36 Added wxRegion construction from an NSRect or an array of NSRects
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26762 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-14 05:53:50 +00:00
Robin Dunn
475f0bf814 whitespace cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26761 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-14 05:52:18 +00:00
Robin Dunn
dbe839cc25 Compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26760 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-14 05:41:52 +00:00
David Elliott
90c108964c Rework modal dialog code to not depend on now obsolete wxDIALOG_MODAL flag.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26759 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-14 05:39:43 +00:00
Robin Dunn
ec8c39ed09 Ensure PostCreation is always called, so the widget will be shown properly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26758 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-14 05:19:41 +00:00
Robin Dunn
9357a69fb6 Fix for #933359
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26757 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-14 05:17:49 +00:00
David Elliott
8f6a082bff new wxRegionRefData has size=1 so rects=malloc(sizeof(BOX))
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26756 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-13 20:46:15 +00:00