Commit Graph

22295 Commits

Author SHA1 Message Date
Robin Dunn
93a163f611 wxSize::SetDefaults
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26626 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-05 18:25:44 +00:00
Robin Dunn
174051f613 GetDefaultAttributes, and other tweaks needed to get up to date with CVS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26625 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-05 18:23:01 +00:00
Robin Dunn
409eab506e updated version number
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26624 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-05 18:16:35 +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
Stefan Csomor
b175b96ba0 added recursive invalidation after a Thaw command
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26622 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-05 05:20:40 +00:00
Vadim Zeitlin
e0c5c96f67 don't define functions unused under CE when compiling for it (avoids warnings)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26621 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-04 23:36:29 +00:00
Vadim Zeitlin
9c56ae5fe8 implemented abort() and added stub for getenv(): needed to link with libjpeg/libpng
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26620 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-04 23:32:31 +00:00
Vadim Zeitlin
96ce2a5085 removed unused stuff (fixes a couple of compilation warnings)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26619 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-04 23:17:40 +00:00
Vadim Zeitlin
1fa6ebf706 set device origin when drawing on a frame in order to not overwrite the menu/toolbar under Windows CE (doesn't really help however...)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26618 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-04 22:50:37 +00:00
Vadim Zeitlin
8f4d9fcd9a do take the toolbar into account for Windows CE, otherwise the menus overlap with the frame client area
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26617 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-04 22:37:11 +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
Vadim Zeitlin
706f14210b added and documented wxSize::IsFullySpecified() and SetDefaults()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26614 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-04 17:24:56 +00:00
Václav Slavík
892208406d wxAutomation not useful on WinCE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26613 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-04 14:43:28 +00:00
Vadim Zeitlin
6ed5d6cbfb include just wrapwin.h and not the entire msw/private.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26612 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-04 13:04:31 +00:00
Vadim Zeitlin
2aaf17c223 GlobalLock/Unlock() are available under CE, no need to redefine them, it is already done in eVC 4 headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26611 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-04 13:02:56 +00:00
Vadim Zeitlin
14d3c9f7b4 include headers normally included from windows.h and shellapi.h under Windows CE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26610 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-04 13:02:12 +00:00
Vadim Zeitlin
0f8d646134 bsearch() is now available under CE, use it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26609 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-04 13:01:50 +00:00
Vadim Zeitlin
f153c2b611 suppressed unused param warning under CE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26608 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-04 13:01:18 +00:00
Vadim Zeitlin
fb86251bff do #undef CreateDialog() under CE, what was the reason for not doing it?
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26607 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-04 13:01:00 +00:00
Vadim Zeitlin
fe5c9b3eaf include wince/missing.h under CE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26606 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-04 13:00:34 +00:00
Vadim Zeitlin
524b59ff2e removed tons of unused stuff apparently copied verbatim from MS headers (argh!!); added bsearch()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26605 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-04 12:59:29 +00:00
Vadim Zeitlin
c2517b5239 use wxDIB object instead of static ConvertFromBitmap() in CF_DIB case
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26604 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-04 12:58:26 +00:00
Vadim Zeitlin
be69f971c4 enable wxDIB for Windows CE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26603 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-04 12:57:36 +00:00
Vadim Zeitlin
35f512937b taken the function unused under CE inside #ifndef __WXWINCE__
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26602 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-04 12:56:58 +00:00
Vadim Zeitlin
35b463c0e8 define BI_RLE4/8 if not defined as well
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26601 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-04 12:56:29 +00:00
Vadim Zeitlin
27adb8ba21 always use SYSTEM_FONT under CE, it doesn't have any others
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26600 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-04 12:55:18 +00:00
Vadim Zeitlin
5fccb5b4fd include wx/msw/wrapwin.h instead of entire private.h; unTABbed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26599 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-04 12:54:54 +00:00
Vadim Zeitlin
7c8c7cc23e WinMain() is Unicode under CE (how did this work before?)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26598 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-04 12:54:20 +00:00
Vadim Zeitlin
7b162e540e include wrapwin.h instead of windows.h directly (fixes CE compilation problems)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26597 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-04 12:47:05 +00:00
Vadim Zeitlin
e3bf2e8cac implemented bsearch() for CE; added src/msw/wince/crt.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26596 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-04 12:30:54 +00:00
Stefan Csomor
34952e03e2 corrected content vs structure calculation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26595 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-04 09:08:59 +00:00
Stefan Csomor
e2c28de23e color must not be set for wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26594 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-04 09:07:30 +00:00
Václav Slavík
f9c4805a0e more WinCE fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26593 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-03 20:50:12 +00:00
Václav Slavík
f20275d9c5 WinCE compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26592 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-03 19:03:08 +00:00
Stefan Neis
8787320bbd Commited slighly modified fix by David Parsons.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26591 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-03 17:43:43 +00:00
Václav Slavík
d628323f13 regex lib doesn't build under WinCE either
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26590 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-03 16:22:20 +00:00
Václav Slavík
569f027b89 WinCE compilation fixes (is this correct?)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26589 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-03 16:12:57 +00:00
Stefan Neis
ab5ebf521f Avoid core dumps when SetImageList is used.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26588 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-03 16:09:05 +00:00
Stefan Csomor
29281095c4 concentrating content and structure region calculations
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26587 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-03 14:50:02 +00:00
Stefan Csomor
f5ea731f5d concentrating content and structure region calculations
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26586 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-03 14:41:34 +00:00
Václav Slavík
ba9e5bc4bd eVC fixes: don't build MSW-only files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26585 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-03 12:48:01 +00:00
Václav Slavík
d5e6461597 precompiled headers fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26584 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-03 10:56:04 +00:00
David Elliott
2654f7e423 Make DoGetBestSize cache the value of GetSize() the first time it is called
for the case when the control is a regular window with no children.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26583 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-03 05:16:38 +00:00
Robin Dunn
2b1ff57f1e m_font may not have been set yet. Default to letting GetTextExtent
call GetFont.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26582 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-03 03:21:54 +00:00
Robin Dunn
9ec83f8da7 typos fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26581 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-02 20:09:33 +00:00
David Elliott
fa8114de44 Added wxObjcAutoRef* classes for automatic retain/release of Objective-C objects
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26580 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-02 17:43:59 +00:00
Julian Smart
2317613101 Allow app to call SetWindowVariant before creation of control
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26579 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-02 15:57:31 +00:00
Stefan Csomor
bb253bfd67 adding QDSwapPort for performance reasons
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26578 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-02 08:37:46 +00:00
Stefan Csomor
943b730f1f supporting non-theme fonts
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26577 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-02 08:29:26 +00:00