Commit Graph

22396 Commits

Author SHA1 Message Date
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
David Elliott
ff884567ca Baked with Bakefile 0.1.4
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26755 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-13 20:01:55 +00:00
David Elliott
53dbce2338 wxCocoa: wxRegion using wxRegionGeneric
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26754 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-13 19:45:02 +00:00
David Elliott
4c3c384448 Added wxRegionGeneric and wxRegionIteratorGeneric using X.org code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26753 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-13 19:38:24 +00:00
David Elliott
be134f052b #import <AppKit/NSCell.h>
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26752 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-13 14:24:18 +00:00
David Elliott
360f42623d Change <class PixelData> to <typename PixelData> (2.95 compile fix)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26751 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-13 14:20:05 +00:00
David Elliott
c0ccf6a9a3 s/m_clientData/m_itemClientData/ so it doesn't conflict with wxEvtHandler union
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26750 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-13 14:16:48 +00:00
Vadim Zeitlin
654b2a1d16 removed old eVC project files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26749 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-13 13:43:06 +00:00
David Elliott
e76d459d94 Make ObjcRelease() return void like [NSObject -release] not type id.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26748 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-13 13:40:08 +00:00
Vadim Zeitlin
f76858d8f1 don't use WS_POPUP under CE for normal windows
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26746 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-13 12:26:10 +00:00
Vadim Zeitlin
2fce94e20c define WS_XXX constants missing in (some) CE SDKs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26745 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-13 12:25:56 +00:00
Vadim Zeitlin
b7deb0be17 removed old eVC project files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26744 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-13 12:25:21 +00:00
Vadim Zeitlin
072c5412c2 removed m_bestSize
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26743 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-13 12:25:05 +00:00
Vadim Zeitlin
8b5ef6cfd2 moved dialog/frame styles to their own headers; don't use any styles by default for TLW under Windows CE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26742 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-13 12:22:34 +00:00
Vadim Zeitlin
f6d742793e added Hindi translation from Dhananjaya Sharma
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26741 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-13 11:33:16 +00:00
Vadim Zeitlin
e8ba218b1f added DoDrawRoundedRectangle() implementation (patch 931364)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26740 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-13 11:23:44 +00:00
Vadim Zeitlin
ba8eb933c4 and now fixed USE_CONTEXT_MENU definition as well
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26739 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-13 10:47:02 +00:00
Vadim Zeitlin
51a9eb7327 fixed USE_CONTEXT_MENU tests
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26738 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-13 10:46:17 +00:00
Vadim Zeitlin
b2d22a3f04 (blind) compilation fix for wxUniv
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26737 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-13 10:44:53 +00:00
Julian Smart
781bdbb410 Only call Select within SetString when internal data has been restored,
else assert results if the item was selected


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26736 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-13 10:29:55 +00:00
Stefan Csomor
143d08f8f4 all databrowser implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26735 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-13 10:23:37 +00:00
Stefan Csomor
2aefa0ef8a adding event construction
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26734 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-13 05:30:20 +00:00
Stefan Csomor
336a6aba60 switching to native focus and control hit handling
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26733 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-13 05:28:25 +00:00
Stefan Csomor
f1d527c1ad switching to native focus handling
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26732 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-13 05:25:54 +00:00
Stefan Csomor
92a7272fdb fixing right click
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26731 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-13 05:21:31 +00:00
Stefan Csomor
d85611ba84 mouse handling changed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26730 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-13 05:19:35 +00:00
Stefan Csomor
bdf956fb42 recursive tab processing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26729 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-13 05:16:03 +00:00