Commit Graph

42561 Commits

Author SHA1 Message Date
Vadim Zeitlin
5ec69e9666 made SetCurrent() and SwapBuffers() return boolean status indicator instead of void (slightly modified patch 1844090)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50900 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-22 15:48:03 +00:00
Vadim Zeitlin
242019eef3 handle VT_ARRAY/VT_BYREF VARIANTs in wxConvertOleToVariant() (patch 1845897)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50899 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-22 15:22:16 +00:00
Vadim Zeitlin
07c0e08a26 replace wxWindowDC with wxDC in generic wxOverlayImpl too to fix compilation after r50886--50890 changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50898 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-22 15:14:24 +00:00
Vadim Zeitlin
9ef6890f0b added wxColourBase::Init() and use DEFINE_STD_WXCOLOUR_CONSTRUCTORS() in all ports now (patch 1851600)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50897 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-22 15:03:58 +00:00
Vadim Zeitlin
c8d380be4d don't use rand() for selecting the colour of the bitmaps to append, this results in 2 pairs of identical colours here without srand() and looks too much like a bug
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50896 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-22 14:56:56 +00:00
Vadim Zeitlin
b133e7e27f fix the size of bitmaps we create (bug 1851598)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50895 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-22 14:37:08 +00:00
Vadim Zeitlin
cab9b205c3 discard any pending messages for the socket being destroyed to avoid the problem with having them delivered to the next socket we create which reuses the same message number (patch 1856012)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50893 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-22 14:05:25 +00:00
Stefan Csomor
7b98cf028f keep the owning window
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50892 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-22 09:25:37 +00:00
Stefan Csomor
fdf3ce593b removing unnecessary casts
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50891 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-22 09:23:16 +00:00
Stefan Csomor
a1657b633e changing to wxDC, so that wxGCDC can be used as well
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50890 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-22 09:16:57 +00:00
Stefan Csomor
e686aa37b5 changing to wxDC, so that wxGCDC can be used as well
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50889 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-22 09:13:38 +00:00
Stefan Csomor
156310e2e5 changing to wxDC, so that wxGCDC can be used as well
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50888 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-22 09:12:18 +00:00
Stefan Csomor
3f434666bf changing to wxDC, so that wxGCDC can be used as well
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50887 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-22 09:10:38 +00:00
Stefan Csomor
1d7ed72986 changing to wxDC, so that wxGCDC can be used as well
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50886 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-22 09:07:56 +00:00
Stefan Csomor
30d54e2732 changing to wxDC, so that wxGCDC can be used as well
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50885 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-22 09:06:39 +00:00
Stefan Csomor
1f991c9d52 keeping the constness
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50884 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-22 09:05:13 +00:00
Stefan Csomor
5f0d341166 forgot to release capture
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50883 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-22 08:57:28 +00:00
Stefan Csomor
8a021e0074 adding rubberbanding
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50882 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-22 08:44:35 +00:00
Václav Slavík
5e1a9f05c7 fixed XRC handler for sizers to do the expected thing when putting controls into wxScrolledWindow: let them determine virtual size, not real size
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50879 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-21 22:49:58 +00:00
Václav Slavík
7d616e99ed fixed wxScrolledWindow best size calculation: compute something (this was broken after 2.8) and don't use current size in computation; also removed now-unused ScrollGetWindowSizeForVirtualSize() method to simplify the code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50877 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-21 22:47:55 +00:00
Václav Slavík
8a6a997fb0 toplevel window is shown on screen even if its parent is hidden
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50876 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-21 13:53:41 +00:00
Jouk Jansen
76c32e7b97 Updates For OpenVMS support and some extra includes to define wx(xxxx)DC types.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50875 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-21 09:58:20 +00:00
Vadim Zeitlin
c0bf294f24 don't use Unix-specific files which have Darwin-specific counterparts in wxMac/wxCocoa (fixes linking of wxCocoa after socket changes)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50870 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-21 01:36:16 +00:00
Michael Wetherell
18d291a8c3 Move the intel Mac build to a different machine as the current one is down.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50869 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-20 20:50:27 +00:00
Václav Slavík
02a3389106 wxScrolledWindow can get wxEVT_CHILD_FOCUS event for itself, handle that case too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50867 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-20 20:04:46 +00:00
Václav Slavík
2ada746fb4 compilation fix for !wxUSE_THREADS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50866 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-20 19:42:04 +00:00
Václav Slavík
df405da528 fixed wxHAS_GENERIC_PROCESS_CALLBACK check to use #ifdef, not #if
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50865 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-20 19:34:58 +00:00
Václav Slavík
57c5c10fb3 skip wxChildFocusEvent in WX_DELEGATE_TO_CONTROL_CONTAINER, so that other code can see the notification too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50862 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-20 18:30:38 +00:00
Robert Roebling
71cf399ff0 Playing with wxgrid, adding optionnally native columns labels
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50861 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-20 15:05:03 +00:00
Vadim Zeitlin
ac209a0f70 regenerate after the recent changes (wxDataViewCtrl enabled by default, socket sample available in wxBase, ...)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50860 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-20 14:12:53 +00:00
Vadim Zeitlin
f2582d7d90 show the message about test2 being unsupported on the console
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50859 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-20 14:08:32 +00:00
Vadim Zeitlin
2f08f1a423 use LF EOL style for Unix files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50858 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-20 12:03:34 +00:00
Robert Roebling
ad684023c5 Remove old event type compatibility
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50857 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-20 11:24:44 +00:00
Julian Smart
8dba4c7230 Corrected wxRTTI for wxNotebook so dynamic casting to wxBookCtrlBase works
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50856 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-20 10:52:05 +00:00
Paul Cornett
24377c4681 remove old thread debugging code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50852 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-20 06:25:12 +00:00
Paul Cornett
ef94049fb7 remove unused variables, tabs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50851 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-20 06:08:35 +00:00
Paul Cornett
956e6c7b9c remove extra semicolon
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50850 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-20 06:08:17 +00:00
Paul Cornett
901a462fd5 make access for virtuals match base
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50849 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-20 06:08:00 +00:00
Paul Cornett
18591d70d9 DC headers don't need to be in gtk/private.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50848 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-20 06:07:40 +00:00
Paul Cornett
86d58c90cb more code simplification
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50847 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-20 06:07:17 +00:00
Vadim Zeitlin
ef32916629 set up the correct layout direction for memory dc in Render() (patch 1789359)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50846 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-20 01:19:15 +00:00
Vadim Zeitlin
0bc8ff0974 use LF style for Unix files which don't work under Cygwin if they have CR LF (feature request 1853440)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50845 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-20 01:05:19 +00:00
Vadim Zeitlin
9183da066e no need to reenable VC warning 4251 now as it's globally disabled in wx/defs.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50844 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-20 00:55:03 +00:00
Vadim Zeitlin
32aa5bda92 made deprecated erase() overload inline
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50843 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-20 00:53:24 +00:00
Vadim Zeitlin
360c6b7edb document HideWithEffect() too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50842 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-20 00:47:34 +00:00
Václav Slavík
06b9c2a22f when a window inside scrolled window receives focus, make sure the parent is scrolled so that the window with focus is visible
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50835 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-19 19:21:52 +00:00
Václav Slavík
46c7e1a120 implemented wxExecute() for wxDFB; share the implementation with wxX11
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50834 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-19 18:52:55 +00:00
Stefan Csomor
93254327a1 fixing strange bug under OS X (null strings from within CoreFoundation)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50833 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-19 17:05:57 +00:00
Vadim Zeitlin
1bf629bd9a fix for ANSI mode build (patch 1853001)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50832 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-19 16:50:06 +00:00
Vadim Zeitlin
2804f77d88 more socket cleanup to allow using wxSocket from both wxBase and wxCore (replaces patch 1756260)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50831 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-19 16:45:08 +00:00