Commit Graph

15354 Commits

Author SHA1 Message Date
David Elliott
a9861c57ed wxWindowCocoaScroller: use wxAutoNSAutoreleasePool in constructor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26698 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-11 04:03:01 +00:00
David Elliott
be2e301fc0 wxIcon::CopyFromBitmap:
1. retain NSImage from bitmap.GetNSImage (since it is alloc/autoreleased)
2. Use a wxAutoNSAutoreleasePool


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26697 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-11 03:25:14 +00:00
David Elliott
264c023f3e Add wxAutoNSAutoreleasePool to SetSelection()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26696 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-11 00:48:55 +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
557d6f3247 Compilation fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26694 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-10 16:09:35 +00:00
David Elliott
35e144c295 Hide (orderOut:) modal dialogs after stopping modal event loop.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26692 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-10 05:08:06 +00:00
David Elliott
9879fa842c Added missing wxT()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26691 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-10 04:32:59 +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
058d7af6e9 1. Faster DoGetBestSize for single-cell controls.
2. Properly handle exceptions so controls which aren't NSControl don't crash.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26687 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-10 03:18:05 +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
a6d27d480b Added missing wxT()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26684 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-10 00:43:25 +00:00
David Elliott
3fd9c29882 Baked with Bakefile 0.1.4
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26683 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-09 21:44:08 +00:00
Vadim Zeitlin
8afef13331 (blind) compilation fix for wxUniv
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26681 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-09 21:06:31 +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
6079ab879d last check in forgot to add WS_VSCROLL to the listbox sttyle, added back to reenable the vertical scrollbar
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26675 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-08 12:43:23 +00:00
Stefan Csomor
ef08980525 make sure we are comparing the stripped strings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26674 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-08 12:24:41 +00:00
Vadim Zeitlin
e27ebad0bd use SetDefaultBackgroundColour() instead of SetBgColour()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26673 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-08 12:13:32 +00:00
Vadim Zeitlin
8b0107e452 suppress warnings during WinCE compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26672 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-08 12:13:13 +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
c66b63e565 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@26666 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-07 23:22:50 +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
681aeb18ec use wxBU_EXACTFIT for the small buttons
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26661 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-07 22:02:38 +00:00
Robin Dunn
4685815fa7 set m_bestSize
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26659 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-07 21:56:55 +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
078a0f5444 XRC needs to know about wxFIXED_SIZE too.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26653 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-07 20:43:58 +00:00
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