Commit Graph

22341 Commits

Author SHA1 Message Date
Robert Roebling
c1edc08df3 eVC 3.0 doesn't know ExitProcess() but _exit() is OK.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26722 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-12 10:35:04 +00:00
Robert Roebling
d9397a05a3 eVC++ 3.0 doesn't know WS_THICKFRAME
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26721 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-12 10:33:55 +00:00
David Elliott
af8491078d Change m_windowCurrent to m_currentNSWindow such that m_currentNSWindow is
never used directly but only to look up the associated wxCocoaNSWindow.
If the wxCocoaNSWindow cannot be found later in UpdateMenuBar then it's
likely been destroyed but no crash will result as before.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26720 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-12 04:58:32 +00:00
Václav Slavík
37c2a8dab0 don't use strcpy to copy between overlapping strings, it's undefined operation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26719 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-11 21:36:06 +00:00
Václav Slavík
08bc54902d made it possible to easily regenerate makefiles with stream suit (temporary, before remaining problems are fixed)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26718 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-11 20:59:46 +00:00
Václav Slavík
e7a0050ff5 added more styles (patch 933354)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26717 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-11 20:59:39 +00:00
Václav Slavík
08776b0914 stream tests improvements (patch 924438)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26716 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-11 20:59:33 +00:00
Václav Slavík
044a69a42d added some cppunit convenience macros (part of patch 924438)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26715 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-11 20:59:26 +00:00
Václav Slavík
a84e46f231 stream classes docs and code fixes (part of patch 924438)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26714 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-11 20:58:56 +00:00
Václav Slavík
4c68a10264 improvements to zlib streams (patch 929416):
1. CanHandleGZip static method
2. code cleanup
3. 2.4 compatibility mode


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26713 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-11 19:34:56 +00:00
Václav Slavík
3e0a7f68f9 minor correction
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26712 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-11 19:32:52 +00:00
Václav Slavík
a1c7668e50 added wxTE_AUTO_SCROLL and wxTE_NO_VSCROLL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26711 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-11 19:11:27 +00:00
David Elliott
894d6c9abd Use wxAutoNSAutoreleasePool when destroying wxIconRefData
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26710 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-11 17:59:43 +00:00
Stefan Csomor
1a42f89c41 expose find window method
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26709 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-11 15:23:00 +00:00
Stefan Csomor
2877659b05 fixing target determination for compositing windows, but we don't always get proper highlights for target windows
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26708 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-11 15:17:57 +00:00
Václav Slavík
eddb325043 added wx/msw/wince/libraries.h to workaround SDK differences problems
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26707 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-11 15:14:50 +00:00
Václav Slavík
c63ea290f0 removed aygshell and ceshell from WinCE build, not all SDKs have it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26706 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-11 14:57:30 +00:00
Vadim Zeitlin
b19dae2c04 in wxGetFontEncFromCharSet(): map only DEFAULT_CHARSET to wxFONTENCODING_SYSTEM (but not all the others); also handle SYMBOL_CHARSET separately
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26705 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-11 10:55:55 +00:00
Vadim Zeitlin
24056b9e28 serialize wxNativeEncodingInfo using font names, not numbers which are subject to change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26704 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-11 10:50:22 +00:00
Vadim Zeitlin
910b9fc5c0 added GetEncodingFromName(); documented it and rearranged the methods in alphaabetical order
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26703 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-11 10:40:04 +00:00
Václav Slavík
635f33cedd fixed wxMBConv::cMB2WC and cWC2MB to check for conversion failure
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26702 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-11 09:47:31 +00:00
Dimitri Schoolwerth
98773c1c8b applied patch #933086: "scrollbar stops compilation due to missing header"
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26701 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-11 07:26:39 +00:00
David Elliott
5ea738ffd1 Yield changes:
1. Rework the loop using wxAutoNSAutoreleasePool such that each iteration
   (get/send event) is done within the context of an NSAutoreleasePool.
2. Use nil instead of [NSDate distantPast] (means the same thing)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26700 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-11 04:09:20 +00:00
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