Commit Graph

24135 Commits

Author SHA1 Message Date
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
cc3bb83d94 fixed quitting the sample; fixed memory leak of CDummyWindow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28551 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-30 23:05:53 +00:00
Vadim Zeitlin
885ebd2b32 fixed MFC sample (bug 978194)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28550 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-30 23:01:04 +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
Vadim Zeitlin
2cc1424ded define WXMSG same as Win32 MSG instead of untyped pointer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28548 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-30 22:51:46 +00:00
Włodzimierz Skiba
97e4cf6da5 Additional configuration check.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28547 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-30 19:23:25 +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
Włodzimierz Skiba
8b567f9b46 wxUSE_STL fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28543 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-30 15:41:00 +00:00
Włodzimierz Skiba
c7f8ebf848 wxUSE_STL fixes and suggested coding of -1/TRUE/FALSE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28542 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-30 15:28:32 +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
Vadim Zeitlin
7802e5d0b2 fixed subrelease test in wxCHECK_VERSION_FULL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28531 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-28 14:22:11 +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
Włodzimierz Skiba
b6d0f0c7a5 Score dialog improvements.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28527 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-28 09:36:45 +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
Włodzimierz Skiba
154fd1e473 Fixed lack of copying help. Regenerated makefiles.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28525 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-28 09:24:24 +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
d9ab621ea2 Finally whole configtool works regardless of wxUSE_STL value (at least with Borland). Changes followed adjustements of other things like better styles, storing pointers, unified headers of files, etc. etc.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28522 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-27 19:14:36 +00:00
Włodzimierz Skiba
413fac165f Missing headers.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28521 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-27 18:12:13 +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
2c21838ef9 removed useless event handlers that were breaking focus handling in wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28517 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-27 09:40:28 +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
Julian Smart
5c760b84fc Don't return wxEmptyString for e.g. wxPathOnly("\file.txt")
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28511 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-26 20:55:59 +00:00
Julian Smart
7649d8fc00 Stub out SetToolTip to avoid massive ifdefing when encountering
a platform that doesn't support them


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28510 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-26 20:16:19 +00:00
Julian Smart
503528dca0 OFN_ENABLESIZING not appropriate for WinCE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28509 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-26 18:48:54 +00:00
Vadim Zeitlin
ac7f6cf0a9 check if wxTheApp still exists in FreeColour(); fixes crash on shutdown
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28508 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-25 23:42:45 +00:00
Vadim Zeitlin
3cd2f0bdee IsTopLevel() may return true not only for wxTLW: this fixes crash when opening a menu
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28507 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-25 23:34:37 +00:00
Vadim Zeitlin
082006f3ab detach removed submenu from the menubar too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28506 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-25 23:13:57 +00:00
Vadim Zeitlin
b8033a5ddc replace wxHashTable with a type safe hash map of Window to wxWindow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28505 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-25 23:09:33 +00:00
Vadim Zeitlin
fe8604acce insert now returns pair<iterator, bool>, as for the standard map
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28504 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-25 23:05:28 +00:00
Vadim Zeitlin
e5aa044ba4 compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28503 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-25 20:13:23 +00:00