Robin Dunn
6811c2f3e3
Use the size value passed to the ctor to set the window's minimum size.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26645 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-07 19:23:10 +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
Dimitri Schoolwerth
08989e30ed
applied patch #928786 : "Fix memory leak produced by ConvertArgsToUnicode()"
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26640 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-06 17:18:20 +00:00
Dimitri Schoolwerth
caf412d6f2
applied patch #926140 : "warning cleaning"
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26639 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-06 15:34:53 +00:00
Dimitri Schoolwerth
d1f4723592
applied patch #929947 : "Various cleaning of warnings under MSW"; removed some tabs
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26638 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-06 13:19:42 +00:00
Dimitri Schoolwerth
5ce9b17600
removed HasMultipleSelection() because base class implements it now
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26627 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-05 20:33:04 +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
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
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
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
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
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
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
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
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
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
Julian Smart
c393c74021
Implemented Enable for wxMenuBar to avoid assert
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26563 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-01 19:28:13 +00:00
David Elliott
37ec2bd38b
#include "wx/settings.h" for wxSystemSettings
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26557 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-01 16:38:21 +00:00
Stefan Csomor
5e6f42cdf9
Assert for incorrect style, added Deselection for single selection lists
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26556 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-01 15:43:41 +00:00
Stefan Csomor
94d1d0f447
default to striped background
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26555 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-01 15:26:36 +00:00
Stefan Csomor
125c798467
supporting events also for root control (needed for event handling of mouse and paint at tlw-level)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26554 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-01 15:24:19 +00:00
Stefan Csomor
b19bf058f3
fixing shape windows, as we now use the structure region for answering questions about position and size, we cannot use GetRect in the defproc anymore
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26553 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-01 15:19:39 +00:00
Stefan Csomor
58ddb76c39
pass in NULL for mouse event handler, otherwise the handler thinks it is a valid toplevel window
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26552 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-01 15:18:06 +00:00
Vadim Zeitlin
51ce89f1bf
removed (well, kept empty shell to avoid breaking existing code) InheritAttributes()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26551 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-01 14:54:07 +00:00
Vadim Zeitlin
4f819fe40a
fixed DoGetBestSize() for default buttons
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26550 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-01 14:15:15 +00:00
Vadim Zeitlin
c4ca49cde3
implemented GetBestSize()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26549 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-01 13:55:21 +00:00
Vadim Zeitlin
c7e111cd98
wxGTK became a little too eager in using the best size after my change in 1.453; only use it if width or height are not specified
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26548 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-01 13:32:16 +00:00
Vadim Zeitlin
cc402e6431
use GetFont() instead of (possibly not initialized) m_font in GetCharWidth/Height()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26546 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-01 13:09:26 +00:00