Commit Graph

15354 Commits

Author SHA1 Message Date
Stefan Csomor
a20d7ea2c5 we have to force live updates under OSX as there is no ScreenDC on OSX available right now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28618 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-04 13:13:16 +00:00
Stefan Csomor
84e5d27d6c corrected scroll rect position
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28617 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-04 11:48:04 +00:00
Włodzimierz Skiba
79630806b6 Blind fix to precompiled headers verified by author of bug #1003085
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28615 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-04 08:04:06 +00:00
David Elliott
83a9be3427 Use new C++ sockets for everything except OS/2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28612 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-04 03:22:44 +00:00
David Elliott
0a64769125 C->C++ conversion
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28611 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-04 03:04:53 +00:00
David Elliott
d2d9c80325 Accidently left in an extra {} and also had wrong license name.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28608 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-03 19:22:09 +00:00
David Elliott
ba2a81d747 Revert original UNIX C->C++ conversion and instead make it work exactly
like the new MSW C++ GSocket.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28607 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-03 19:18:39 +00:00
David Elliott
1f360a2db7 Provide stub for wxDisplayBase::GetCount()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28606 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-03 18:41:18 +00:00
Stefan Csomor
db7a550bd7 refresh had to offset the region by borders
moving windows had to take parent borders into account as well on composited windows


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28605 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-03 18:00:51 +00:00
Włodzimierz Skiba
17a6a2e097 WinCE warning fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28598 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-03 08:24:04 +00:00
David Elliott
a45068485c * Made GSocket::GetError() exp/imp from net library and provide an inline
compatibility function.
* Provide a Null gs_gui_functions implementation.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28596 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-03 04:14:42 +00:00
David Elliott
c90cc42e98 Real C++(ish) code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28595 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-03 03:37:32 +00:00
David Elliott
52a4b53fe1 Prepare for GSocket C->C++ migration
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28594 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-03 03:35:52 +00:00
Julian Smart
d679df70f0 Fix for toolbar workaround (mustn't set flag unless we're in Classic mode
or we get separators showing)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28585 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-02 09:50:03 +00:00
Włodzimierz Skiba
d77833131b Regenerated file after deleting gzstream.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28581 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-02 07:35:49 +00:00
Julian Smart
6d47371207 Fix by George Wismer to get flat toolbars under Windows Classic style,
by setting TBSTYLE_FLAT after toolbar creation


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28576 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-01 09:19:10 +00:00
Julian Smart
4a82116e2e Fixed wxTextCtrl::SetMaxLength for rich edit controls
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28565 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-31 15:43:20 +00:00
Vadim Zeitlin
835ab90ded fixed passing wxCharBuffer to a vararg function (part of bug 1001166)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28558 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-31 13:14:10 +00:00
Dimitri Schoolwerth
4b430ee141 applied patch #997019: '[wxMac] updated wxSound', adds static IsPlaying() and Stop()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28557 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-31 07:36:13 +00:00
Vadim Zeitlin
acb69c1342 invalidate m_selection in DoRemovePage(), not in DeletePage() (replaces patch 998984)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28555 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-30 23:38:36 +00:00
Vadim Zeitlin
2c622d7178 fixed wxDateTime::GetWeekDayName() for wday > Wed (patch 998646)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28553 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-30 23:33:16 +00:00
Vadim Zeitlin
5402d21de1 fixed delete[]/free mismatch in SetAlpha (part of patch 991168)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28552 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-30 23:18:10 +00:00
Vadim Zeitlin
3754265e32 switched to wxEventLoopBase/wxEventLoop implementation (instead of m_impl based one) for wxMSW; minimal changes for the other ports
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28549 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-30 22:54:31 +00:00
Włodzimierz Skiba
eecdb0007f Conditional compilation fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28546 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-30 19:14:42 +00:00
Włodzimierz Skiba
534b127cac Warning cleaning.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28545 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-30 17:44:18 +00:00
Włodzimierz Skiba
79e162f526 Code and warning cleaning.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28544 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-30 15:55:53 +00:00
Julian Smart
22800f325f Can't use directives within a macro
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28541 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-29 20:21:02 +00:00
Julian Smart
90dedfca12 Needs log.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28540 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-29 20:17:15 +00:00
David Elliott
05cbefbfab Removed unused event table entries
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28539 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-29 13:52:24 +00:00
Vadim Zeitlin
7b24e97518 fix for assert when copying bitmap in CloneRefData()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28538 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-29 09:39:52 +00:00
Julian Smart
5a6371b940 Checkbox needs an extra pixel in height on WinCE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28537 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-29 08:44:42 +00:00
David Elliott
32524c8fb8 C/C++ differences
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28536 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-29 02:07:42 +00:00
David Elliott
f7ff39c6ac Copied from src/msw/gsocket.c revision 1.61
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28535 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-29 02:03:44 +00:00
David Elliott
1c8681b4d8 Applied gsockmsw.c 1.20 to 1.25 changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28534 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-29 01:40:07 +00:00
David Elliott
79099b80ad wxWindowMSW::OnInitDialog is only implemented for WinCE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28533 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-28 19:34:19 +00:00
Stefan Neis
d3a919bdce Switched from wxUsleep to wxMilliSleep/wxMicroSleep.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28532 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-28 16:02:50 +00:00
Stefan Csomor
055a486bbe trying to get coordinates of native controls and wx coordinates in synch. as native controls cannot draw arbitrary borders we have to take care of that ourselves...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28530 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-28 13:56:56 +00:00
Stefan Csomor
9c4e5c709e HasFlag is not set at this point
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28529 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-28 13:51:03 +00:00
Stefan Csomor
441b46ac5e Refresh is necessary in earlier systems, no penalty when doing in 10.3+
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28528 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-28 13:48:28 +00:00
Julian Smart
d26e1ab206 Worked around static box opaqueness problem on WinCE by setting the
z-order in OnInitDialog


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28526 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-28 09:34:25 +00:00
Vadim Zeitlin
8f6819d763 removed GSocket_[Un]Streamed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28524 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-28 00:35:33 +00:00
Julian Smart
64133c38ea Under WinCE, we need to send the groupbox z position to the bottom
to reveal the controls that were created after the group control.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28523 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-27 20:30:22 +00:00
Włodzimierz Skiba
41b8fe99b4 Missing DMC OFN_* values.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28520 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-27 18:04:01 +00:00
Václav Slavík
418b7d6ba5 fixed memory leak
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28519 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-27 11:34:31 +00:00
Stefan Csomor
564cb9de61 region from polygon added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28518 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-27 11:28:20 +00:00
Václav Slavík
768276f6ed fixed sending 2 events (normal and bogus cancel one) when ending to edit a tree ctrl item (same thing as patch 978403 for treectlg.cpp)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28516 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-27 08:53:10 +00:00
David Elliott
b082b52407 Incorporated src/unix/gsocket.c 1.86 to 1.92 changes (except 1.90 to 1.91
which was applied by Vadim as 1.9 to 1.10 of src/unix/gsocket.cpp)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28515 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-27 02:15:32 +00:00
Vadim Zeitlin
2d080a4963 removed GSocket_Unstreamed() call
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28514 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-26 22:14:59 +00:00
Vadim Zeitlin
17d3ce7eff removed GSocket_[Un]Streamed(), GSocket_SetNonOriented() must be used instead
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28513 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-26 21:35:32 +00:00
Vadim Zeitlin
f7aa747716 removed _GSocket::m_oriented
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28512 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-26 21:33:54 +00:00