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
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