Commit Graph

12680 Commits

Author SHA1 Message Date
Julian Smart
781bdbb410 Only call Select within SetString when internal data has been restored,
else assert results if the item was selected


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26736 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-13 10:29:55 +00:00
Stefan Csomor
143d08f8f4 all databrowser implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26735 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-13 10:23:37 +00:00
Stefan Csomor
f1d527c1ad switching to native focus handling
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26732 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-13 05:25:54 +00:00
Stefan Csomor
92a7272fdb fixing right click
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26731 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-13 05:21:31 +00:00
Stefan Csomor
d85611ba84 mouse handling changed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26730 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-13 05:19:35 +00:00
Stefan Csomor
bdf956fb42 recursive tab processing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26729 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-13 05:16:03 +00:00
Stefan Csomor
4c37f1248b switching to CreateXXX methods for Controls and to Hit Event Processing, thus supporting full keyboard access mode
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26728 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-13 05:14:14 +00:00
Roger Gammans
13f6e9e8e1 * fix bug where editing of the bootom and right most cell is not
corectly completed.
 * Some tidying of end edit code paths. (such as in AutoSizeRowOrCol)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26726 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-12 19:59:46 +00:00
Robert Roebling
e5aa8b8171 eVC 3.0 doesn't like WS_CAPTION. I imagine that
eVC 4.0 just ignores it.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26723 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-12 15:37:17 +00:00
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
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
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
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
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
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
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