Commit Graph

22318 Commits

Author SHA1 Message Date
David Elliott
1b1f8b2d8b Add wxAutoNSAutoreleasePool to drawing methods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26699 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-11 04:06:26 +00:00
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
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
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
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
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
23ffcdc41d Added wxMac stub header files (include/wx/mac/*.h).
make install should now produce a usable installation.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26685 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-10 00:54:27 +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
David Elliott
fe947a6116 Changes that were in aclocal.m4 but not here
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26682 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-09 21:33:36 +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
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
David Elliott
8ac7759580 wxCocoa: added ObjcRef.mm and ObjcRef.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26678 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-09 20:13:11 +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
62ad15a5b2 do use context menu event under wxGTK, it is supported there now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26676 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-08 19:15: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
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
Vadim Zeitlin
26b6f3d3d8 corrected wxEVENT_PROPAGATE_XXX constants names
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26669 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-08 10:21:17 +00:00
Robin Dunn
761b244f84 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@26668 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-07 23:35:36 +00:00
Robin Dunn
af8ea558ba Use FIXED_MINSIZE on the listbox
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26667 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-07 23:24:47 +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
74a57fcda4 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26664 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-07 22:45:45 +00:00
Robin Dunn
95fed4d84b notes about sizer changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26663 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-07 22:42:54 +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
862b53623b fix for self.root == None
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26660 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-07 21:58:04 +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
baf1aa5dfd Use default window IDs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26656 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-07 21:26:34 +00:00
Robin Dunn
102e2b26c0 Various layout tweaks, wx.FIXED_SIZE added, etc.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26655 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-07 21:25:11 +00:00
Robin Dunn
a78cb66358 Add wxRTTI info and set bestSize
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26654 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-07 21:22:24 +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
e478ff9e2d style tweaked
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26652 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-07 19:50:27 +00:00
Robin Dunn
c1fcc7a9b3 Use wx.CLIP_CHILDREN on the splitter windows
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26651 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-07 19:49:36 +00:00
Robin Dunn
00e4ce13ba changed border style
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26650 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-07 19:48:18 +00:00