Maarten
977a826639
use more wxOVERRIDE ( #329 )
2016-09-25 13:21:28 -07:00
Tobias Taschner
8282c1be0f
Remove Windows CE support
...
Windows CE doesn't seem to be supported by Microsoft any longer. Last CE
release was in early 2013 and the PocketPC and Smartphone targets supported by
wxWidgets are long gone.
The build files where already removed in an earlier cleanup this commit
removes all files, every #ifdef and all documentation regarding the Windows CE
support.
Closes https://github.com/wxWidgets/wxWidgets/pull/81
2015-09-23 00:52:30 +02:00
Paul Cornett
36e31e515e
avoid shadowed variable warnings with VS2015
2015-07-24 20:56:11 -07:00
Vadim Zeitlin
3f66f6a5b3
Remove all lines containing cvs/svn "$Id$" keyword.
...
This keyword is not expanded by Git which means it's not replaced with the
correct revision value in the releases made using git-based scripts and it's
confusing to have lines with unexpanded "$Id$" in the released files. As
expanding them with Git is not that simple (it could be done with git archive
and export-subst attribute) and there are not many benefits in having them in
the first place, just remove all these lines.
If nothing else, this will make an eventual transition to Git simpler.
Closes #14487 .
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74602 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-07-26 16:02:46 +00:00
Vadim Zeitlin
070d639118
No real changes, just fix some typos in comments in wxMSW code.
...
Closes #14994 .
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73435 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-01-23 11:44:26 +00:00
Vadim Zeitlin
6e34a9e443
Fix crash on wxMediaCtrl creation in wxMSW.
...
A valid RECT pointer must be passed to DoVerb(OLEIVERB_INPLACEACTIVATE) but
r72027 (see #14209 ) broke this and passed it NULL resulting in an instant
crash.
Revert this part of the change and do pass out window client area.
Closes #14682 .
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72534 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-09-21 10:26:18 +00:00
Vadim Zeitlin
d1877f8400
Activate OLE ActiveX controls before requesting their window.
...
Change the order of IOkeInPlaceActiveObject::GetWindow() and
DoVerb(OLEIVERB_INPLACEACTIVATE) calls and do the latter first now as
otherwise GetWindow() returned NULL for standard ActiveX controls created by
MFC.
Closes #14209 .
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72027 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-07-11 11:42:34 +00:00
Steve Lamerton
1f7d05f019
Add wxActiveXContainer::QueryClientSiteInterface to allow customisation of ActiveX controls.
...
Closes #13784 .
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70361 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-01-15 19:05:34 +00:00
Steve Lamerton
8a4e043aef
Override MSWTranslateMessage for wxActiveXContainer. Calling IOleInPlaceActiveObject::TranslateAccelerator ensures that accelerators and other keyboard functionality behaves correctly.
...
Fixes #13679 .
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@69862 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-11-28 20:19:16 +00:00
Vadim Zeitlin
2d5779d440
Don't hide/show wxActiveXContainer when resizing it.
...
This results in bad flicker as can be seen with wxWebView or wxMediaCtrl and
just doesn't seem to be necessary.
Closes #13680 .
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@69831 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-11-27 19:49:58 +00:00
Steve Lamerton
1ce077e25b
Adjust testing for non-visible controls in wxActiveXContainer.
...
Fixes #13659
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@69785 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-11-17 20:39:44 +00:00
Dimitri Schoolwerth
a1b806b982
Replaced Ok() occurrences with IsOk() throughout trunk.
...
Additionally renamed wxOSX' private wxNativePrinterDC::Ok() function to IsOk().
Didn't deprecate the various Ok() functions: given the amount of changes already introduced in 3.0 a trivial one like this seems more suitable for after 3.0.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67681 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-05-03 16:29:04 +00:00
Vadim Zeitlin
648c1af93d
Always create new OLE objects with reference count of 1, not 0.
...
There are no real changes but ensure that the new objects of classes using
DECLARE_OLE_UNKNOWN() macro are created with valid reference count of 1
instead of being created in phantom state with reference count of 0.
Remove the now unnecessary AddRef() and add the now required DecRef() calls.
See #11566 .
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@65912 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-10-24 22:41:41 +00:00
Vadim Zeitlin
e0b5dc3d63
Fix problems with reference counting in wxActiveXContainer.
...
Ensure that the IFrameSite object is created with valid (i.e. non-zero)
reference count by calling AddRef() on it immediately after creation and
remove the weird QueryInterface() call which was used to work around this bug.
Closes #11566 .
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@65911 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-10-24 22:41:36 +00:00
Vadim Zeitlin
21e5aa164e
Don't consider lack of connection points an error in wxActiveXContainer.
...
Handle CONNECT_E_NOCONNECTION return value from IConnectionPointContainer::
FindConnectionPoint() as an expected error and don't complain about it.
See #11566 .
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@65910 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-10-24 22:41:29 +00:00
Václav Slavík
c986b01f89
Added wxAutoOleInterface<T> template.
...
This replaces WX_DECLARE_AUTOOLE with easier-to-debug version. The
macro is still preserved for backward compatibility.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63038 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-01-02 13:07:17 +00:00
Vadim Zeitlin
e5a1bd6409
Don't crash in wxActiveXContainer if FindConnectionPoint() failed.
...
This method is supposed to succeed but don't crash by calling Advise() on NULL
pointer if it did not.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62779 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-12-05 14:25:53 +00:00
Vadim Zeitlin
d2f434e428
(harmless) Borland release build warning fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60348 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-25 14:07:38 +00:00
Vadim Zeitlin
4b6a582bef
replace more __WXDEBUG__ occurrences with wxDEBUG_LEVEL
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59725 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-22 12:53:48 +00:00
Vadim Zeitlin
9b11752c4f
require semicolon after wxDECLARE/DEFINE_EVENT() ( closes #10456 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58718 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-07 18:59:25 +00:00
Vadim Zeitlin
da58c4e6a0
compilation fix for VC6 after last change; use wx naming conventions
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58411 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-25 18:55:22 +00:00
Vadim Zeitlin
2ddb8ccf60
convert COM arguments to wx lazily to improve performance and allow calling Invoke/handling events involving parameters which can't be mapped to wx types at all (new GetNativeParameters() method can be used to access them) ( closes #9606 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58384 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-25 12:25:43 +00:00
Vadim Zeitlin
403dd8db63
add missing header for mingw32 PCH-less build
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58148 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-16 16:37:44 +00:00
Vadim Zeitlin
07a971eeff
don't try to destroy the already destroyed OCX HWND
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58098 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-14 15:41:59 +00:00
Vadim Zeitlin
9b53796d59
fix memory leak of FrameSite (see #3935 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58087 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-13 23:04:03 +00:00
Vadim Zeitlin
0641c71271
use wxWindow::GetClientSize() instead of ::GetClientRect() in wxActiveXContainer::CreateActiveX()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58086 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-13 22:53:49 +00:00
Vadim Zeitlin
3c77890141
add more flexible and safer template Connect() overloads ( #10000 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58039 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-12 14:26:13 +00:00
Vadim Zeitlin
f1430ac766
slightly better error reporting (could still be improved)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56465 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-20 10:43:17 +00:00
Vadim Zeitlin
e822d1bd5f
fix more Borland release build warnings about unused variable/code without effect
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56463 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-20 10:30:49 +00:00
Paul Cornett
363e2dc013
non-pch build fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50442 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-03 02:20:49 +00:00
Stefan Csomor
0290aeac57
adaptions for latest dc changes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50360 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-30 16:46:19 +00:00
Vadim Zeitlin
1fcac43d7a
removed unused variable (thanks Borland)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42688 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 23:38:37 +00:00
Vadim Zeitlin
a1f48575d1
added wxUSE_ACTIVEX which depends on wxUSE_VARIANT and which wxUSE_MEDIACTRL depends on (closes 1569606)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41581 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-02 22:37:07 +00:00
Włodzimierz Skiba
18680f8651
Include wx/math.h according to precompiled headers of wx/wx.h (with other minor cleaning).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39745 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-15 17:58:49 +00:00
Włodzimierz Skiba
ed4b0fdca6
Include wx/dcclient.h according to precompiled headers of wx/wx.h (with other minor cleaning).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39085 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-06 21:51:49 +00:00
Włodzimierz Skiba
4bc6f7a06c
Warning fix.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38294 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-23 10:11:05 +00:00
Włodzimierz Skiba
5d484919aa
forward port from 2.6 - eVC3 fix.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38138 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-16 08:52:36 +00:00
Julian Smart
ff759b6ad3
Fix for WinCE
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38102 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-15 10:28:38 +00:00
Julian Smart
b1c6a00e63
Fix compile problem with VS 2005
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38092 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-15 08:44:28 +00:00
Vadim Zeitlin
f3a69d1df1
gcc initializer order fix warning (patch 1432835)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37631 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-18 18:16:57 +00:00
Vadim Zeitlin
f74fd79b8e
removed extra semicolons added by previous patch (patch 1429906)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37529 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-12 13:01:07 +00:00
Vadim Zeitlin
6505ca85df
fixed deprecation warnings; removed #if 0'd code
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37465 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-10 20:14:48 +00:00
Vadim Zeitlin
557002cf81
Ryan's cumulative wxActiveX and media control patch (1427775)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37461 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-10 19:37:40 +00:00
Jamie Gadd
68df211fae
Deprecate wxDC::{Begin,End}Drawing()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37315 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-05 11:59:59 +00:00
Robin Dunn
f36b056bd0
Removed wxLogNull's used to supress errors coming from
...
wxCheckWindowWndProc.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37137 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-25 20:28:12 +00:00
Julian Smart
a5fc9a1ca0
WinCE fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37129 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-25 18:14:08 +00:00
Robin Dunn
f3ebbc0ac8
Remove the busy-wait loops in wxAMMediaBackend::Play as they didn't
...
work right anyway...
Also silence some log messages when a failure is expected from
wxCheckWindowWndProc.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36910 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-17 04:20:56 +00:00
Włodzimierz Skiba
d126840117
eVC3/PPC2002 build fix.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36169 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-13 21:48:53 +00:00
Włodzimierz Skiba
6092f24fae
eVC3 build fix.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36035 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-29 15:18:18 +00:00
Włodzimierz Skiba
7dab17dd7a
Build fix for WinCE.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36029 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-28 09:12:15 +00:00