Commit Graph

15354 Commits

Author SHA1 Message Date
David Elliott
f8c10ed8b3 ConvertToImage: Check !Ok() (we may not have any ref data at all) and if
the bitmap is not okay return wxNullImage (instead of a dummy 5x5 image)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25409 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-29 06:26:10 +00:00
Dimitri Schoolwerth
4d073429a0 Applied patch #886192: "Minor fix to XRC contrib"; Minor cosmetic cleanups.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25406 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-28 14:41:59 +00:00
Dimitri Schoolwerth
51d78461fa Applied remainder of patch #876969: "Fixes to Borland warnings".
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25405 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-28 11:17:02 +00:00
Robin Dunn
a9092ede82 Send an extra size event after creation to work around an apparent bug
in XP's ListView_GetViewRect


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25403 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-27 22:56:08 +00:00
Dimitri Schoolwerth
d1b20379e4 Applied patch #876969: "Fixes to Borland warnings"; Minor code cleanup.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25402 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-27 22:30:13 +00:00
Julian Smart
8cc4850c2d Patch from "Viktor Voroshylo" <viktor@voroshylo.com>
src/.cvsignore : changes to ignore temorary project files
src/regex/.cvsignore : changes to ignore temorary project files for CE compiler
src/regex/regguts.h : assert will be ignored under WinCE
src/msw/button.cpp : BS_FLAT is not available under winCE
src/msw/clipbrd.cpp : changed CLIPFORMAT to wxDataFormat::NativeFormat so it will compile when ole is not included (under winCE)
src/msw/menu.cpp : GetMenuItemCount is not available under winCE. Using wxMenu::GetMenuCount in this case
src/common/regex.cpp : regex will be included under wince
include/wx/msw/wince/setup.h : wxUSE_THREADS & wxUSE_REGEX is enabled by default (as in standard windows configuration)
src/msw/wince/wxWindowsCE.vcp: fixed problem with all configurations (except emu once) do not have procompiled headers setup correctly. Changes for compiling with regex.
src/msw/wince/wxWindowsCE.vcw : added regex in workspace file


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25401 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-27 17:47:37 +00:00
David Elliott
b5df4fc722 wxCocoa: Better icon support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25400 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-27 06:01:34 +00:00
David Elliott
7b466aee08 Moved @interface wxNSApplicationDelegate to new header
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25393 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-27 00:50:57 +00:00
Robin Dunn
2659dad320 wxMac needs the scroll styles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25392 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-26 22:59:38 +00:00
Julian Smart
c45b7e75d1 Added RTTI
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25384 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-26 20:01:30 +00:00
Václav Slavík
6bda7391c1 don't include GetShortcutTarget if OLE is not available; removed fake noop implementation from WinCE, it's better to let the user know it doesn't work by not providing it in the first place
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25382 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-26 12:53:39 +00:00
Stefan Csomor
1c32ded32c reopen app apple event
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25376 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-25 15:17:48 +00:00
Stefan Csomor
1f90939c20 compositing and transition changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25375 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-25 15:17:20 +00:00
Stefan Csomor
f17e0be479 mozilla fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25374 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-25 15:16:45 +00:00
Stefan Csomor
11d1adbfda rendering adjustments for OSX
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25373 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-25 15:15:12 +00:00
Stefan Csomor
5d8fbe213c panther adjustements in size
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25372 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-25 15:13:45 +00:00
Stefan Csomor
1ed1a60984 Ryan's display extension
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25371 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-25 15:12:43 +00:00
Stefan Csomor
5974c3cf06 extensions management unified
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25370 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-25 15:12:02 +00:00
Stefan Neis
3665f7d07e Compute update rectangle only when needed [i.e. if (!m_grid->GetBatchCount())]
[Patch 882656]


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25367 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-25 14:26:06 +00:00
Mattia Barbon
50b079e598 Cleaner fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25365 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-25 08:33:57 +00:00
Dimitri Schoolwerth
a265d21aad Renamed PATPAINT to PATTERNPAINT (The former is an existing define in wingdi.h); Cosmetic code cleanup.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25362 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-24 21:16:59 +00:00
David Elliott
b92ca05a69 Baked bakefiles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25360 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-24 06:22:55 +00:00
Vadim Zeitlin
2b2685355f just clarified an incorrect comment
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25354 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-23 22:06:37 +00:00
Robin Dunn
fe4a107dda wxMenu::Append (and similar) now return a pointer to the wxMenuItem
that was added.  Checked on MSW, GTK, and Mac, other port authors
please double check changes.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25343 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-23 21:02:06 +00:00
Robin Dunn
9add93670b wxMenu::Append (and similar) now return a pointer to the wxMenuItem
that was added.  Checked on MSW, GTK, and Mac, other port authors
please double check changes.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25341 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-23 18:46:05 +00:00
Ryan Norton
2f3f436922 Check for WCHAR_T (thanks to ABX for pointing this out)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25340 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-23 18:42:41 +00:00
Julian Smart
b0fb0f3c71 Applied patch [ 882493 ] Added XRC support for wxStatusBar
By Brian Ravnsgaard Riis


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25337 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-23 10:01:44 +00:00
Ryan Norton
7f71c4c8d3 HID support (preliminary - not added to bakefiles yet)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25335 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-23 09:44:05 +00:00
Robin Dunn
2fd4848088 Fixed a "comparison is always false" warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25334 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-23 02:44:42 +00:00
Robin Dunn
e50d5284f9 Moved wxMacGetSystemEncFromFontEnc and wxMacGetFontEncFromSystemEnc to
a module that is included in wxBase to prevent linking errors.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25333 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-23 02:43:29 +00:00
Dimitri Schoolwerth
0ebb0e5c84 Fixed DDE memory leaks.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25332 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-23 02:30:00 +00:00
Stefan Csomor
c83e123712 no message
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25317 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-22 20:09:31 +00:00
Václav Slavík
a2d452d042 fixed wrong handling of magenta (patch #882201)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25316 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-22 20:05:34 +00:00
Stefan Csomor
25b1b5668e font encoding support added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25315 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-22 18:53:46 +00:00
Stefan Csomor
d9d19e7545 setting the default locale during startup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25314 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-22 18:52:11 +00:00
Stefan Csomor
8057c6d68f moved system-fontencoding conversions to fontutil.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25313 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-22 18:41:58 +00:00
Stefan Csomor
3af5821cf9 mac encodings support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25312 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-22 18:40:04 +00:00
Stefan Csomor
ec79aded14 systen encoding for mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25311 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-22 18:38:40 +00:00
Vadim Zeitlin
f8f9ec5563 implemented SetSelection
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25308 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-22 15:20:34 +00:00
Vadim Zeitlin
8282369a53 preselect the text in the dialog to allow replacing it easier (just as in the text entry dialog)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25307 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-22 15:09:08 +00:00
Vadim Zeitlin
279b5e2ece implemented HitTest() (modified patch 875957)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25306 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-22 14:47:19 +00:00
Vadim Zeitlin
b870b105ae fix what seems to be a big memory leaks in SetPageImage()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25305 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-22 14:39:29 +00:00
Vadim Zeitlin
cbcf084b05 minimal changes needed to allow linking wxCocoa as shared lib
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25303 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-22 13:35:08 +00:00
Vadim Zeitlin
211436b6f4 use wxColourDatabase::Find(), not obsolete FindColour(), in wxColour::InitFromName()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25301 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-22 12:16:04 +00:00
Vadim Zeitlin
e9cece45b9 suppress warnings about implicit float -> int conversions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25300 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-22 11:55:03 +00:00
Vadim Zeitlin
c041438d3f warning about returning something from a void function
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25299 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-22 11:53:29 +00:00
Vadim Zeitlin
2108cc974f suppress warnings about implicit double -> int conversions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25298 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-22 11:52:34 +00:00
Vadim Zeitlin
af77752fc0 don't crash when restoring focus after showing a modal dialog
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25294 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-22 11:26:20 +00:00
Vadim Zeitlin
368ba124ef make it possible to restart timer with a simple Start(), as in other ports
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25293 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-22 11:26:15 +00:00
Vadim Zeitlin
c944ce3573 fixed compilation when wxUSE_THREADS == 0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25292 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-22 11:26:10 +00:00