Vadim Zeitlin
5c9f6bf455
use iostream.h and not iostream with OpenWatcom (part of patch 910058)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26822 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-15 23:02:43 +00:00
Vadim Zeitlin
af498247c5
make XTI compile with VC6 (patch 896614)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26820 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-15 22:51:57 +00:00
Vadim Zeitlin
08848c9f95
define _puttchar for mingw32 as it doesn't have it (patch 875611)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26818 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-15 22:34:19 +00:00
Vadim Zeitlin
eb2a7883df
show/hide static box when the wxStaticBoxSizer is shown/hidden (replaces patch 897020)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26817 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-15 22:26:09 +00:00
Václav Slavík
af51080d14
commdlg.lib is not in evc3
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26811 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-15 20:12:59 +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
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
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
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
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
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
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
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
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
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
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
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
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
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
Václav Slavík
9b58bfecd8
aygshell is available on PocketPC and sometimes needed
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26727 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-12 21:00:42 +00:00
David Elliott
af8491078d
Change m_windowCurrent to m_currentNSWindow such that m_currentNSWindow is
...
never used directly but only to look up the associated wxCocoaNSWindow.
If the wxCocoaNSWindow cannot be found later in UpdateMenuBar then it's
likely been destroyed but no crash will result as before.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26720 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-12 04:58:32 +00:00
Václav Slavík
044a69a42d
added some cppunit convenience macros (part of patch 924438)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26715 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-11 20:59:26 +00:00
Václav Slavík
4c68a10264
improvements to zlib streams (patch 929416):
...
1. CanHandleGZip static method
2. code cleanup
3. 2.4 compatibility mode
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26713 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-11 19:34:56 +00:00
Stefan Csomor
1a42f89c41
expose find window method
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26709 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-11 15:23:00 +00:00
Václav Slavík
eddb325043
added wx/msw/wince/libraries.h to workaround SDK differences problems
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26707 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-11 15:14:50 +00:00
Vadim Zeitlin
910b9fc5c0
added GetEncodingFromName(); documented it and rearranged the methods in alphaabetical order
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26703 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-11 10:40:04 +00:00
Vadim Zeitlin
15ad38c34f
added support for koi8-u
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26695 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-10 23:43:49 +00:00
Mattia Barbon
f8ca3d720e
Avoid virtual function hiding.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26693 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-10 16:07:18 +00:00
David Elliott
256af34f51
Added header preprocessor guard
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26690 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-10 03:54:21 +00:00
David Elliott
15bc1a64a8
Implement a reasonable DoGetBestSize (NSProgressIndicator is not an NSControl)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26689 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-10 03:23:41 +00:00
David Elliott
9a165f54b9
Stub for DoGetBestSize() since this isn't an NSControl
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26688 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-10 03:19:37 +00:00
David Elliott
79e1f224d1
Make DoGetBestSize() always return a width of 100
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26686 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-10 03:11:44 +00:00
David Elliott
0754a4b307
wxCocoa: native wxNotebook
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26680 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-09 20:20:51 +00:00
David Elliott
7848088476
Added files for wxNotebook and wxCocoaNSTabView
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26679 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-09 20:19:06 +00:00
Dimitri Schoolwerth
caafd0821d
implemented a simple DoGetBestSize() for MSW's wxScrollBar
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26677 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-09 15:16:46 +00:00
Vadim Zeitlin
fbaddf4482
we can now use png/jpeg/gif
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26671 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-08 12:11:37 +00:00
Vadim Zeitlin
b8e7b6738f
1. moved InheritAttributes() from wxControl to wxWindow
...
2. made it inherit only the attributes explicitly set for the parent
3. "explicitly set" means set with SetXXX(), not newly added SetDefaultXXX()
4. documented InheritAttributes(), ShouldInheritColours() and SetDefaultXXX()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26670 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-08 12:11:22 +00:00
Robin Dunn
f52e0cf489
Changed name to wxFIXED_MINSIZE since that is more descriptive of what
...
it does. The size can still be changed by the sizer, but it won't
query the minsize if this flag is set.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26665 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-07 23:06:35 +00:00
Robin Dunn
9d17ee60a5
Put back wxMSW's wxStaticBitmap::DoGetBestSize because GetBitmap (used
...
in base DoGBS) is not able to be called until the control is fully
constructed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26662 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-07 22:41:34 +00:00
Robin Dunn
595a949307
wxStatusBarGeneric::DoGetBestSize
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26658 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-07 21:48:24 +00:00
Robin Dunn
b3fcfa4d89
wxStaticBitmapBase::DoGetBestSize
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26657 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-07 21:47:04 +00:00
Robin Dunn
caa251e073
Added wxFIXED_SIZE.
...
Propogated wxSizer::SetItemMinSize to SetSizeHints for window items.
Updated docs for flag parameter to be more readable and understandable.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26644 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-07 19:21:06 +00:00
Robin Dunn
1ec25e8ff7
Added some convenience inlines
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26643 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-07 05:20:58 +00:00
Vadim Zeitlin
b39ba2c2ee
use wxUnusedVar() to suppress warnings about unused variable
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26623 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-05 10:51:49 +00:00
Vadim Zeitlin
2a47cb1ba2
don't define SetShape() for Windows CE; use wxTLWBase::GetDefaultSize() to avoid creating too big windows under CE
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26616 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-04 17:27:31 +00:00
Vadim Zeitlin
0c089c0826
added wxTLWBase::GetDefaultSize() to avoid creating windows with default size unsuitable for the current display size
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26615 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-04 17:26:56 +00:00