Commit Graph

22235 Commits

Author SHA1 Message Date
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
David Elliott
c1d19dfb68 wxCocoa: use generic wxSpinCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26576 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-01 22:42:53 +00:00
Václav Slavík
488e150743 syntax fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26575 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-01 21:12:37 +00:00
Václav Slavík
cf1014a2e1 moved arrays tests to testsuite (patch 927475)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26574 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-01 21:10:33 +00:00
Václav Slavík
9439aa542f fixed compilation with bakefile-0.1.3 after my latest changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26573 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-01 20:34:14 +00:00
Václav Slavík
af594ecaf1 added support for building eVC projects (not yet tested)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26572 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-01 20:20:57 +00:00
Václav Slavík
3fe61e8ece libtiff doesn't build on WinCE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26571 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-01 20:20:15 +00:00
Václav Slavík
21f7567505 compilation fix for WinCE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26570 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-01 20:19:37 +00:00
Václav Slavík
0c2d809a72 WinCE SDK doesn't have crtdbg.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26569 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-01 19:51:18 +00:00
Robin Dunn
dcc1aa2382 embedded sample's README updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26567 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-01 19:48:18 +00:00
Julian Smart
5059f192cf Fixed warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26566 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-01 19:43:32 +00:00