Compare commits

..

1028 Commits

Author SHA1 Message Date
Bryan Petty
d6346c0fed This commit was manufactured by cvs2svn to create tag 'WX_2_4_2_5'.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/tags/WX_2_4_2_5@28574 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-31 21:05:38 +00:00
Robin Dunn
e1688485fd Avoid warnings in the DLL builds
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28573 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-31 21:05:38 +00:00
Robin Dunn
f16ab95d53 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28572 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-31 20:25:51 +00:00
Robin Dunn
d8ef5f5623 fixed version number
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28571 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-31 20:25:29 +00:00
Robin Dunn
4bd19ff333 fixed typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28570 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-31 20:25:13 +00:00
Robin Dunn
9f8a9f5489 Various updates to catch up to wxWidgets CVS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28569 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-31 20:24:29 +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
Robin Dunn
eaca2a2cfc Fixed compilation error
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28556 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-31 04:39:49 +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
2ea5d24d16 German translation update (patch 1000305)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28554 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-30 23:34:25 +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
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
Dimitri Schoolwerth
02af5ea4ba removed reference to deleted wxNotebookSizer programming section
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28502 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-25 17:49:27 +00:00
Dimitri Schoolwerth
6f63b8adb8 added missing closing bracket
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28501 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-25 17:45:15 +00:00
Dimitri Schoolwerth
e4451d8773 fixed tex2rtf errors
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28500 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-25 17:38:46 +00:00
Vadim Zeitlin
bb0926cc00 compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28499 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-25 17:26:13 +00:00
Vadim Zeitlin
7fc4caa60a compilation warning fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28498 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-25 17:25:04 +00:00
Vadim Zeitlin
b765da9f50 reverted previous patch applied by mistake
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28497 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-25 17:21:42 +00:00
Vadim Zeitlin
f2f38edc2c invalidate selection when deleting the page changes its index (replaces patch 865500)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28496 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-25 17:12:28 +00:00
Vadim Zeitlin
7c9955536a use wxWindowDisabler instead of ShowModal() for showing the print preview frame (patch 832288)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28495 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-25 17:09:30 +00:00
Vadim Zeitlin
74c481d117 replaced my recent GSocket_SetReuseAddr() addition with GSocket_SetReusable() from the patch 992473; it also adds and documents wxSOCKET_REUSEADDR flag
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28494 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-25 17:06:01 +00:00
Vadim Zeitlin
733a25f0f4 better Finnish translations (patch 993051)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28493 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-25 16:57:44 +00:00
Vadim Zeitlin
0b11099dd6 implemented moving the dialog (patch 996448)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28492 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-25 16:56:00 +00:00
Dimitri Schoolwerth
7bef714caa converted char * references to wxChar *
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28491 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-25 16:50:57 +00:00
Vadim Zeitlin
0afb585238 don't define _CRTDBG_MAP_ALLOC as it is apparently unnecessary (patch 995135)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28490 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-25 16:47:33 +00:00
Vadim Zeitlin
372c511b70 don't include wx/wxprec.h from the headers (patch 993136)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28489 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-25 16:44:47 +00:00
Vadim Zeitlin
282d1e47f9 dc.h shouldn't include itself (patch 992933)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28488 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-25 16:39:07 +00:00
Dimitri Schoolwerth
b11dd80fa4 typo fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28487 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-25 16:38:58 +00:00
Dimitri Schoolwerth
749bb9f129 added shortcut functions AddSpacer and AddStretchSpacer (plus Prepend and Insert variants)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28486 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-25 16:37:48 +00:00
Vadim Zeitlin
db4c39a9e8 fixed header include guard position (patch 992443)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28485 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-25 16:36:51 +00:00
Vadim Zeitlin
189f58faea don't assign the same normal value for all the other bitmaps, leave them empty (patch 990370)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28484 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-25 16:33:38 +00:00
Vadim Zeitlin
c328d0ad10 update the caret bitmap size in EVT_SIZE (patch 990361)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28483 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-25 16:32:24 +00:00
Vadim Zeitlin
37340c48fb corrected assert in wxSocket::Initialize()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28482 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-25 16:25:00 +00:00
Vadim Zeitlin
bdb1f15c2b unused param warnings fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28481 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-25 16:18:58 +00:00
Vadim Zeitlin
c2919ab326 added status bar fields styles support (patch 988292)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28480 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-25 16:13:52 +00:00
Vadim Zeitlin
22dec51f90 fixed flushing of secondary log target in wxLogChain (patch 985711)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28479 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-25 16:02:54 +00:00
Vadim Zeitlin
00e092707b fixed wxList copy ctor (patch 985473)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28478 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-25 15:59:23 +00:00
Vadim Zeitlin
e6bf95736e compilation fix for a patch which didn't compile...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28477 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-25 15:52:40 +00:00
Vadim Zeitlin
09088d12d4 compilation fix after last commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28476 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-25 15:48:14 +00:00
Vadim Zeitlin
cd8c3f17fc removed #pragma interface without matching #pragma implementation (replaces patch 981135)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28475 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-25 15:44:47 +00:00
Vadim Zeitlin
69936aea19 added DoCreate/Load/SaveDocument() (patches 983570 and 983571)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28474 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-25 15:42:11 +00:00
Vadim Zeitlin
c48908df67 added GetHeaderValue() (patch 974427)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28473 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-25 15:30:42 +00:00
Vadim Zeitlin
eb7f24c1b5 don't crash if we delete the item being edited (replaces patch 979733)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28472 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-25 15:24:17 +00:00
Vadim Zeitlin
d0cc483d17 unselect previously selected items in SetSelection() (patch 974326)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28471 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-25 15:06:58 +00:00
Vadim Zeitlin
10cbb81eda corrected Center() for cases when client display rect origin is not at (0, 0) (patch 973192)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28470 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-25 15:03:13 +00:00
Vadim Zeitlin
4524a24b40 added SetPath() test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28469 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-25 14:01:36 +00:00
Vadim Zeitlin
f1e7793361 added and documented SplitVolume() and GetPathTerminators(); corrected SetPath() to treat the volume part properly (patch 970580)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28468 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-25 13:59:47 +00:00
Vadim Zeitlin
f095b1fc57 added wxFileName test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28467 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-25 13:27:42 +00:00
Vadim Zeitlin
92661f9794 support for alpha channel in toolbars (patch 949843)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28466 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-25 12:59:32 +00:00
Vadim Zeitlin
90bddb8566 check better before overwriting files (patch 951868)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28465 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-25 12:54:15 +00:00
Vadim Zeitlin
4cc90442d0 documented how to use sockets in non-main thread (patch 951134)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28464 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-25 12:41:14 +00:00
Vadim Zeitlin
7df69621d9 don't set SO_REUSEADDR by default; added GSocket_SetReuseAddr()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28463 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-25 12:40:10 +00:00
Vadim Zeitlin
8158e0e169 FindItem() implementation (patch 950021)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28461 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-25 12:32:59 +00:00
Vadim Zeitlin
e0e3a32dac fixed Freeze/Thaw() for wxCombobox (patch 925808)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28460 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-25 12:30:25 +00:00
Vadim Zeitlin
a494b2bc2c added IsFrozen() (part of patch 925808)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28459 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-25 12:30:08 +00:00
Vadim Zeitlin
93212feea0 use BS_RIGHT for right-aligned controls (patch 945460)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28458 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-25 12:27:23 +00:00
Vadim Zeitlin
34ad2e8f4a rewrote this page to look like all the others; added wxALIGN_RIGHT test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28457 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-25 12:24:42 +00:00
Vadim Zeitlin
8772bb0838 typos in comments
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28456 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-25 12:23:52 +00:00
Vadim Zeitlin
d5cd19b45c wxGTK/Cygwin fix (patch 914565)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28455 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-25 11:34:37 +00:00
Vadim Zeitlin
77a806722a use Unix path separators under Cygwin
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28454 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-25 11:33:34 +00:00
Vadim Zeitlin
bfa7bf7d6b basic UDP support (patch 835128)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28453 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-25 11:16:31 +00:00
Vadim Zeitlin
fdaebb0520 GTK2 fixes (patch 966803)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28452 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-25 11:10:42 +00:00
Vadim Zeitlin
d6108c664a docs for Change/GetMode(s) (patch 966312)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28451 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-25 11:01:23 +00:00
Vadim Zeitlin
a90bf70914 tided up the code a little (replaces part of patch 966312)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28450 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-25 11:00:14 +00:00
Václav Slavík
838c9bd039 documentation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28449 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-25 10:07:24 +00:00
Vadim Zeitlin
d32b901bac compilation fix for !MSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28448 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-24 10:46:54 +00:00
Václav Slavík
fc00494a92 wxSound wasn't in alphabetically correct place
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28447 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-24 09:57:54 +00:00
David Elliott
9d71596027 Incorporated gsocket.c 1.80 to 1.86 changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28446 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-24 04:00:17 +00:00
Robin Dunn
4896ac9eff reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28445 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-23 23:25:02 +00:00
Vadim Zeitlin
fe51e08c27 generate EVT_CONTEXT_MENU when right mouse button is pressed, not released
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28444 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-23 22:13:04 +00:00
Vadim Zeitlin
74c5a810e5 show the cursor on screen after moving it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28443 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-23 21:56:25 +00:00
Vadim Zeitlin
8e033d81f2 don't crash if WriteText() argument can't be converted to UTF-8
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28442 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-23 21:34:19 +00:00
Vadim Zeitlin
1ce52aa64b implemented ScrollLines/Pages() for GTK+ 2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28441 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-23 21:32:44 +00:00
Robin Dunn
acfb5554ed Fixed typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28440 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-23 20:55:05 +00:00
Vadim Zeitlin
3b830ce00d unhide the other HitTest() overload
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28439 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-23 20:52:22 +00:00
Dimitri Schoolwerth
62991518a4 adding missing closing bracket
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28438 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-23 20:48:33 +00:00
Robin Dunn
1e61c543ee Wrapper for new HitTest
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28437 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-23 20:28:01 +00:00
Robin Dunn
4aae4a085c Fix for unhiding the other version of the base class HitTest
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28436 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-23 20:26:25 +00:00
Vadim Zeitlin
c04ec49657 fixed inserting styled text into an empty control under GTK+ 2.0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28435 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-23 19:59:00 +00:00
Vadim Zeitlin
7ff64980aa don't modify all wxBitmaps sharing the same wxBitmapRefData when SetMask() is called
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28434 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-23 18:52:18 +00:00
Vadim Zeitlin
6726a6b097 implement HitTest(pos) variant and not HitTest(x, y) one as this is what Windows gives us
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28433 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-23 18:43:32 +00:00
Vadim Zeitlin
9539029134 cosmetic change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28432 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-23 18:43:01 +00:00
Robin Dunn
10a5988077 Avoid an assert in wxFrame::SetTitle
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28431 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-23 18:31:48 +00:00
Vadim Zeitlin
692c9b8696 implemented HitTest() for GTK2; test it in the sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28430 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-23 18:07:40 +00:00
Włodzimierz Skiba
e38c6b5fc7 wxUSE_STATLINE fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28429 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-23 18:06:03 +00:00
Włodzimierz Skiba
5e0dbc8dd9 wxUSE_STL fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28428 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-23 18:04:12 +00:00
Vadim Zeitlin
4b7ded8bad compilation fix for gcc (closes bug 996701)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28427 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-23 17:49:51 +00:00
Václav Slavík
9146872cb5 changed to behave in same way as native win32 control and generic wxListCtrl when wxEVT_COMMAND_TREE_END_LABEL_EDIT is vetoed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28426 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-23 16:45:28 +00:00
Václav Slavík
daa44d5bfd documented while event.Skip() is necessary so that nobody removes it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28425 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-23 16:45:23 +00:00
Václav Slavík
2e07bdda0a reverted JS' rev. 1.27 - the real fix was 1.28, disabling recursion protection is not good idea
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28424 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-23 16:44:46 +00:00
Robin Dunn
7ef05b886f Changed to match wxPython's current subrelease number
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28423 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-23 15:41:32 +00:00
Włodzimierz Skiba
a2a03d7864 wxUSE_STL/wxArrayString fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28422 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-23 14:33:01 +00:00
Włodzimierz Skiba
99f161bd99 Correct definition of sorting function.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28421 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-23 11:26:07 +00:00
Vadim Zeitlin
eeade4ccca added wxSUBRELEAS_NUMBER and macro to check for it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28420 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-23 10:38:25 +00:00
Vadim Zeitlin
7e06588478 fixed ShowModal() return value typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28419 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-23 10:01:55 +00:00
Włodzimierz Skiba
42bbdbff31 wxUSE_BUTTONBAR removed.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28418 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-23 09:21:07 +00:00
Włodzimierz Skiba
8d0f1c1cbf wxUSE_STL fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28417 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-23 09:04:10 +00:00
Włodzimierz Skiba
9738cd3118 wxUSE_STL fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28416 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-23 08:58:29 +00:00
Włodzimierz Skiba
886c25325e Simplified html reading because previous one caused conflicts in wxUSE_STL=1.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28415 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-23 08:56:51 +00:00
Włodzimierz Skiba
27dc5184e5 wxUSE_STATLINE fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28414 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-23 08:51:53 +00:00
Robin Dunn
adce89c32f Default value for WX_CONFIG
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28413 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-23 05:07:00 +00:00
David Elliott
f497359506 Revert my id10t error.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28412 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-23 01:41:00 +00:00
David Elliott
db36543353 Fix compilation with older (before C99) C compilers.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28411 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-22 20:25:48 +00:00
Robin Dunn
d2d049f28a Just to be sure...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28410 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-22 20:24:25 +00:00
Robin Dunn
c7aee86546 Also don't send set focus events when the window is being deleted.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28409 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-22 20:23:46 +00:00
Włodzimierz Skiba
cbf311dd17 wxUSE_STATLINE fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28408 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-22 19:59:31 +00:00
Włodzimierz Skiba
4aa0bd9b31 wxUSE_STATLINE fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28407 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-22 19:34:59 +00:00
Václav Slavík
b3de4970ca fixed symlinks creation on platforms where ln -s is cp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28406 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-22 19:24:53 +00:00
Włodzimierz Skiba
83f98b0d1d wxUSE_STATLINE fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28405 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-22 19:14:29 +00:00
Mattia Barbon
4e75b65f7c Added compatibility functions for wxUSE_STL = 1:
void wxArrayString::Sort(CompareFunction function)
void wxArrayString::Sort(bool reverseOrder).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28404 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-22 19:08:21 +00:00
Włodzimierz Skiba
36ca94a260 wxUSE_STL fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28403 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-22 19:07:59 +00:00
Włodzimierz Skiba
b02a6dc2b6 wxUSE_STL fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28402 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-22 18:51:13 +00:00
Włodzimierz Skiba
8833e26cbd wxUSE_STATLINE fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28401 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-22 18:47:17 +00:00
Robin Dunn
339983ff62 Patches from Will Sadkin:
MaskedEditMixin:
- fixed size calculations on changing fonts
- fixed tabbing logic now that tab events are entered into the control
  by default (ie event.Skip()) if wx.TE_PROCESS_TAB is set
- fixed code attempting to fix the selection after focus events
  generated on control destruction, to prevent tracebacks

TextCtrl, ComboBox
- Added support for XRC
- Fixed sizing calculation code
- Added SetFont() override method that will recalculate the size if this
  is called.
- Added AppendItems() for ComboBox

NumCtrl:
- prevented ctrl from accepting same grouping and decimal character,
- fixed issue preventing paste from working if decimal char was different
  than '.'

TimeCtrl:
- Fixed default value to use 24hour time (which will be converted
  appropriately if format supports it, and added code to check if
  local timezone uses "AM/PM" for this concept; if not, control now
  defaults to 24hour format, and disallows the am/pm form.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28400 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-22 18:38:34 +00:00
Włodzimierz Skiba
b591b7cf2b Removed unused variable.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28399 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-22 18:35:51 +00:00
Robin Dunn
e9019d1ce3 Install headers to the new location, use the new wx-config options
instead of building the wx-{toolchain}-config name myself, incremented
the version number.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28398 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-22 18:15:18 +00:00
Robin Dunn
2aa0b8c146 No longer have to hold a reference to the sound object
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28397 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-22 15:29:07 +00:00
Robin Dunn
2116a0d13a Fix so sound looping will stop, courtesy of Ryan Norton.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28396 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-22 15:13:19 +00:00
Włodzimierz Skiba
22b636aa15 wxUSE_STL=1 fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28395 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-22 11:53:14 +00:00
Włodzimierz Skiba
79c250d8d8 wxUSE_STATLINE fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28394 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-22 11:52:08 +00:00
Vadim Zeitlin
6faac21b0b reimplemented wxBitmap::ConvertToImage() using wxDIB
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28393 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-22 11:49:45 +00:00
Włodzimierz Skiba
e11d2abe46 Alternate form of condition readable for Borland compiler.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28392 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-22 11:49:28 +00:00
Włodzimierz Skiba
a56938e475 wxUSE_STATLINE fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28391 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-22 11:45:02 +00:00
Vadim Zeitlin
dd779a9e66 added wxDIB(HBITMAP) ctor and corresponding Create(); made GetData() return uchar * and not void *
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28390 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-22 11:43:57 +00:00
Václav Slavík
0ca3b64f14 use sizers instead of constraints in wxProgressDialog (patch 980364)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28389 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-22 10:15:36 +00:00
Václav Slavík
d8b5a5175b don't select first hit in index if it is multi-topic entry, it causes a dialog to pop up
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28388 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-22 09:35:33 +00:00
Václav Slavík
68b47b2f09 adapted RPM spec file to latest changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28387 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-22 08:32:37 +00:00
Václav Slavík
166bcebb8e install headers in prefix/include/wx-version/wx/ instead of prefix/include/wx/
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28386 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-22 08:28:28 +00:00
Václav Slavík
f53b1c1e6f removed enum that was causing more problems than it was worth
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28385 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-22 07:49:29 +00:00
Václav Slavík
a87bf37838 wx-config symlink creation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28384 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-22 07:43:05 +00:00
Václav Slavík
07bea8f0a0 detect WebKit availability
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28383 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-22 07:37:44 +00:00
Robin Dunn
9e783cc099 Fix so async wxSound can continue playing after it is destructed,
courtesy of Ryan Norton.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28382 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-22 04:22:47 +00:00
Robin Dunn
f5b96ee156 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28381 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-22 01:24:31 +00:00
Robin Dunn
cb8289465d 39 items is awfully big
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28380 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-22 01:06:37 +00:00
Robin Dunn
2ce9b1bfd3 mention *TabOrder and Navigate methods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28379 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-22 01:04:32 +00:00
Robin Dunn
bc18250915 build a tarball when building the new docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28378 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-22 01:01:58 +00:00
Robin Dunn
477550dc0c Build the new docs as part of the automated build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28377 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-22 01:01:24 +00:00
Robin Dunn
c278542bdf reorganize a bit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28376 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-22 01:00:51 +00:00
Robin Dunn
de3ac0f5c8 cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28375 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-22 00:57:42 +00:00
Robin Dunn
7ac36741b1 Hold on to the Sound objects as the Mac async plays will stop when the
object is destroyed


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28374 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-22 00:55:47 +00:00
Robin Dunn
e586e41df3 Add -framework QuickTime if --enable-sound
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28373 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-22 00:44:39 +00:00
Robin Dunn
27c2041ff6 Actually use the OnStack test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28372 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-22 00:43:58 +00:00
Robin Dunn
11df1e8a33 wxSOUND_SYNC is zero so it can't be used in a
(flags & wxSOUND_SYNC) test as it woudl always evaluate to false.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28371 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-22 00:42:52 +00:00
Robin Dunn
448971f395 If no colour name then use "BLACK"
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28370 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-21 22:53:43 +00:00
Robin Dunn
f4d233c74a Call CreateControl instead of CreateBase
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28369 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-21 22:07:38 +00:00
Vadim Zeitlin
f8b2997476 pretend that we support all encodings instead of not supporting any of them under GTK2 (this at least prevents wxFontMapper from aborting the program with 'can't create any font' message)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28368 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-21 21:54:54 +00:00
Robin Dunn
8423f11763 Docstring updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28367 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-21 20:28:23 +00:00
Robin Dunn
d20c6820bb Docstring updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28366 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-21 19:58:29 +00:00
Robin Dunn
36461f5811 Fixed incorrect ratio initialization
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28365 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-21 19:56:40 +00:00
Robin Dunn
3a9d4088d3 Added DoPrepareDC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28364 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-21 19:22:19 +00:00
Robin Dunn
70794ec5ba Added docstrings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28363 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-21 19:21:30 +00:00
Robin Dunn
5e1796efd3 Updates from Chris
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28362 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-21 19:19:47 +00:00
Robin Dunn
6077391138 Set m_wheelDelta for wheel events
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28361 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-21 19:06:56 +00:00
Václav Slavík
a30c6aadde regenerated
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28360 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-21 18:59:03 +00:00
Stefan Csomor
625d14abfa ryan's QT implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28359 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-21 18:20:18 +00:00
Vadim Zeitlin
826800550b compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28358 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-21 17:07:44 +00:00
Vadim Zeitlin
23afe648ce implemented wxNativeFontInfo::operator=() when wxUSE_PANGO, this fixes crashes when wxFont::SetNativeFontInfo() is used
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28357 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-21 17:00:13 +00:00
Vadim Zeitlin
ec91fc141f create the disabled button brush if we're not using Microwin, not if we're using it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28356 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-21 12:23:54 +00:00
Stefan Csomor
3c86150dd7 first attempt for full screen implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28355 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-21 11:27:51 +00:00
Stefan Csomor
c5985061df first attempt for full screen implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28354 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-21 11:24:36 +00:00
Václav Slavík
9dd511178f fixed --inplace
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28353 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-21 11:21:03 +00:00
Vadim Zeitlin
b68b06e2ff documented that Write() doesn't always write all the data
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28352 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-21 10:45:28 +00:00
Vadim Zeitlin
42d0aa30b8 corrected code to not suppose that Write() always writes all the data it was given
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28351 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-21 10:41:17 +00:00
Vadim Zeitlin
3338a5bde5 put the write end of the pipe in non blocking mode to avoid deadlocks and return from wxPipeOutputStream::OnSysWrite() without having necessarily written all the data as this is not always possible
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28350 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-21 10:39:23 +00:00
Włodzimierz Skiba
b29903d485 wxUSE_LOG fixes and sizer adjustements related to positioning with/without LOG output.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28349 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-21 10:29:21 +00:00
Václav Slavík
48112931db fixes to wx-config config name matching
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28348 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-21 10:17:51 +00:00
Stefan Csomor
2fa2b08e04 first attempt for full screen implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28347 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-21 09:51:52 +00:00
Stefan Csomor
e4b7e0b467 only on mouse-down
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28346 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-21 05:25:08 +00:00
Vadim Zeitlin
45515b6685 don't suppose that all 32bpp DIBs have alpha, this is not true, the extra byte may be just padding
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28345 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-20 23:45:28 +00:00
Vadim Zeitlin
c1296b82d4 don't waste time initializing the memory of newly created wxImage before filling it with PNG data
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28344 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-20 23:41:54 +00:00
Vadim Zeitlin
06014e4f36 compilation warning about printf type mismatch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28343 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-20 22:38:22 +00:00
Vadim Zeitlin
989a242196 AddFile(wxImage&) -> AddFile(const wxImage&)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28342 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-20 21:59:43 +00:00
Vadim Zeitlin
cc8cc54f83 fix for opening files with VC++ 8 (closes bug 994337)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28341 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-20 21:14:52 +00:00
Włodzimierz Skiba
453bacf433 wxUSE_LOG fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28340 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-20 19:30:21 +00:00
Włodzimierz Skiba
924fe7dabe wxUSE_LOG fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28339 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-20 19:17:52 +00:00
Włodzimierz Skiba
f07941fc73 wxUSE_LOG fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28338 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-20 19:11:34 +00:00
Robin Dunn
fe5ddd9250 DoPrepareDC needs the dc.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28337 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-20 18:13:12 +00:00
Włodzimierz Skiba
86ca2b4cda wxUSE_LOG fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28336 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-20 17:18:49 +00:00
Włodzimierz Skiba
fa0d344773 wxUSE_LOG fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28335 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-20 17:04:02 +00:00
Stefan Csomor
3b92f0e014 10.2 fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28334 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-20 16:48:41 +00:00
Stefan Csomor
7ea087b721 background handling
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28333 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-20 16:40:49 +00:00
Vadim Zeitlin
8f5e48c314 update from Marco Cavallini
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28332 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-20 16:34:15 +00:00
Vadim Zeitlin
5de9f492ec added DoPrepareDC()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28331 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-20 16:30:22 +00:00
Stefan Csomor
7246375492 fixing best size to really include only 5 lines
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28330 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-20 14:53:57 +00:00
Stefan Csomor
70aaa701b4 correcting window variant
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28329 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-20 14:38:18 +00:00
Stefan Csomor
065ab451bf for built-in dialogs, there is no m_peer instance, and still we might have a Refresh call issued, just leave
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28328 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-20 14:34:18 +00:00
Stefan Csomor
d88ffaaa76 trying to support non-wx controls on a window
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28327 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-20 14:10:11 +00:00
Stefan Csomor
aa99e0cd22 explicit scrollbar style flags needed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28326 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-20 14:08:27 +00:00
Włodzimierz Skiba
7010702f63 WinCE fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28325 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-20 11:11:46 +00:00
Włodzimierz Skiba
422d0ff0be wxDefaultSize.* and wxDefaultPosition.* to wxDefaultCoord.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28324 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-20 10:09:47 +00:00
Vadim Zeitlin
8fb75ec30f added except sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28323 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-20 10:09:43 +00:00
Vadim Zeitlin
2ad50b4fb3 add except to the samples being built; verify that --enable-exceptions and --enable-no_exceptions are not used simultaneously
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28322 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-20 10:05:56 +00:00
Vadim Zeitlin
9f9895a8d9 documented DoPrepareDC()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28321 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-20 10:04:25 +00:00
Stefan Csomor
a2cffa18c9 corrected cwd manipulation for unicode builds
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28320 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-20 09:19:22 +00:00
Stefan Csomor
a2c6537e60 removed mpthread and added thread.cpp and tglbutton.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28319 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-20 09:18:15 +00:00
Stefan Csomor
1674c73a43 avoid unimplemented wx stubs being used
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28318 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-20 09:16:01 +00:00
Václav Slavík
bd82118540 use regexes, not wildcards, for config file matching (but it's still broken)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28317 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-20 08:44:17 +00:00
Stefan Csomor
92e6d8693a corrected copied headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28316 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-20 05:21:39 +00:00
Robin Dunn
f8bd8dd506 fix compile error
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28315 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-19 21:08:28 +00:00
Kevin Ollivier
3109d19868 Fixed display issues for Panther now that wxTextCtrl has been fixed there.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28314 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-19 20:56:00 +00:00
Robin Dunn
b3d8839439 Don't output the script name twice
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28313 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-19 20:52:36 +00:00
Robin Dunn
81bfa5ae22 Handle terminating NULL correctly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28312 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-19 20:51:18 +00:00
Stefan Csomor
ae53adb467 switching to correct name as Tiger doesn't have the workaround anymore
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28311 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-19 19:34:40 +00:00
Włodzimierz Skiba
8520f1374c Fixes for wxUSE_STATUSBAR.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28310 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-19 15:36:01 +00:00
Włodzimierz Skiba
d96cdd4a88 Fixes for wxUSE_STATUSBAR.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28309 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-19 15:14:07 +00:00
Włodzimierz Skiba
8a476eceb8 Fixed typo.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28308 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-19 11:43:00 +00:00
George Tasker
e32d2b5707 Updating the ::Open() function to help clarify that SetColDefs() must be called before opening the table
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28307 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-19 10:07:06 +00:00
Włodzimierz Skiba
c7cf7a783b GetItemCount is int.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28306 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-19 09:42:25 +00:00
Włodzimierz Skiba
67a9999283 Fixes for wxUSE_STATUSBAR.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28305 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-19 09:39:38 +00:00
Vadim Zeitlin
1411f7eb1a compilation fix for wxUSE_THREADS == 0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28304 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-19 08:47:08 +00:00
Stefan Csomor
6601362a1d string constants unicode savvy
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28303 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-19 06:01:13 +00:00
Václav Slavík
d5690a21e3 fixed MSW crashes when choosing Exit in popup menu
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28302 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-18 21:58:28 +00:00
Kevin Ollivier
fdc2232aba Correct slider width when labels are used.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28301 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-18 19:13:50 +00:00
Václav Slavík
73a7e9399f HAVE_XIM is disabled in GTK2 build, don't include useless member variables
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28300 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-18 17:11:02 +00:00
Václav Slavík
8708fa7618 *** empty log message ***
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28299 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-18 11:19:34 +00:00
Václav Slavík
04bd3f56d2 adapted to wx-config libraries list changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28298 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-18 10:55:22 +00:00
Vadim Zeitlin
25271309f0 use wxLogTrace(htmldebug) instead of wxLogDebug() for messages about HTML syntax errors
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28297 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-18 10:05:06 +00:00
David Elliott
82b0b7f633 Baked (clntdata.cpp core->base)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28296 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-18 03:10:04 +00:00
Robin Dunn
e9bbaad726 fixed typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28295 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-18 00:03:13 +00:00
Robin Dunn
b0f7404b92 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28294 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-17 23:32:47 +00:00
Robin Dunn
dc5960727c Use DeafultAttributes instead of hard coded defaults
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28293 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-17 23:22:26 +00:00
Robin Dunn
35ee3288c6 minor tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28292 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-17 22:57:33 +00:00
Robin Dunn
b39c3fa09a Avoid using the OOR typemap in the constructors
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28291 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-17 22:51:01 +00:00
Václav Slavík
14885f0910 complain about unrecognized flags
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28290 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-17 21:54:31 +00:00
Julian Smart
7b8373b34f Don't show focus rectangle if wxNO_BORDER specified
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28289 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-17 21:41:35 +00:00
Václav Slavík
c68d5f40d5 removed accidentally committed debugging code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28288 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-17 21:14:59 +00:00
Václav Slavík
140ba06778 use corrent charset for page title in ANSI builds
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28287 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-17 21:13:36 +00:00
Václav Slavík
7706daf38b more GTK2+ANSI fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28286 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-17 20:50:46 +00:00
Václav Slavík
89816e4f30 cleaned up --inplace description
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28285 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-17 18:52:18 +00:00
Robin Dunn
ca46ba6056 Allow the release tag to be specified on the rpmbuild command line
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28284 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-17 18:20:08 +00:00
Robin Dunn
2937186c32 Added wxXRC_NO_RELOADING
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28283 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-17 18:19:25 +00:00
Robin Dunn
75de554624 Navigate docstring update
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28282 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-17 18:18:44 +00:00
Robin Dunn
a77bf68f69 prevent a reference leak when OOR objects are created
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28281 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-17 17:52:29 +00:00
Václav Slavík
251f47d1ea modified arguments syntax to be wx-config [options] [libraries list]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28280 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-17 17:48:37 +00:00
Robin Dunn
39e080936c rebaked
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28279 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-17 17:44:06 +00:00
Václav Slavík
d8e1fe80ad wxTLW::IsMaximized for wxGTK2 (patch 992743)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28278 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-17 16:53:28 +00:00
Václav Slavík
9f45f08eff made GTK+2 the default
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28277 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-17 16:39:28 +00:00
Julian Smart
322a5b45fe Ensure we don't get an empty help menu on Mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28276 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-17 15:04:19 +00:00
Václav Slavík
0ab8db384f fixed TABs handling
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28275 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-17 10:59:42 +00:00
Václav Slavík
648db587c4 added wxXRC_NO_RELOADING
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28274 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-16 22:01:47 +00:00
Robin Dunn
31ad423e4f Wrappers for *ToText
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28273 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-16 21:41:00 +00:00
Robin Dunn
da2c76724f More notes about sizer changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28272 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-16 21:40:01 +00:00
Robin Dunn
a61c65b304 Blind fix to avoid a PyDeadObject error
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28271 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-16 20:35:10 +00:00
Robin Dunn
f50544d8c5 Allow style to be specified for ScrolledMessageDialog
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28270 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-16 20:34:19 +00:00
Robin Dunn
4c53d5301b fixed syntax error
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28269 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-16 20:33:37 +00:00
Robin Dunn
06fe86b734 Fixed typo and increased the size of the cache used by DoGetPartialTextExtents
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28268 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-16 20:31:48 +00:00
Robin Dunn
33c956e61c Allow any too-large index to mean Append, just like on MSW.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28267 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-16 20:29:17 +00:00
Robin Dunn
495f877d39 Added notes about the sizer changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28266 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-16 20:27:09 +00:00
Václav Slavík
5d3f80bec3 made SelectionToText and ToText public
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28265 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-16 19:35:06 +00:00
Václav Slavík
b55bab1527 documented wxHtmlWindow::SelectionToText and ToText
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28264 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-16 18:35:30 +00:00
Włodzimierz Skiba
12f003edba Warning fixes for Digital Mars.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28263 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-16 18:06:34 +00:00
Václav Slavík
7648370f54 don't use deprecated function wxUslepp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28262 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-16 17:27:25 +00:00
Václav Slavík
977b867e72 added wxHtmlWindow::ToText
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28261 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-16 17:19:17 +00:00
Vadim Zeitlin
051aa330fe fixed fatal bug in wxString ctor from wxCharBuffer when wxUSE_STL==1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28260 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-16 17:17:51 +00:00
Włodzimierz Skiba
5cb598ae20 Fixes to warnings about assigning unused values.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28259 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-16 13:19:32 +00:00
Roger Gammans
9b386ecadb * add documentation for wxMemoryBuffer
* add suport for values of type REG_BINARY in the msw registry.

   Such values are converted to wxMemoryBuffer for internal handling


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28258 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-16 13:09:52 +00:00
Włodzimierz Skiba
f79a46f83a Sizer based placement of controls in generic colour dialog (patch #991595)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28257 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-16 13:08:44 +00:00
Włodzimierz Skiba
e989060057 Correction to recently added wrong asserts.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28256 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-16 13:05:36 +00:00
Robin Dunn
92379a031b reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28255 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-16 00:33:01 +00:00
Robin Dunn
0dcf9a749f reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28254 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-16 00:13:17 +00:00
Robin Dunn
1fa4b13e1c Skip, Skip, Skip
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28253 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-16 00:12:48 +00:00
Robin Dunn
5a319c5cc1 Little tweaks to match recent CVS changes.
Fixed wxFontEnumerator GetFacename and GetEncodings to return an empty
list instead of crashing if the Enumerate function hasn't been called
yet.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28252 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-16 00:06:11 +00:00
Robin Dunn
5797a657ec Automated build tweaks and fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28251 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-16 00:02:49 +00:00
Robin Dunn
8779cca3eb Pass pos and size to MSWCreateControl so the initial and minsize will
be set correctly


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28250 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-16 00:00:51 +00:00
Robin Dunn
7c0a023dc1 fixed typo in a comment
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28249 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-15 23:59:53 +00:00
Václav Slavík
446e5259d7 DLL export fixes (patch 991760)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28248 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-15 20:51:44 +00:00
Stefan Csomor
b8bafcaad8 applied patch 90459
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28247 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-15 18:17:31 +00:00
Václav Slavík
6b91e25247 fixed dllexports: wxClientData is now in wxBase, not wxCore
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28246 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-15 16:24:24 +00:00
Włodzimierz Skiba
5b7ab9385f Type casting warning fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28245 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-15 06:34:04 +00:00
Włodzimierz Skiba
9d6eda5f3d Unused parameters warning fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28244 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-15 06:27:13 +00:00
Włodzimierz Skiba
f5dd1cf1eb Limited setup.h warning fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28243 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-15 06:23:31 +00:00
Włodzimierz Skiba
8b3d02a1d9 Smartphone adjustements.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28242 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-15 06:21:31 +00:00
Włodzimierz Skiba
9905656a35 More broken compilers with enum/wxString& ambiguity.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28241 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-15 06:16:45 +00:00
Włodzimierz Skiba
4cf8ef088c VC warning fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28240 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-15 06:13:25 +00:00
Václav Slavík
bbde2e2999 re-enabled and fixed wxTextCtrl::Cut,Copy,Paste with GTK+ 2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28239 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-14 20:25:56 +00:00
Václav Slavík
231475bfb4 provide WM with hint about splash window's purpose under wxGTK2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28238 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-14 19:51:47 +00:00
Włodzimierz Skiba
620e4af500 DMC/VC warning fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28237 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-14 19:34:34 +00:00
Włodzimierz Skiba
1c9819e417 OpenWatcom warning fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28236 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-14 19:31:38 +00:00
Włodzimierz Skiba
63a24a91a9 VC warning fix and update to curent state of wxW.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28235 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-14 19:30:00 +00:00
Stefan Csomor
e256c69230 attempt to get a 'correct' current working directory
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28234 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-14 18:04:02 +00:00
Stefan Csomor
5ac2e80ca2 making getter const
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28233 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-14 16:33:17 +00:00
Stefan Csomor
be346c263f carbon cfm fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28232 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-13 18:36:08 +00:00
Stefan Csomor
5eee8dcf5d adding correct events
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28231 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-13 18:32:22 +00:00
Vadim Zeitlin
9959e2b6aa fixed menu titles handling after wxID_SEPARATOR change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28230 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-13 16:24:46 +00:00
Włodzimierz Skiba
e70ba80d53 Warning fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28229 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-13 16:19:36 +00:00
Włodzimierz Skiba
00aa028958 Missed conditional compilation.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28228 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-13 16:14:42 +00:00
Vadim Zeitlin
a4de7e8ccf clean up modules after destroying the app, not before it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28227 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-13 13:41:47 +00:00
Włodzimierz Skiba
696e113b5f Correct headers. No more specific notebook sizer.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28226 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-13 13:30:51 +00:00
Włodzimierz Skiba
134155b159 Removal of deprecated methods.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28225 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-13 13:24:57 +00:00
Włodzimierz Skiba
a61fea4144 Removal of deprecated methods.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28224 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-13 13:13:29 +00:00
Włodzimierz Skiba
16640ba226 WinCE fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28223 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-13 12:42:02 +00:00
Włodzimierz Skiba
1ab36908f9 WinCE fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28222 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-13 12:25:32 +00:00
Václav Slavík
feb7b71d45 set PangoContext's language correctly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28221 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-13 12:07:42 +00:00
Václav Slavík
fd43b1b3ea unified Pango GetTextExtent implementations
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28220 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-13 11:33:01 +00:00
Vadim Zeitlin
a43ed08aa8 made --cppflags return -DwxUSE_GUI=0 when used with --libs=base
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28219 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-12 23:29:57 +00:00
Vadim Zeitlin
f0ab09ccd0 replace wxLANGUAGE_DEFAULT with GetSystemLanguage() result in GetLanguageInfo()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28218 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-12 22:22:31 +00:00
Václav Slavík
93a15cf1c3 moved clntdata.h,cpp to wxBase
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28217 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-12 21:55:16 +00:00
Václav Slavík
341050e227 oops, reverted clntdata.h change, it _is_ needed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28216 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-12 21:49:30 +00:00
Václav Slavík
27dadec122 clntdata.h is needed only if wxUSE_GUI
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28215 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-12 21:41:12 +00:00
Włodzimierz Skiba
4b586201d3 Warning fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28214 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-12 19:21:48 +00:00
Vadim Zeitlin
23866d595f fixed what looked like a bug in determining the default width in DoGetBestSize()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28213 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-12 15:48:22 +00:00
Vadim Zeitlin
6ea4a2661d fixed unused variable warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28212 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-12 15:47:27 +00:00
Václav Slavík
c720661949 removed unneeded call to wxGetRootWindow, so that window creation is delayed as much as possible
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28211 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-12 15:06:47 +00:00
Włodzimierz Skiba
69b69d5ad9 Warning fix for lack of -> operator.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28210 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-12 14:52:16 +00:00
Włodzimierz Skiba
c57c2993ec Warning fix for assignment of unused value.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28209 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-12 14:49:37 +00:00
Václav Slavík
e123fe41ac removed useless code accidentally left in
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28208 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-12 14:38:28 +00:00
Václav Slavík
87fb0be40f documented wxWindow::GetFont changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28207 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-12 12:34:06 +00:00
Václav Slavík
733399faaa documented wxWindow::GetFont change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28206 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-12 12:33:23 +00:00
Stefan Csomor
3527e53242 added MLTE support for 10.2 via classic implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28205 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-12 07:06:14 +00:00
Stefan Csomor
3556e470dc added MLTE support for 10.2 via classic implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28204 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-12 07:05:00 +00:00
Stefan Csomor
aa522e33fc add implementation fallback for not yet instantiated control peers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28203 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-12 07:04:00 +00:00
Stefan Csomor
0263da0371 non-unicode build fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28202 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-12 05:40:28 +00:00
Stefan Csomor
f8405d6e6f adaptions to m_peer methods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28201 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-11 17:49:51 +00:00
Stefan Csomor
788e118f21 combobox and textctrl fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28200 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-11 17:03:30 +00:00
Stefan Csomor
5ca0d8122a further separating implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28199 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-11 16:19:18 +00:00
Vadim Zeitlin
f18925dfe5 include wx/dynlib.h, not wx/dynload.h, we don't need the latter
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28198 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-09 21:27:24 +00:00
Vadim Zeitlin
5e475383d8 fixed a warning about unusable code in release build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28197 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-09 21:19:00 +00:00
Vadim Zeitlin
1a278e7bef show stderr in popen() test; show how to deal with piping big amounts of data to child process without deadlocking
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28196 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-09 17:54:01 +00:00
Vadim Zeitlin
f2de9fee23 added wxNavigationKeyEvent::IsBackward to be able to call wxWindow::Navigate(IsBackward) and not only Navigate(IsForward)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28195 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-09 10:42:14 +00:00
Vadim Zeitlin
cf25117b67 fixed warning about deprecated wxUsleep
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28194 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-08 19:02:01 +00:00
Dimitri Schoolwerth
5e276cc655 removed redundant wx_PPC.rsrc from project as well as ftp, java and x86 related Preference Panel settings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28193 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-07 19:47:04 +00:00
Julian Smart
c69291e99a Open files in binary mode to convert DOS to Unix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28192 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-07 08:24:50 +00:00
Robin Dunn
3c6e3872b3 Add some grid related constants
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28191 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-06 21:36:50 +00:00
Robin Dunn
eab6e45eef reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28190 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-06 21:19:38 +00:00
Robin Dunn
bf26d88306 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28189 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-06 21:13:27 +00:00
Robin Dunn
b1baae5bca Use -c
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28188 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-06 21:12:52 +00:00
Robin Dunn
55580c9ddb removed commented out code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28187 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-06 21:12:39 +00:00
Robin Dunn
414f5c2d50 Use maxint for appending to the listctrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28186 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-06 21:12:26 +00:00
Robin Dunn
e5156e154a Check for app before making a colour from a name
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28185 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-06 21:11:42 +00:00
Robin Dunn
7f98d1209a reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28184 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-06 21:02:34 +00:00
Robin Dunn
705b61cce0 little tweaks to match recent CVS changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28183 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-06 21:01:33 +00:00
Robin Dunn
d447660794 Fix bad keyword args
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28182 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-06 21:00:59 +00:00
Robin Dunn
7c2c0629bb mention extra flag for OGL build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28181 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-06 20:59:47 +00:00
Robin Dunn
9ea96ac392 path fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28180 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-06 20:59:00 +00:00
Robin Dunn
d66241556a master build tweaks, move the untarring and etc to the remote builder
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28179 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-06 20:58:16 +00:00
Vadim Zeitlin
9e9300c457 another compilation fix for after last check in
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28178 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-06 18:26:08 +00:00
Robin Dunn
ff0a9f8d18 unicode compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28177 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-06 17:56:35 +00:00
Vadim Zeitlin
786c4e23f5 suppress new lines in the details pane
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28176 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-06 16:58:00 +00:00
Vadim Zeitlin
feef1ecf07 blind compilation fix for wxUSE_STL==1 (bug 985662)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28175 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-06 16:55:01 +00:00
Dimitri Schoolwerth
b21ff0b78d removed deprecated source files from project (as well as a few unneeded panel settings such as those related to Java and x86)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28174 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-06 12:48:29 +00:00
Vadim Zeitlin
9fa1a10771 corrected misleading IsSelection() docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28173 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-06 10:33:24 +00:00
Dimitri Schoolwerth
0afdfcaca5 removed tab character; replaced -1 with wxID_ANY
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28172 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-05 19:29:18 +00:00
Dimitri Schoolwerth
16f26dadb5 use a default position for frames and in some cases a default size as well (otherwise the menubar is partially hidden (with MSW) due to too small frame height)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28171 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-05 19:27:23 +00:00
Dimitri Schoolwerth
04e539f5d1 use slashes in #include, not backslashes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28170 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-05 13:53:48 +00:00
Dimitri Schoolwerth
1012c2ceb6 fixed typo (no code changes)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28169 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-05 12:46:20 +00:00
Vadim Zeitlin
f43bb7e246 renamed errcode to fix compilation with VC++ 8 (replaces patch 982303)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28168 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-05 10:40:06 +00:00
Vadim Zeitlin
dc66ae687b fixed syntax error
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28167 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-05 10:35:23 +00:00
Julian Smart
19ff0b2c2a Enclosed control in a panel to demonstrate display glitches
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28166 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-04 18:41:47 +00:00
Vadim Zeitlin
92a4e4de68 don't set font unless necessary (patch 984853)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28165 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-04 11:20:44 +00:00
Vadim Zeitlin
87b6002d7c typo/spelling fixes (patch 983448)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28164 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-04 11:19:47 +00:00
Vadim Zeitlin
edc712f574 corrections from Andreas Mohr (part of patch 983448)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28163 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-04 11:17:22 +00:00
Julian Smart
6fefc28dde Should set event object to relevant window when dispatching wxEVT_HELP
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28162 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-04 11:13:59 +00:00
Vadim Zeitlin
387fd89d8c typo fix in Restore(): __GTK20__ -> __WXGTK20__ (patch 984852)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28161 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-04 11:13:23 +00:00
Vadim Zeitlin
b88ccc4e8e (blind) compilation fix for GTK+ 1.x after last commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28160 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-04 11:11:39 +00:00
Václav Slavík
7545e13206 a better way of applying style changes to label_widget
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28159 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-03 16:58:10 +00:00
Robert Roebling
e37168448f Not sure how important that is, but now you
can set the font of a static box.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28158 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-03 16:28:22 +00:00
Stefan Csomor
0fc3bc3b26 going on with wxMacControl functionality
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28157 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-03 15:51:18 +00:00
Stefan Csomor
ac99838a17 SetFont implementation moved to peer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28156 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-03 15:50:10 +00:00
Stefan Csomor
29d916613c wxMacControl extensions, sleep implementations header corrected
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28155 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-03 15:49:31 +00:00
Robin Dunn
37144cf0f1 Invalidate notebook best size when pages are added or removed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28154 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-03 15:49:29 +00:00
Gilles Depeyrot
5d91a08807 added missing include files for compilation with Apple Developer Tools
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28152 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-03 11:56:25 +00:00
Václav Slavík
a589495eeb implemented tab order in wxGTK2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28151 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-03 11:16:03 +00:00
Václav Slavík
3f93f659dc demonstrate tab order
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28150 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-03 11:14:44 +00:00
Václav Slavík
39ef7151f5 don't use deprecated wxUsleep
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28149 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-03 10:06:23 +00:00
Václav Slavík
e74c05294a m_queuedFullRedraw is not used anymore
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28148 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-03 10:02:05 +00:00
Václav Slavík
41819cbe0c wxTaskBarIconBase event handlers were never called in 2.4 compatibility mode
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28147 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-02 22:22:56 +00:00
Václav Slavík
fdf7514a00 fixed memory leak in wxNativeFontInfo when using Pango
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28146 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-02 20:54:12 +00:00
Václav Slavík
2d17baae34 BCC compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28145 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-02 19:38:13 +00:00
George Tasker
d23a4aa781 Patch # 984209 - Calls to wxFind() were using an old signature. They now check for wxNOT_FOUND
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28144 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-02 19:05:42 +00:00
George Tasker
160155e6ec Patch # 984215 - Insert was returning SUCCESS after an error
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28143 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-02 18:54:15 +00:00
Stefan Csomor
7f7b52b42e sleep methods in synch with last changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28142 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-02 12:06:40 +00:00
Stefan Csomor
2837271a5b moving implementation out of class declaration
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28141 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-02 12:03:17 +00:00
Vadim Zeitlin
66cd9d7f55 added wxMilli/MicroSleep(), deprecated wxUsleep()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28140 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-01 22:54:48 +00:00
Vadim Zeitlin
4e0f1c33cc fix wxTolower/upper() behaviour with signed chars > 0x7f with VC++ 6
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28139 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-01 22:52:39 +00:00
Vadim Zeitlin
45956e3776 call InheritAttributes() during creation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28138 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-01 22:51:49 +00:00
Václav Slavík
fb12998e98 don't force excessively large minsize, it makes the sample nearly unusable on X11
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28137 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-01 17:45:08 +00:00
Julian Smart
f77d4deb70 Comboboxes should have default height
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28136 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-01 14:17:47 +00:00
Vadim Zeitlin
08873d362b added wxMilli/MicroSleep(), deprecated wxUsleep()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28135 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-01 12:15:00 +00:00
Vadim Zeitlin
f52d9e924c added wxGetKeyState() doc (patch 967255)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28134 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-01 11:51:46 +00:00
Vadim Zeitlin
1f020bfb92 implementation of the range insert for wxStringArray (patch 975003)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28133 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-01 11:47:52 +00:00
Vadim Zeitlin
a24de76b33 added and documented wxWindow::MoveBefore/AfterInTabOrder()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28132 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-01 11:44:37 +00:00
Vadim Zeitlin
eeb9e3d08f removed spurious semicolon
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28131 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-01 11:43:01 +00:00
Vadim Zeitlin
e0176dd9fb font inheritance fixes (patch 983251)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28130 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-01 10:46:38 +00:00
Vadim Zeitlin
51a4142ce1 recognize EUC-KR charset (patch 983264)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28129 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-01 09:32:48 +00:00
Vadim Zeitlin
5848123916 update from Hiroshi Saito (patch 981938)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28128 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-01 09:25:49 +00:00
Václav Slavík
f69e200970 set descent in GetTextExtend; use PANGO_PIXELS instead of dividing by PANGO_SCALE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28127 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-01 08:56:25 +00:00
Václav Slavík
1c0ee565da simplified justification code; fixed incorrect positioning of first cell on line in justified paragraph
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28126 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-01 07:59:19 +00:00
Václav Slavík
da1d313d80 fixed a bug that prevented wxLogGui from being used by default
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28125 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-01 07:40:57 +00:00
Václav Slavík
9cce386aba copy doc/ directory to builddir
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28124 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-01 07:07:52 +00:00
Robin Dunn
412d302d2d reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28123 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-01 00:57:07 +00:00
Robin Dunn
31c7a57a37 Print start and stop time
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28122 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-01 00:53:26 +00:00
Robin Dunn
66d97e046e a little cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28121 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-01 00:48:01 +00:00
Robin Dunn
ba3e5ef265 added CmdDown()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28120 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-01 00:45:06 +00:00
Vadim Zeitlin
39e39d3944 use CmdDown() instead of #ifdefs for Mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28119 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-01 00:05:56 +00:00
Vadim Zeitlin
a2bd152089 added and documented wxKey/MouseEvent::CmdDown()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28118 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-01 00:04:48 +00:00
Robin Dunn
559b747dc0 The gaps should *not* be included in the space given to the item, and
so should also not be accounted for in the alignment adjustmanets


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28117 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-30 23:43:02 +00:00
Vadim Zeitlin
17b7cac5e8 mention that wxPostEvent() only works for sending messages to the main thread
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28116 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-30 23:28:10 +00:00
Vadim Zeitlin
ed446867f5 mention that detached threads shouldn't be deleted
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28115 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-30 23:21:49 +00:00
Robin Dunn
85fab316d6 Need to ensure that the right background is explicitly set.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28114 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-30 22:00:45 +00:00
Robin Dunn
5f89b54341 fixed typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28113 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-30 21:55:10 +00:00
Robin Dunn
a39c03f9d2 Fixed typos and added test case that changes the font of a CalendarCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28112 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-30 21:50:28 +00:00
Robin Dunn
ab473127c6 Layout fixes due to measuring with the wrong font. Also added
GetDefaultAttributes and switched everything to use GetXXX instead of
m_XXX.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28111 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-30 21:49:17 +00:00
Robin Dunn
6d450e1a20 Since the wxPyMake_wxObject typemap is also used for constructors we
need to allow it to use the $owner value to specify if the thisown
attribute shoudl be set to true.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28110 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-30 20:12:14 +00:00
Robin Dunn
488256e0a1 Allow the size, pos, and title of the default output window to be modified
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28109 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-30 20:10:21 +00:00
Václav Slavík
b778f9d6f5 update for CVS versions of bakefile
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28108 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-30 18:44:35 +00:00
Václav Slavík
fa47d7a7ad SetDefaultXXX -> SetOwnXXX
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28107 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-30 17:12:03 +00:00
Vadim Zeitlin
4d0f796587 trying to fix missing new line before a heading start
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28106 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-30 16:25:06 +00:00
Vadim Zeitlin
64869ab787 made GetTextExtent() work correctly with NULL theFont parameter (m_font might nto be set); drastically simplified it by using helper WindowHDC and SelectInHDC classes instead of the old mess
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28105 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-30 15:47:01 +00:00
Vadim Zeitlin
918107037d don't use &this->GetFont(), this is _not_ valid C++ and GetTextExtent() should work correctly with the default value of font parameter anyhow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28104 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-30 15:45:24 +00:00
Vadim Zeitlin
2ff56383e6 added WindowHDC similar to Screen/MemoryHDC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28103 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-30 15:44:11 +00:00
Vadim Zeitlin
9817a08533 fix VC++ warning about redeclaring wxHtmlHelpMergedIndexItem class as struct in .cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28102 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-30 15:35:14 +00:00
Václav Slavík
44fd6f721a implemented wxSS::GetMetric on wxGTK2 (patch 950618)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28101 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-30 13:06:50 +00:00
Václav Slavík
f8ff87ed6d decoupled attributes inheritance and m_hasXXX flags
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28100 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-30 13:05:20 +00:00
Václav Slavík
b70b68a9ba wxXXChoiceDialog documentation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28099 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-30 12:32:21 +00:00
Václav Slavík
caea1cb795 made GetEntitiesParser public, it's useful for some tag handlers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28098 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-30 10:22:23 +00:00
Václav Slavík
4d5881b12d fixed HTML entities parsing inside <titl
e> tag


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28097 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-30 10:21:47 +00:00
Robin Dunn
110da5b02e Lots of SWIGging
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28096 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-29 21:06:02 +00:00
Václav Slavík
74b8433210 put -DNO_GCC_PRAGMA into CPPFLAGS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28095 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-29 20:36:13 +00:00
Robin Dunn
db9ba2468e cleanup whitespace
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28094 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-29 19:33:34 +00:00
Robin Dunn
75db495992 Allow the MustHaveApp exception feature to be inherited
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28093 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-29 19:29:17 +00:00
Robin Dunn
cc4495dc4c Add SetState/GetState for wxMSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28092 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-29 18:04:27 +00:00
Robin Dunn
44b8f8e051 Don't need to adjust the position for HitTest any longer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28091 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-29 18:03:48 +00:00
Robin Dunn
aa2e1f3d44 removed some commented out code that should have been removed in the
last commit


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28090 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-29 18:02:13 +00:00
Robin Dunn
8d2e831b09 minsize and attribute tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28089 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-29 17:44:21 +00:00
Vadim Zeitlin
020707bba9 removed gtk.h include
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28088 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-29 16:55:35 +00:00
Vadim Zeitlin
4d01e350fe documented return value of Find[Absolute]ValidPath() correctly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28087 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-29 07:53:03 +00:00
Vadim Zeitlin
fc447c7f43 fixed bug in FindAbsoluteValidPath() which returned cwd instead of empty string if the path was not found
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28086 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-29 07:52:38 +00:00
Vadim Zeitlin
976266244c recognize roman8 charset as us-ascii (this is wrong but better than not recognizing it at all) (fixes bug 978251)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28085 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-29 07:48:15 +00:00
Václav Slavík
baf277a24d implemented wxFRAME_NO_TASKBAR for wxGTK2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28084 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-29 07:25:22 +00:00
Václav Slavík
0830027775 implemented nested index entries and index entries pointing to multiple documents in wxHtmlHelpController; modified wxHtmlHelpData API to make it possible
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28083 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-29 07:16:51 +00:00
Robin Dunn
bb4524c439 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28082 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-29 03:02:58 +00:00
Robin Dunn
648d396ceb use TWIST buttons by default on the Mac, but also make it possible to
skip the style adjustments so the programmer can do what they want too.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28081 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-29 02:58:19 +00:00
Robin Dunn
19272049fd reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28080 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-29 02:08:09 +00:00
Robin Dunn
55bd43d245 Tweaks for testing styles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28079 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-29 02:06:16 +00:00
Robin Dunn
d90a959f09 Add some refreshes to try and workaround a display glitch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28078 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-29 02:05:36 +00:00
Robin Dunn
4e4a10ba27 Refresh after changing the bitmap
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28077 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-29 02:04:04 +00:00
Robin Dunn
b3074871ed Use root for OSX build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28076 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-29 02:03:36 +00:00
Robin Dunn
b8b7987c85 fixed icon image data
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28075 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-29 02:03:09 +00:00
Robin Dunn
8110967640 tweaked comment
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28074 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-29 02:02:52 +00:00
Robin Dunn
90af251453 A little better failure message
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28073 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-29 02:01:11 +00:00
Robin Dunn
8fdd04f882 Fixed HitTest for columns > 1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28072 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-29 01:58:35 +00:00
Robin Dunn
015fd9ef48 Allow for Cmd-click on wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28071 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-29 01:09:06 +00:00
Robin Dunn
135df45b2e Oops, forgot to remove som testing code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28070 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-29 01:00:12 +00:00
Robin Dunn
99cea4b370 wxTreeListCtrl still uses the wxTR_TWIST_BUTTONS style
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28069 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-29 00:57:55 +00:00
Robin Dunn
f84fa75af9 Fixed lots of painting, clipping and alignment issues.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28068 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-29 00:56:52 +00:00
Václav Slavík
2be125e6fc implemented wxFRAME_NO_TASKBAR for wxGTK2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28067 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-28 21:47:54 +00:00
Václav Slavík
8316ff5d98 respect absence of wxCENTRE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28066 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-28 21:46:05 +00:00
Václav Slavík
91fa114d88 implemented nested index entries and index entries pointing to multiple documents in wxHtmlHelpController; modified wxHtmlHelpData API to make it possible
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28065 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-28 21:45:30 +00:00
Václav Slavík
5f7358f0fb wxHTML_REALLOC_STEP not used anymore
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28064 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-28 21:43:23 +00:00
Václav Slavík
009c43927b wxObjArray::empty() was missing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28063 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-28 21:42:40 +00:00
Václav Slavík
dbe7109868 test nested indexes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28062 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-28 21:42:03 +00:00
Václav Slavík
4d8d6490da create wxDialog with proper _NET_WM hint so that the WMs recognize it as a dialog
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28061 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-28 21:37:33 +00:00
Robin Dunn
79e55c661b Fix HitTest offset, and some other little things that had been changed
in our old copy of treelistctrl


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28060 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-28 21:30:52 +00:00
Robin Dunn
ba87052fcf Added GetUnicodeKey
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28059 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-28 19:27:06 +00:00
Robin Dunn
bbc5a00631 Use top-level parent for the dialog parent
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28058 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-28 19:23:08 +00:00
Mattia Barbon
bc6e28d55a Compilation fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28057 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-28 19:22:48 +00:00
Robin Dunn
f454e36230 Add flush() to PyOnDemandOutputWindow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28056 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-28 19:22:33 +00:00
Robin Dunn
edf3b4dcba override GetLabe/SetLabel as on wxMac it will draw its own label that
interferes with ours.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28055 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-28 19:21:46 +00:00
Kevin Ollivier
1711ac7b90 Fixing crash due to referencing a NULL m_font.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28054 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-28 19:02:16 +00:00
Kevin Ollivier
84be293d47 Fixed wxMDIChildWindow to be a native window on Mac. Otherwise, functions like SetSize would crash.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28053 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-28 18:18:54 +00:00
Kevin Ollivier
547841f751 Fixed typo in show available drives.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28052 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-28 18:16:49 +00:00
Václav Slavík
cadfae2b76 documentation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28051 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-28 16:26:02 +00:00
Vadim Zeitlin
73084ba7f8 update from Herbert Breunung which I forgot to commit some time ago
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28050 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-28 10:48:08 +00:00
Vadim Zeitlin
93ab511d10 added include files section
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28049 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-28 10:47:05 +00:00
Vadim Zeitlin
329b43f61b added test for Lower()/Upper() with 8bit chars
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28048 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-28 10:46:07 +00:00
Vadim Zeitlin
0acc5a4075 don't duplicate code checking for X for X11 and Motif ports; filter out -RNONE from the X_LIBS set by AC_PATH_XTRA (see patch 956017)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28047 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-28 10:38:51 +00:00
Václav Slavík
04ff27d504 don't mess with the fonts if not asked to
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28046 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-27 22:17:14 +00:00
Václav Slavík
53fbce27ba removed wrong bg colour handling code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28045 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-27 22:16:40 +00:00
Václav Slavík
67c276bdb6 more fixes to HTML entities parsing when loading .hhk and .hhc
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28044 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-27 19:40:20 +00:00
Václav Slavík
1171e2e56e fixed typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28043 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-27 13:47:52 +00:00
Václav Slavík
ae864b86cb warning fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28042 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-27 13:42:23 +00:00
Václav Slavík
66bd83b4ec fixed setting colour of wxStaticText in case the label contains XML special characters
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28041 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-27 13:42:17 +00:00
Václav Slavík
1dbeee5774 implemented underlined text drawing for GTK2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28040 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-27 13:10:29 +00:00
Václav Slavík
3912b3f8f7 fixes to charset conversion when loading non-Latin1 helpbooks; use wxString instead of wxChar* in data structures
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28039 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-27 13:09:18 +00:00
Václav Slavík
16327fd824 re-added --inplace documentation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28038 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-27 09:00:52 +00:00
Robin Dunn
abd78a9ff1 don't create the font until after the app is initialized
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28037 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-26 18:45:02 +00:00
Václav Slavík
e1366cdb2a fixed sash dragging after programatically trying to set sashpos < minsize
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28036 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-26 17:29:43 +00:00
Václav Slavík
4dcccda66b implemented 3state checkboxes in wxGTK with GTK2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28035 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-26 15:53:22 +00:00
Václav Slavík
1ef49ab576 doubleclick selects cell for editing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28034 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-26 15:51:42 +00:00
Václav Slavík
a3c15d892d more fixes to keypress handling in wxGTK:
1. don't eat unprocessed events originating from child widgets
2. tell IM context about focus changes
3. set wxKeyEvent modifiers information from last GdkEventKey leading to IM's commit signal


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28033 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-26 15:25:39 +00:00
Václav Slavík
dbea9b7062 change of msgids patch description was inaccurate; fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28032 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-26 14:11:53 +00:00
Vadim Zeitlin
a3db525414 added and documented wxKeyEvent::GetUnicodeKey(); made it work for MSW; added test for it to the text sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28031 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-26 13:34:15 +00:00
Vadim Zeitlin
0d9b2c1636 added and documented wxKeyEvent::GetUnicodeKey(); made it work for MSW; added test for it to the text sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28030 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-26 13:14:24 +00:00
Stefan Csomor
a76342da41 allow a - at the beginning of a menu item (would become a separator by default)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28029 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-26 10:02:36 +00:00
Stefan Csomor
f4e8ff28c5 rely on built-in best size...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28028 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-26 09:39:01 +00:00
Stefan Csomor
6dfa00e85c correctly positioning vertical slider labels
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28027 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-26 09:31:55 +00:00
Dimitri Schoolwerth
fdd74b41b0 fixed include dependency
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28026 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-25 15:09:06 +00:00
Stefan Csomor
1189618f7a colors are only set if non-black, otherwise Enable(false) does not gray them out
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28025 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-25 13:40:16 +00:00
Julian Smart
2cce9b1152 Added braces to remove initialisation error
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28024 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-25 12:59:12 +00:00
Stefan Csomor
3413ceade8 font retrieval synched for setsize and bestsize
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28023 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-25 12:19:33 +00:00
Stefan Csomor
6d325d81bc best size handling fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28022 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-25 11:33:39 +00:00
Stefan Csomor
2d1760d30f cursor handling fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28021 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-25 11:18:02 +00:00
Stefan Csomor
90ff87d7b0 two-level switch statement for event types
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28020 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-25 09:21:15 +00:00
Stefan Csomor
4e4e6dce5b fix missing mouse-up events (eg when track control was called, which is consuming the mouse-up event)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28019 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-25 08:25:34 +00:00
Robin Dunn
88db1d64cb SetSizeHints hacks are not needed any longer since the minsize is not
set by default any longer


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28018 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-24 21:58:11 +00:00
Robin Dunn
dfbb588585 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28017 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-24 21:09:45 +00:00
Robin Dunn
a001823c80 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28016 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-24 21:02:49 +00:00
Václav Slavík
4b1ae1539c inform the IM context about focus changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28015 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-24 20:52:25 +00:00
Václav Slavík
36025bcc55 GtkIMContext must be the first to process keypress events, otherwise you won't be able to enter all characters with some IMs; this is same thing as what GtkEntry and GtkTextView do
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28014 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-24 20:27:49 +00:00
Robin Dunn
7d9f33e29b testing tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28013 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-24 20:25:53 +00:00
Robin Dunn
329b045c61 Optimized sizers to not call CalcMin more often than neccessary
Window items added with wxFIXED_MINSIZE flag will set the window's
minsize to its curent size.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28012 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-24 20:21:31 +00:00
Robin Dunn
ba763a45d8 Optimized sizers to not call CalcMin more often than neccessary
Window items added with wxFIXED_MINSIZE flag will set the window's
minsize to its curent size.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28011 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-24 20:13:27 +00:00
Robin Dunn
9f88452895 * Implemented BestSize cache
* Added calls to InvalidateBestSize where things affecting BestSize
  are modified.  There are probably several other places where this
  still needs to be done...

* Added wxWindowBase::GetBestFittingSize that will merge the BestSize
  into the MinSize, (if any) and return the result.

* SetBestFittingSize will now only set the MinSize to the value that
  was passed to it, without merging in the BestSize


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28010 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-24 20:09:45 +00:00
Václav Slavík
cf82b73a0a fixed keypresses handling to correctly translate Unicode characters to current locale's charset in GTK2+ANSI build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28009 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-24 19:51:39 +00:00
Václav Slavík
93d23d8faf fixed memory leak and removed duplicated code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28008 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-24 18:11:29 +00:00
Václav Slavík
da21012040 use GtkIMContext variable, not GtkIMMulticontext, we don't use functions that take the latter as their argument
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28007 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-24 17:54:08 +00:00
David Elliott
3ad32dc5ef We don't need to pose for NSMenuItem, target/action is used instead.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28006 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-24 16:36:27 +00:00
David Elliott
feb8276801 * Do not use class posing to handle target/action.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28005 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-24 15:14:33 +00:00
Václav Slavík
7a5e53abb3 fixed warnings after GetFont prototype change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28004 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-24 14:25:47 +00:00
Václav Slavík
c6eb778541 Removed references to now-deprecated wxNotebookSizer from documentation.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28003 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-24 11:59:38 +00:00
Václav Slavík
adbf2d732f deprecated wxBookCtrlSizer and wxNotebookSizer, they are no longer needed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28002 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-24 11:58:06 +00:00
Włodzimierz Skiba
19b44116d5 Fixed stream test.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28001 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-24 09:32:26 +00:00
Václav Slavík
2492cd3990 set size hints so that the window won't shrink too much
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28000 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-24 09:04:10 +00:00
Jouk Jansen
dac5a9c997 Committing in .
OpenVMS updates

 Modified Files:
 	wxWidgets/setup.h_vms wxWidgets/src/gtk/descrip.mms
 	wxWidgets/src/motif/checkbox.cpp
 ----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27999 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-24 08:15:07 +00:00
Włodzimierz Skiba
edcccd84c3 Regenerated makefiles.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27998 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-24 08:05:50 +00:00
Włodzimierz Skiba
592f132d04 Removed unused code.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27997 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-24 08:00:23 +00:00
Stefan Csomor
bef7a62d8f unicode fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27996 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-24 07:28:52 +00:00
Włodzimierz Skiba
960a83ccad Fixes for Smartphone builds. Sample does not work yet but at least creates exacutable.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27995 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-24 06:59:48 +00:00
Włodzimierz Skiba
b6352c09e9 Fixed WinCE build.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27994 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-24 06:54:55 +00:00
Václav Slavík
509cf714f8 reverted previous commit: the _real_ bug was already fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27993 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-24 06:46:27 +00:00
Robin Dunn
14a6b6e5f0 work around a bug in TabCtrl_AdjustRect which will cause a crash on
win2k, or on XP with themes disabled, if the wxNB_MULTILINE style is
used and the rectangle is very small, (such as when the notebook is
first created.)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27992 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-24 04:46:41 +00:00
Robin Dunn
1e63e75076 removed a SetFont(parent->GetFont())
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27991 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-24 04:45:53 +00:00
Robin Dunn
d6375c6983 tweaks for testing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27990 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-24 04:45:20 +00:00
Robin Dunn
1f3192288b wxDefaultCoord
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27989 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-24 03:04:57 +00:00
Václav Slavík
60c315ca1b fixed UNC paths handling (patch #975038)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27988 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-23 22:20:12 +00:00
Václav Slavík
6b0c752f23 test UNC filenames conversion on MSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27987 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-23 22:18:45 +00:00
Václav Slavík
a430a60fd1 compilation fix for gcc-3.4
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27986 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-23 22:18:11 +00:00
Dimitri Schoolwerth
dc302518e6 fixed bug #976725: "RETURN closes dialog instead of combobox dropdown" (applied fix suggested in the bug's comment)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27985 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-23 22:12:30 +00:00
Vadim Zeitlin
e35594251f added Set(jdn) test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27984 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-23 21:54:34 +00:00
Vadim Zeitlin
8cc00d5fca fixed bug in wxDateTime::Set(jdn) when DST was in effect
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27983 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-23 21:53:15 +00:00
Vadim Zeitlin
ccd6aacd5d extracted some wxDateTime tests from console sample to the unit test suite
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27982 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-23 21:18:16 +00:00
Václav Slavík
30e5722f7f ngettext() macro was removed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27981 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-23 20:31:23 +00:00
Václav Slavík
d721baa9e6 allow msgids in !=English languages (based on Stefan Kowski's patch)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27980 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-23 20:30:32 +00:00
Vadim Zeitlin
2b4f324ae2 fixed sending 2 events (normal and bogus cancel one) when ending to edit a tree ctrl item (patch 978403)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27979 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-23 18:26:49 +00:00
Vadim Zeitlin
ce192630a3 use ES_AUTOHSCROLL for multiline controls as well (fixes 966692)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27978 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-23 17:42:59 +00:00
Vadim Zeitlin
0b90bda36a don't use wxHSCROLL for the rich edit window, not that it really works as expected it looks ugly in the sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27977 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-23 17:42:03 +00:00
Robin Dunn
fd543c7a7a Create the wxPython dir (for the reverse renamers) if it doesn't exist
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27976 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-23 17:39:31 +00:00
Václav Slavík
b2b225e777 default colours are not stored in m_fore/backgroundColour variables anymore
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27975 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-23 17:31:29 +00:00
Václav Slavík
9a8477e134 refresh the window in OnSysColourChanged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27974 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-23 16:41:50 +00:00
Václav Slavík
0ac21dde62 no need to update default colours and refresh if syscolours change, wxWindow does it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27973 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-23 16:41:40 +00:00
Włodzimierz Skiba
21d09ecdee Make some long #ifs shorter but multiline so diffs of other ports are more readable.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27972 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-23 16:04:36 +00:00
Chris Elliott
a4f1a5f286 fix bug with button doing nothing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27971 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-23 16:04:10 +00:00
David Elliott
723e9bc9d9 wxCocoa: don't force DEFAULT_wxUSE_SCROLLBAR=no
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27970 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-23 16:01:19 +00:00
Václav Slavík
127304e9c4 gtk_widget_get_display is documented to be GTK >= 2.2 thing -- fixes report about compilation failure
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27969 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-23 15:33:22 +00:00
Václav Slavík
daa38c004f GetFont doesn't return reference anymore
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27968 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-23 15:30:37 +00:00
David Elliott
5369a0543e wxCocoa: Added wxScrollBar
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27967 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-23 15:26:44 +00:00
Włodzimierz Skiba
d22004c4f4 Make some long #ifs shorter but multiline so diffs of other ports are more readable.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27966 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-23 15:01:33 +00:00
Dimitri Schoolwerth
7738c2e59a fixed unresolved symbol main (occurred with wxMac)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27965 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-23 14:49:42 +00:00
David Elliott
d694d2800b Regenerated with Bakefile 0.1.4 (some WinCE files were added by someone else)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27964 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-23 14:06:28 +00:00
Włodzimierz Skiba
4b0881393c Private macro moved in waiting for DektopPolicy implementation.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27963 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-23 11:55:33 +00:00
Václav Slavík
f604c65827 don't cache default colours
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27962 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-23 11:52:03 +00:00
Václav Slavík
9028704800 removed non-const wxWindow::GetFont and GetCursor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27961 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-23 11:51:19 +00:00
Václav Slavík
29094af062 removed non-const wxWindow::GetFont and GetCursor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27960 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-23 11:34:24 +00:00
Włodzimierz Skiba
718970e590 Preserve previous state of sizers.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27959 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-23 10:57:33 +00:00
Włodzimierz Skiba
119727ad9e Shortcuts for avoiding #ifdef __SMARTPHONE__ conditions.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27958 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-23 10:44:16 +00:00
Włodzimierz Skiba
da7a860276 According to C99 standard (6.10.1 p3) defined() in #define is undefined, so we need replacement.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27957 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-23 09:39:42 +00:00
Václav Slavík
477160b73f include bitmap.h not needed anymore
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27956 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-23 09:06:04 +00:00
Julian Smart
af905c94b5 Font correction
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27955 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-23 08:22:10 +00:00
David Elliott
9c85202a7a Remove SendDestroyEvent() call from SetNSView() and call it from ~wxWindow
and ~wxTopLevelWindow instead.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27954 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-23 00:46:51 +00:00
Vadim Zeitlin
64764f5077 fix for a warning in DLL build (patch 966823)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27953 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-22 23:33:44 +00:00
Vadim Zeitlin
b7b97e7726 don't suppose that string literals can be casted to non-const char *, newer compilers complain about it (replaces patch 974652)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27952 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-22 23:32:29 +00:00
Vadim Zeitlin
19fe5fd1dc don't pretend that type unsafe event table entry works, it doesn't any more (bug 969012)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27951 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-22 23:25:46 +00:00
Vadim Zeitlin
12b58624e9 fixed assertion failure if Ok or Cancel button is clicked in a modeless dialog (bug 973873)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27950 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-22 23:20:27 +00:00
Vadim Zeitlin
b7f5f3cc75 don't overwrite initial controls value, explaining what its style is
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27949 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-22 23:08:41 +00:00
Vadim Zeitlin
48e4ba4f82 use C++ linkage functions (and not extern C) with std::ptr_fun<>, Sun CC doesn't accept C linkage functions here
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27948 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-22 22:57:13 +00:00
Vadim Zeitlin
e5a573a28b don't treat filenames starting with dot as having empty name and extension equal to the full name without dot (was done like this only for Unix and VMS before, now do it for all platforms)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27947 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-22 21:56:44 +00:00
Vadim Zeitlin
91a7f3b04d remove unnecessary (and provoking a warning under IRIX) const qualifier on the return value of a function returning bool
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27946 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-22 21:40:17 +00:00
Vadim Zeitlin
a1e101d056 fixed crash when string couldn't be converted to UTF8 in GetTextExtent() under GTK 2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27945 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-22 21:35:14 +00:00
David Elliott
4842cc59b5 wxCocoa no longer uses the generic notebook.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27944 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-22 21:24:44 +00:00
Robin Dunn
2148e7014d improved assert
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27943 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-22 19:59:21 +00:00
Václav Slavík
d01bf7ae34 corrected Cygwin instructions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27942 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-22 18:00:52 +00:00
Włodzimierz Skiba
daf3246330 wxParseWildcard renamed to wxParseCommonDialogsFilter. Its usage is extended from generic dialogs to MSW, Motif and other incoming ports.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27941 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-22 16:58:27 +00:00
David Elliott
e835546c77 Added Bakefile conditions used by recently updated samples/dialogs/Makefile.in
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27940 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-22 15:56:10 +00:00
Vadim Zeitlin
956495caff moved wxEntry(HINSTANCE, ...) declaration to wx/msw/app.h from wx/app.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27939 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-22 11:07:23 +00:00
Vadim Zeitlin
dcc19b5b38 fixed wxEntry() signature
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27938 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-22 09:58:37 +00:00
Włodzimierz Skiba
af2799b7bb Maximized dialogs for SmartPhone.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27937 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-22 08:29:42 +00:00
Włodzimierz Skiba
095b80e2b5 Conditional compilation fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27936 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-22 08:26:36 +00:00
Włodzimierz Skiba
64c794f682 Choices dialog adjustement to SmartPhone.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27935 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-22 08:23:19 +00:00
Włodzimierz Skiba
dc96b1b674 Less text for smaller screen.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27934 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-22 08:17:42 +00:00
Włodzimierz Skiba
6c1035d3c1 Minimize diff for ports where features are not possible.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27933 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-22 08:15:54 +00:00
David Elliott
6fbcc6cac3 Observe NSControlTintDidChangeNotification in the application delegate.
TODO: Actually implement this to do something.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27932 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-22 04:16:22 +00:00
Robin Dunn
d8d39b51e6 reverted m_adjustMinSize change prepatory for a new approach to fix
the problem


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27931 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-21 23:08:44 +00:00
Robin Dunn
c0e6c05138 reverted m_adjustMinSize change prepatory for a new approach to fix
the problem


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27930 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-21 22:58:13 +00:00
Robin Dunn
478ba84485 Fix for drag object bug
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27929 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-21 22:39:24 +00:00
Robin Dunn
fe5e444a73 Changes needed to accomodate wxTheClipboard now being a macro for wxClipboard::Get
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27928 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-21 22:37:35 +00:00
Robin Dunn
71132988f8 change how email is sent
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27927 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-21 22:33:45 +00:00
Vadim Zeitlin
e4edebc096 removed Direction_Max from Direction enum for consistency with the MSW version
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27926 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-21 12:36:34 +00:00
Vadim Zeitlin
82baa5e4f1 removed asserts to suppress gcc 3.4 warnings about condition being always true
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27925 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-21 12:35:22 +00:00
Włodzimierz Skiba
9c8cd1061f Reordered condition to make diff of other port smaller.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27924 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-21 10:46:46 +00:00
Włodzimierz Skiba
ee0f553126 Array of strings is needed regardless of wxUSE_CMDLINE_PARSER.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27923 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-21 10:35:38 +00:00
Włodzimierz Skiba
b4954d198e Better conditions within dialogs sample.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27922 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-21 10:31:39 +00:00
Václav Slavík
9d701f0ebf reverted previous revision, old clipboard API is still used by wxMSW itself
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27921 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-21 10:13:18 +00:00
Václav Slavík
831dd3a1e8 don't export deprecated interface to clipboard from DLL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27920 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-21 08:58:52 +00:00
Václav Slavík
2af18715e5 wxClipboard changes compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27919 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-21 08:54:35 +00:00
Włodzimierz Skiba
ef6d716b00 Different default buttons for native menubars on Smartphones.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27918 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-21 08:31:04 +00:00
Václav Slavík
eaee975aca identify more compilers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27917 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-21 07:39:58 +00:00
Julian Smart
51e14ebe64 Crash fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27916 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-20 22:21:13 +00:00
Václav Slavík
0e4a70455a more recognized response types
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27915 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-20 17:19:59 +00:00
Václav Slavík
5dc43d1fc5 create wxTheClipboard on first use, not startup -- this fixes crash in console-only apps that were linked against wxGTK's 'core' shared library
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27914 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-20 17:19:26 +00:00
Václav Slavík
fbe47c7b5c check for wputc wputchar putws fputws availability
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27913 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-20 17:18:50 +00:00
Chris Elliott
290e4c83d9 fix bug with univ creating textctrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27912 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-20 13:11:37 +00:00
Chris Elliott
65f8780cb7 fix univ SegFault
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27911 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-20 13:10:22 +00:00
Mattia Barbon
e3f8f04d8e Compilation fixes for wxUSE_STL == 1.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27910 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-20 13:10:16 +00:00
Mattia Barbon
9cde322b93 Fix for declaring arrays for non-numeric/non-pointer types.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27909 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-20 10:22:23 +00:00
Mattia Barbon
b76069e27f Compilation fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27908 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-20 09:14:18 +00:00
Mattia Barbon
affd2611c5 Some (incomplete) fixes for wxUSE_STL == 1.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27907 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-20 09:02:29 +00:00
Václav Slavík
1ca21594f7 don't explicitly set font and bg colour
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27906 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-19 22:39:05 +00:00
Vadim Zeitlin
0c2a5de2b1 fixed memory leak in wxURL when using a proxy
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27905 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-19 22:36:44 +00:00
Václav Slavík
22aff5795e handle style changes correctly in GtkPizza
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27904 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-19 21:30:14 +00:00
Václav Slavík
984e8d0b6b interpret m_has..Col, m_hasFont correctly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27903 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-19 18:59:43 +00:00
Robin Dunn
237302e704 Regenerated renamers, each has just a change in their headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27902 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-19 18:21:36 +00:00
Robin Dunn
73a223694a Patch from Kevin Ollivier that merges buildrenamers into the main
config module, and other tweaks.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27901 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-19 18:20:22 +00:00
Julian Smart
0335f6f746 Switch off adjust min size for book control and therefore notebook,
since we don't want to stop notebooks resizing smaller than the initial size


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27900 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-19 17:53:50 +00:00
Václav Slavík
7074ce3577 moved DoApplyWidgetStyle to wxWindowGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27899 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-19 17:49:26 +00:00
Robin Dunn
5f280eaa57 Patch from Will Sadkin:
- Fixed intra-right-insert-field erase.
- Allowed right-insert in ipaddrctrl subfields.
- Made _SetValue() place cursor after last non-blank character inserted,
  rather than end of mask.
- Fixed combobox autoselect behavior to work similarly as above, so that
  said selection will only select the non-empty text, as per request.
- Fixed some incorrect undo behavior for right-insert fields
- Allowed derived classes (eg. numctrl) to pass modified values for undo
  processing (to handle/ignore grouping chars properly.)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27898 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-19 16:25:55 +00:00
Robin Dunn
f8167d6ee2 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27897 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-19 15:23:25 +00:00
Julian Smart
1deb64c09e DoGetBestSize may be called before m_text and m_choice are set,
so check


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27896 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-19 14:55:25 +00:00
Mattia Barbon
7686554b25 Remove no longer used header.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27895 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-19 14:53:50 +00:00
Václav Slavík
646b6ec1a8 GTK2 port is not experimental anymore
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27894 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-19 14:03:42 +00:00
Václav Slavík
816b59debf moved wxFontMapper tests to its own file and testcase
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27893 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-19 14:01:44 +00:00
Julian Smart
b325f27f23 Tex2RTF doesn't like {\tt{ thing}}
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27891 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-19 07:40:07 +00:00
Robin Dunn
fe161a2685 Controls will readjust their size and minsize when SetLabel or SetFont
are called.  Fixed up wxStaticText to blend the wxST_NO_AUTOSIZE with
this new functionality.  Made SetBestSize public under the
SetBestFittingSize name.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27890 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-19 01:35:10 +00:00
Kevin Ollivier
8de5b24e54 Fixed to work with the new wxMacControl system.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27889 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-18 20:08:12 +00:00
Włodzimierz Skiba
1d0d154068 Small step in making HelpGen up to date unicode application.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27888 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-18 19:25:50 +00:00
Włodzimierz Skiba
f5ad07e2ba Fixes for unused values and code.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27887 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-18 18:28:31 +00:00
Julian Smart
7517318648 Latex corrections from Marc Albrecht
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27886 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-18 17:57:47 +00:00
Robin Dunn
f8e045e24b Give wxWindowGTK::ApplyWidgetStyle an implementation too so
non-control windows can also change colours, etc.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27885 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-18 17:30:32 +00:00
Robin Dunn
a2df8090e8 Patch from Pierre Hjälm.
"""
It removes "from __future__ import division", fixes a couple of bugs and
adds a lot of whitespace.

Since I also removed an instance of [::-1] for list reversing, I think this
ought to work on older pythons (I have not tested though).
"""




git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27884 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-18 16:32:03 +00:00
Włodzimierz Skiba
bc55323bc3 Charsets part moved from console sample to test unit.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27883 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-18 15:44:46 +00:00
Włodzimierz Skiba
6d27420f9e Warning fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27882 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-18 15:18:36 +00:00
Włodzimierz Skiba
991420e6df Warning fixes for WinCE.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27881 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-18 09:48:15 +00:00
Włodzimierz Skiba
ed679e7422 Flatening menu for Smartphones when menubar has only one menu
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27880 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-18 09:36:05 +00:00
Václav Slavík
c6c825d8dd new logic applies to SetFont(wxNullFont), too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27879 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-18 08:02:27 +00:00
Václav Slavík
5edef14ec8 reset fg/bg colour and font to default if set to wxNullColour/Font
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27878 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-18 08:02:01 +00:00
Václav Slavík
29c749b8ba test colours unsetting
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27877 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-18 08:01:32 +00:00
Václav Slavík
4e4688beb1 minor visual improvements to wxTipDialog
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27876 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-18 08:00:51 +00:00
Václav Slavík
72bbf76a54 new logic applies to SetFont(wxNullFont), too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27875 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-18 07:30:08 +00:00
Stefan Csomor
fb44fc34e8 removed use of p2cstr
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27874 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-18 07:15:28 +00:00
Václav Slavík
488eb04e3c fixed badly looking dialog (different spacing)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27873 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-18 06:54:20 +00:00
Václav Slavík
cdfd8b1e84 fixed wxGenericDirCtrl sizing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27872 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-18 06:52:42 +00:00
Robin Dunn
3d7d51faea Set the client size as calculated, but use the full size for the size hints
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27871 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-17 23:18:57 +00:00
Robin Dunn
b52acd035e Use GetBackgroundColour so it will revert to the default if
wxNullColour is used


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27870 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-17 22:50:54 +00:00
Robin Dunn
ee8bf34fba moved metrowerks debugger support in to wxUSE_BASE to avoid suplicate
defintion errors when using multi-lib build


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27869 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-17 22:40:26 +00:00
Robin Dunn
ece990873c Updated docs for Set[Fore|Back]groundColour with more hints about
using them with themes


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27868 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-17 22:24:21 +00:00
Robin Dunn
4105cbfb05 oops, forgot to remove a bit of test code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27867 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-17 21:40:55 +00:00
Robin Dunn
16d4285706 Don't have to explicitly set the background any more, the default will
do the right thing.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27866 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-17 21:37:44 +00:00
Robin Dunn
44f08a2291 Use GetBackgroundColour in the default OnEraseBackground so it can use
the default if the colour hasn't been explicitly set


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27865 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-17 21:36:32 +00:00
Robin Dunn
44dfb5ce92 Set/Reset ThemeEnabled when changing the fore/background colours.
Using wxNullColour will reset to defaults.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27864 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-17 21:31:13 +00:00
Julian Smart
948f6c6e4c Corrected position of wxUSE_WEBKIT test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27863 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-17 20:30:20 +00:00
Robin Dunn
b25630fb6c Hide the dialog after running it as it may be a bit of time before it
is destroyed


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27862 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-17 19:51:11 +00:00
Włodzimierz Skiba
13de0c8c9b Separation of wxUSE_FILEDLG and wxUSE_DIRDLG in generic implementations.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27861 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-17 19:50:20 +00:00
Włodzimierz Skiba
d29bf6775a Better markup.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27860 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-17 19:44:00 +00:00
Julian Smart
ec9f9256ea Added --enable-webkit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27859 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-17 19:42:56 +00:00
Robin Dunn
8826712ea0 in unicode mode the return value of gridtable.GetValue must be a
string or a unicode object, as the coerce to unicode function used can
only convert strings.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27858 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-17 19:23:35 +00:00
Włodzimierz Skiba
8ad74db31e Warning fixes. Code cleanup. Whitespaces and tabs removed.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27857 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-17 19:00:22 +00:00
Stefan Csomor
e5a9c66398 moved metrowerks debugger support out of wxUSE_GUI
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27856 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-17 18:27:52 +00:00
Václav Slavík
0a16b43640 reverted Julian's incorrect rename of wxWindows.dsp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27855 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-17 17:03:03 +00:00
Václav Slavík
e236828da1 it's OK to set background,foreground colour even with theming now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27854 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-17 17:01:51 +00:00
Włodzimierz Skiba
ca65c0440a Code cleaning: wxID_ANY, wxDefaultSize, wxDefaultPosition, true, false, wxEmptyString, tabs and white spaces.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27853 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-17 16:22:36 +00:00
Julian Smart
f938940e09 Allow wxSplitterWindow::Initialize(NULL) in case we've deleted both child
windows and want to clean up dangling pointers


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27852 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-17 09:05:39 +00:00
Stefan Csomor
37de49a322 BU_EXACTFIT adapted
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27851 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-17 08:06:33 +00:00
Robin Dunn
a8eff06059 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27850 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-17 06:11:50 +00:00
Robin Dunn
fd2dc34356 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27849 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-17 06:05:17 +00:00
Robin Dunn
fdc775af55 docstrign tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27848 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-17 05:52:01 +00:00
Robin Dunn
fa003c13c7 Added missing GetKind method
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27847 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-17 05:51:43 +00:00
Robin Dunn
a6ef736205 Fixed broken DocDeclAStr macro
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27846 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-17 05:49:47 +00:00
Robin Dunn
7940844666 Fixed upload location, test sending an email when successfully finished
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27845 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-17 05:49:00 +00:00
Robin Dunn
33b7017158 XRC style names use the C++ style names
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27844 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-17 05:16:30 +00:00
Kevin Ollivier
f26ca7f8e4 Fixing sizing problems on OS X.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27843 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-17 04:52:05 +00:00
Václav Slavík
62a9d04c7d WXDLLEXPORT correction
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27842 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-16 21:02:29 +00:00
Václav Slavík
6c3afc4224 fixed missing NO_GCC_PRAGMA
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27841 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-16 21:00:59 +00:00
Václav Slavík
38de94271f fixed incorrect handling of scaled fonts and fixed GetNativeFontInfo to return meaningful data with GTK1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27840 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-16 21:00:18 +00:00
Włodzimierz Skiba
a0f428c6ad Smartphone menus.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27839 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-16 15:35:04 +00:00
Włodzimierz Skiba
dea7e44a76 -1, TRUE/true, FALSE/false and tabs replacements.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27838 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-16 15:22:59 +00:00
Włodzimierz Skiba
695fe764bd Generic file dialog presentation. Regenerated makefiles.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27837 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-16 15:03:44 +00:00
Włodzimierz Skiba
1142c83773 Missed header.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27836 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-16 14:58:18 +00:00
Włodzimierz Skiba
aaf659419b Missed decoration.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27835 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-16 12:28:31 +00:00
Julian Smart
2fa2b11bbf Corrected some spacing and typo errors.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27834 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-16 09:25:29 +00:00
Włodzimierz Skiba
be076b78eb Corrections to wxWinCE port descriptions.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27833 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-16 07:26:18 +00:00
Włodzimierz Skiba
fb8a56b77c Smartphone menus.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27832 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-16 06:37:55 +00:00
Włodzimierz Skiba
665b71b17c Warning fixes for WinCE.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27831 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-16 06:34:53 +00:00
Włodzimierz Skiba
f428e6c50f Warning fixes for WinCE.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27830 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-16 06:24:42 +00:00
Włodzimierz Skiba
e0b97560ed Smartphone specific resource files.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27829 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-16 06:17:27 +00:00
Robin Dunn
5dda6ad8b6 don't fail if the cleanup fails
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27828 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-16 05:27:09 +00:00
Robin Dunn
4b2826e515 trim the whitespace from the daily build version text
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27827 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-16 05:20:03 +00:00
Robin Dunn
8396fb3fdc make sure the dist dir is created
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27826 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-16 05:18:58 +00:00
Robin Dunn
5fcb35d9bf regened with new version
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27825 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-16 05:18:14 +00:00
Robin Dunn
908b74cdd6 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27824 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-16 03:47:18 +00:00
Robin Dunn
10b12f715e layout tweak (it should use a sizer though)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27823 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-16 03:29:33 +00:00
Robin Dunn
ebd7cc3ae8 reordered base classes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27822 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-16 02:22:30 +00:00
Robin Dunn
9e70f34262 added button testcase with larger font set after creation.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27821 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-16 02:21:31 +00:00
Robin Dunn
857878dfee Version number update
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27820 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-16 02:18:42 +00:00
Robin Dunn
3b74f19449 Added Navigate, SetMinSize, SetMaxSize wxWindow methods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27819 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-16 02:17:01 +00:00
Robin Dunn
49f1dc5e8a Add SetMinSize and SetMaxSize to go along with the Get's already there.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27818 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-16 02:15:27 +00:00
Julian Smart
8700aedc16 Typo correction
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27817 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-15 22:30:08 +00:00
Julian Smart
54a69edf6c Enum becomes public
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27816 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-15 22:24:49 +00:00
Julian Smart
eedc82f4e9 Navigate corrections
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27815 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-15 21:55:18 +00:00
Robin Dunn
03d51a2d40 Add placeholder for wxParseWildcard
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27814 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-15 21:03:19 +00:00
Robin Dunn
015256c091 Just a singel constructor for wxTextAttr
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27813 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-15 21:02:31 +00:00
Julian Smart
6ad49e18b9 Consistent tab behaviour
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27812 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-15 15:37:03 +00:00
Włodzimierz Skiba
9e152a5578 wxParseWildcard added instead of methods hidden under wxUSE_FILEDLG and wxUSE_DIRDLG.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27811 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-15 15:25:33 +00:00
Julian Smart
f5f3247dcc Tests for wxTE_PROCESS_TAB again in line with other ports
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27810 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-15 14:49:54 +00:00
Włodzimierz Skiba
63c839616a Add generic dialogs in non wxUniversal builds. Regenerated makefiles.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27809 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-15 14:39:38 +00:00
Włodzimierz Skiba
d2b98e9537 Missed VC workspace.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27808 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-15 14:35:03 +00:00
Julian Smart
5f6cfda79f With wxTE_PROCESS_TAB, tabs are now inserted in the text control
by default. The new Navigate function can be used to do navigation
programmatically.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27807 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-15 14:03:06 +00:00
Chris Elliott
1ab608ee00 fix for Borland Dll build (SF bug #972989)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27806 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-15 11:57:21 +00:00
Robin Dunn
d441bff4c0 Oops, that space crept back in.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27805 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-15 03:36:44 +00:00
Robin Dunn
a3b4583a9d Check exit codes properly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27804 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-15 03:27:08 +00:00
Robin Dunn
e7db5d9c82 increased bit-depth
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27803 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-15 03:26:47 +00:00
Robin Dunn
0362149469 regenerated with fix for wxPNGHandler::SaveFile
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27802 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-15 03:26:07 +00:00
Robin Dunn
ebfcc17a6a layout tweakAdd DoGetBestSize to wxCheckListBox that adds room for the checkbox
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27801 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-15 03:24:36 +00:00
Robin Dunn
6d50c6a702 Add DoGetBestSize to wxCheckListBox that adds room for the checkbox
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27800 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-15 03:23:05 +00:00
Robin Dunn
5f5183d34b Save the alpha values if the image has an alpha channel
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27799 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-15 01:05:10 +00:00
Robin Dunn
8a07b43cf6 Patch [ 971542 ] Tiny speedup for stc2wx in PlatWX.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27798 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-14 22:44:57 +00:00
Robin Dunn
6923d0a947 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27797 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-14 22:07:24 +00:00
Robin Dunn
ec830416c5 This workaround is no longer needed because of fix in
wxWindowMac::MacWindowToRootWindow


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27796 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-14 22:05:52 +00:00
Robin Dunn
5437ff47ec Check if MacGetTopLevelWindow returns NULL before using it. This can
happen when the toplevel window is beign destroyed but a decendent
window (child, grandchild...) has an EVT_KILL_FOCUS handler that does
some drawing or other significant work.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27795 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-14 22:04:55 +00:00
Robin Dunn
4c51584544 test full row highlight
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27794 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-14 21:59:21 +00:00
Robin Dunn
1e03b21d31 m_img* need initialized too otherwise we can end up with rows that are
a million pixels high!


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27793 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-14 21:18:50 +00:00
Robin Dunn
c6ca8c022c clip notebook children to help reduce flicker
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27792 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-14 20:17:31 +00:00
Robin Dunn
36e910973a Add a set of scripts that can be used to build and upload the
distributable binaries for all platforms all from a single
command-line on a single machine.  Will probably also be used for a
daily build cron job.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27791 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-14 19:53:50 +00:00
Robin Dunn
96acd0c161 increment version number
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27790 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-14 19:47:22 +00:00
Robin Dunn
f2e6414168 If wxWidgets was build without wxDisplay then in Python it will raise
a NotImplementedError


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27789 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-14 19:45:51 +00:00
Robin Dunn
b00f16c865 Added new event binders
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27788 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-14 19:37:33 +00:00
Robin Dunn
e483648882 ProgressDialog docstrign tweak
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27787 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-14 19:12:08 +00:00
Robin Dunn
6ab5d4883f Various layout fixes and such
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27786 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-14 19:10:20 +00:00
Robin Dunn
2706d2fede fixed compile error
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27785 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-14 18:50:19 +00:00
Václav Slavík
f40fdaa339 fixed GTK styles handling:
1. don't modify the style unless something changed
2. use gtk_widget_modify_style instead of gtk_widget_set_style, the latter is not recommended by GTK+ developers


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27784 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-14 17:34:00 +00:00
Stefan Csomor
fae763d088 adding mac to the memory crit sect
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27783 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-14 13:34:40 +00:00
Václav Slavík
1543645813 respect GTK+'s theme tooltip colour settings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27782 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-14 13:27:26 +00:00
Włodzimierz Skiba
6db6859926 Reverted generic dialogs usage in MSW makefiles.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27781 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-14 11:10:17 +00:00
Vadim Zeitlin
b529769179 fill up the gauge when Update(maximum) is called
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27780 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-14 10:46:12 +00:00
Vadim Zeitlin
37db0913a2 corrected erroneous description of Update() argument
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27779 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-14 10:23:20 +00:00
Julian Smart
24d705907d Added event table macros to wxGrid that take window identifiers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27777 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-13 23:17:00 +00:00
Vadim Zeitlin
8b1c2cf0c2 corrected DBErrorList DLL export declaration
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27776 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-13 21:52:14 +00:00
Julian Smart
4e9a4c98c1 Tweaks to announcement
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27775 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-13 16:31:06 +00:00
Julian Smart
e477b168c6 Corrected return type of SetBackgroundColour
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27774 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-13 16:30:15 +00:00
Julian Smart
6f92b0bb0c Domain name corrections
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27773 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-13 16:28:28 +00:00
Julian Smart
667d61b883 Script tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27772 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-13 16:25:14 +00:00
Julian Smart
be368bc833 Use old project file name
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27771 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-13 16:20:22 +00:00
Julian Smart
2f608603ad Typo correction
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27770 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-13 16:18:41 +00:00
Julian Smart
3fd239fab9 Small WinCE symbol fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27769 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-13 16:11:40 +00:00
Julian Smart
bfe1328804 Fix for DLL compilation bug (Fritz Elfert)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27768 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-13 15:39:26 +00:00
Václav Slavík
90b85bfcde fixed background rendering if GetThemeEnabled()=true with GTK2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27767 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-13 13:09:16 +00:00
Václav Slavík
fc55f9616d fix wxPanel rendering in wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27766 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-13 12:50:10 +00:00
Dimitri Schoolwerth
2153bf897a replaced menu calls Append([...], true) with the less cryptic AppendCheckItem
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27765 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-13 00:02:35 +00:00
Dimitri Schoolwerth
dabbc6a5a1 removed SetAutoLayout(true) calls when a corresponding SetSizer() was also called (the latter already calls SetAutoLayout(true) in case of a non-NULL window); usual cleanup: removing tabs and end of line whitespace, TRUE->true, FALSE->false, -1->wxID_ANY, Enable(false)->Disable(), ""->wxEmptyString
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27764 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-12 23:44:08 +00:00
Robert Roebling
3d4875664f Applied new master define for CommandBar vs. PocketPC mixed bar.
This also works now under Handheld PC 2000.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27763 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-12 23:01:02 +00:00
Robert Roebling
b3900fb51a Added master define for CommandBar vs. PocketPC mixed bar.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27762 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-12 22:58:28 +00:00
Václav Slavík
7b999c863b compilation fixes for GTK (this looks weird for other platforms, too...)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27761 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-12 21:22:05 +00:00
Václav Slavík
ed420f6ddd set size hints in notebook sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27760 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-12 19:38:33 +00:00
Václav Slavík
2f35f36bbc fixed setting of initial font under wxGTK2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27759 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-12 12:36:26 +00:00
Robin Dunn
81de4ba3ad Add "inplace" build option that allows the distribution to be built
from witin the current source tree instead of rewuiring the
wxPythonSrc tarball.  (Currently it still needs the Docs and Demo
tarballs to make a full build, but it can skip those parts if the
tarballs are not available.)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27758 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-11 22:50:25 +00:00
Robin Dunn
3afe2fd691 Fix a couple warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27757 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-11 22:46:47 +00:00
Włodzimierz Skiba
13188defe3 Reworked dialogs sample in the direction of fully working in not fully specified setup.h. Dedicated mainly for all those hard working on various port. Be happy with always working dialogs sample.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27756 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-11 20:43:45 +00:00
Włodzimierz Skiba
23c47bc1f3 Generic font dialog is still an option in wxMSW in non Univ mode
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27755 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-11 19:24:59 +00:00
Robert Roebling
781a24e82f Compile fixes for HANDHELDPC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27754 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-11 19:15:40 +00:00
Robert Roebling
dcaf7c6e3b Compile fix for HANDHELDPC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27753 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-11 19:14:20 +00:00
Robert Roebling
68c30476e7 Compile fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27752 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-11 19:13:49 +00:00
Robert Roebling
daeb83303c Added compatibility fix for wxADJUST_MINSIZE
Added defines for HANDHELDPC


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27751 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-11 19:12:45 +00:00
Włodzimierz Skiba
132a592877 No warning with wxUSE_BUSYINFO turned off.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27750 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-11 19:02:44 +00:00
Włodzimierz Skiba
524bb0fad0 Generic colour dialog is still an option in wxMSW in non Univ mode
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27749 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-11 18:37:15 +00:00
Włodzimierz Skiba
5a3b6b0782 wxUSE_FONTDLG is optional.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27748 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-11 17:19:17 +00:00
Włodzimierz Skiba
3511e02405 wxUSE_PROGRESSDLG is optional.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27747 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-11 14:45:09 +00:00
Stefan Csomor
f57d9215b8 adding compatibility mode fallback for custom window definition procs that don't allocated a content view at all
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27746 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-11 14:06:50 +00:00
Włodzimierz Skiba
f80ea77b4a wxID_ANY, wxDefaultSize, wxDefaultPosition, wxNOT_FOUND, true, false, tabs replacements.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27745 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-11 13:14:23 +00:00
Włodzimierz Skiba
df135587ad Changed type of bitmaps. RC of DMC reported 'is not a valid Windows 3.0 or OS/2 1.x bitmap' for some images.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27744 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-11 12:55:11 +00:00
Dimitri Schoolwerth
a70b2f8001 fixed typo, used word 'assigned' instead of 'allotted'
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27743 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-11 12:36:55 +00:00
Robin Dunn
f60a22bd94 Accept both XY and X.Y version numbers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27742 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-11 02:41:27 +00:00
Robin Dunn
11ccd01223 Some doc tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27741 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-11 01:25:44 +00:00
Robin Dunn
37711de325 Get unicows.dll from distrib/msw
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27740 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-11 01:22:36 +00:00
Robin Dunn
b3a477abb3 Put this distributable here so it doesn't get lost again
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27739 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-11 01:21:20 +00:00
Robin Dunn
939b57893e corrected the .pyd names
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27738 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-11 01:16:51 +00:00
Robin Dunn
13a49d6615 fix the shebang
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27737 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-11 01:15:56 +00:00
Vadim Zeitlin
05e00ac5ef update from herbert breunung
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27736 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-10 22:17:50 +00:00
Robin Dunn
6431656829 Some doc tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27734 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-10 20:26:43 +00:00
Václav Slavík
ebe4745154 fixed pasting of Unicode strings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27733 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-10 19:37:03 +00:00
Václav Slavík
810324c83b don't confuse wxDF_UNICODETEXT and wxDF_TEXT
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27732 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-10 19:24:08 +00:00
Václav Slavík
0ee43a72dd removed outdated comment
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27731 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-10 19:00:56 +00:00
Vadim Zeitlin
d305f9dfff open more keys in read only mode if we need to only read from them (fixes problems with accessing some registry values under XP)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27730 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-10 16:51:59 +00:00
Vadim Zeitlin
fbbc1982a3 fixed typo in wxFrame::SetStatusBar() (bug 970516)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27729 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-10 16:50:31 +00:00
Julian Smart
0099f3435b OR extra style with existing value or some implementations will
have problems (espec. wxGTK modal dialogs closing behaviour)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27728 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-10 13:28:31 +00:00
Vadim Zeitlin
6258e418a0 disable the first top level parent, not the topmost top level parent
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27727 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-10 13:27:58 +00:00
Vadim Zeitlin
ffda4dacbd count the root item in wxTreeCtrl::GetCount()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27726 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-10 12:06:10 +00:00
Dimitri Schoolwerth
75736a9c81 clarified the parameters of MB2WC and WC2MB a little in the docs/headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27725 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-10 12:01:59 +00:00
Vadim Zeitlin
329eeca9c4 fixed assert in SetItemText() for wxTR_MULTIPLE controls
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27724 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-10 11:29:49 +00:00
Robin Dunn
719ee9c389 Take care of some focus issues with the AutoComp list box and also a
crash at exit when losing focus.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27723 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-10 00:09:27 +00:00
Vadim Zeitlin
5ac9433d0a fixed OnFrameClose() return type
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27722 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-09 23:48:17 +00:00
Robin Dunn
8a79319461 Ensure that the correct rectangle is clipped and refreshed for the CallTip
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27721 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-09 22:19:57 +00:00
Vadim Zeitlin
329ac7daeb explicit this-> is required by C++ standard, not g++, in WinStruct template
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27720 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-09 22:01:54 +00:00
Vadim Zeitlin
1a4088e1c7 count the root item in wxTreeCtrl::GetCount()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27719 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-09 21:48:18 +00:00
Robin Dunn
d07096ad61 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27718 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-09 19:00:14 +00:00
Robin Dunn
a256902439 reSWIGed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27717 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-09 18:59:57 +00:00
Robin Dunn
1005198c07 Use correct CheckForIntersect method
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27716 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-09 18:55:39 +00:00
Robin Dunn
e6ffceddda reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27715 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-09 18:54:49 +00:00
Robin Dunn
1de0f8e33b Support for new ctor and Union
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27714 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-09 18:54:34 +00:00
Robin Dunn
0c81d1b8eb typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27713 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-09 17:51:19 +00:00
Robin Dunn
3a8ed07180 use the API Ptr accessor for the inline functions too.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27712 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-09 17:50:45 +00:00
Robin Dunn
b05032577a reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27711 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-09 17:31:33 +00:00
Robin Dunn
7a0b95b008 reSWIGed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27710 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-09 17:30:31 +00:00
Robin Dunn
d25d9ed08e Default position for PopupMenu
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27709 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-09 17:05:20 +00:00
Włodzimierz Skiba
2ba06d5a8c -1->wxID_ANY, TRUE->true, FALSE->false and tabs replacements. Correct help system in non MSW builds of OGL-Studio sample.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27708 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-09 16:42:34 +00:00
Václav Slavík
45b8a2566d removed unneeded prototype
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27707 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-09 15:38:09 +00:00
Václav Slavík
bd8465ff4e documented wxString's ctors that convert between wc and mb strings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27706 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-09 11:17:07 +00:00
Robin Dunn
11207aefcf reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27705 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-09 07:12:47 +00:00
Robin Dunn
132ae51eaf distrib and build updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27704 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-09 07:10:57 +00:00
Robin Dunn
781d29829c Regenned the metadata
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27703 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-09 05:43:02 +00:00
Robin Dunn
40efbdda05 Regenned the ReST docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27702 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-09 05:40:10 +00:00
Robin Dunn
fda330675c distrib and build updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27701 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-09 05:38:45 +00:00
Stefan Csomor
521808ff62 removed invalid restriction
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27700 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-09 05:13:10 +00:00
Robin Dunn
bdac31bad6 bash version of wxPython's b script for win32
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27699 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-09 02:43:22 +00:00
Robin Dunn
6c7d17924a In unicode builds convert the source files and overview text to
unicode before displaying them.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27698 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-08 23:46:12 +00:00
Robin Dunn
a8dc231770 Added bash versions of my build scripts and updated BUILD.txt for how
to do it by hand without the scripts


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27697 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-08 23:42:22 +00:00
Václav Slavík
ad3fca675f test wxString's char<->wchar_t ctors
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27696 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-08 20:11:31 +00:00
Václav Slavík
31444b6aa4 fixed wxString char<->wchar_t conversion constructors to not truncate strings and correctly handle nLength argument
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27695 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-08 20:11:26 +00:00
Robin Dunn
72d4cafb78 Move wxMacCFStringHolder::AsString and etc. to wxBase
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27694 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-08 19:36:44 +00:00
Włodzimierz Skiba
a2d49353d4 -1->wxID_ANY, TRUE->true, FALSE->false and tabs replacements.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27693 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-08 19:27:42 +00:00
Robin Dunn
fda5e7a16e Only call GetBestSize if one or both of the minsize components are unset.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27692 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-08 16:33:47 +00:00
Julian Smart
fb6724f179 Include wx/image.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27691 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-08 14:57:39 +00:00
Stefan Csomor
02f463e9cc direct ie non mutex crit-section implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27690 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-08 14:48:10 +00:00
Stefan Csomor
eabc6e3cd6 fixing access errors when running in unicode
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27689 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-08 14:46:07 +00:00
Stefan Csomor
7873ca3191 message output for darwin into console, cannot use the normal converters as these are already in destruction
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27688 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-08 14:44:34 +00:00
Stefan Csomor
88e29a58f1 switched to wxLocale usage for string encoding
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27687 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-08 05:28:53 +00:00
Robin Dunn
4a3b9daf8b typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27686 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-08 01:30:40 +00:00
Robin Dunn
09c21d3b80 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27685 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-08 01:30:10 +00:00
Robin Dunn
b53190ef7e Add each line independently
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27684 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-08 01:13:33 +00:00
Robin Dunn
19a4dcb8cf The new OGL doesn't have to be compatible with the bugs in the old
one!  ;-)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27683 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-08 01:12:26 +00:00
Robin Dunn
e72d7b7716 Can't call ShiftDown when it is a CommandEvent
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27682 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-08 00:09:51 +00:00
Robin Dunn
356f3c650c Make the copy ctor for the wxPrint*Data classes avaialble from
Python. This is so we can ensure we get a copy of the data objects
when needed instead of just a reference to a data object within
another that may get deleted unexpectedly.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27681 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-08 00:04:54 +00:00
Robin Dunn
31f8e937b8 pi --> math.pi
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27680 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-08 00:02:05 +00:00
Robin Dunn
f8a11ef915 remove the Yield's
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27679 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-08 00:01:20 +00:00
Robin Dunn
db7239958f typo fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27678 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-07 23:59:35 +00:00
Robin Dunn
b8400a3a9d Notes about implementing CreatePopupMenu for the future
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27677 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-07 23:59:22 +00:00
Robin Dunn
3d8a2fd724 handle returning the cookie for Get[First|Next]Selected like in the treectrl.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27676 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-07 23:58:13 +00:00
Robin Dunn
4638eaea2d little tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27675 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-07 23:56:36 +00:00
Włodzimierz Skiba
c82c42d498 -1->wxID_ANY, TRUE->true, FALSE->false and tabs replacements.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27674 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-07 16:02:23 +00:00
Julian Smart
6652e1a765 Added Marco to credits
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27673 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-07 12:36:47 +00:00
Václav Slavík
979d7319df blind fix for compilation error in EVT macros
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27672 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-07 12:09:24 +00:00
Julian Smart
2830108944 Compile fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27671 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-07 09:46:39 +00:00
Stefan Neis
1d27f80249 Initialize m_PageSize.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27667 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-06 16:30:44 +00:00
Václav Slavík
304205f142 use pango_font_family_is_monospace() to enumerate fixed-width fonts if available
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27666 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-06 15:32:07 +00:00
Václav Slavík
00bcc185e4 fixed wxPluginLibrary unloading on failture (patch #962838)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27665 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-06 15:21:32 +00:00
Václav Slavík
ebf0caa12b fixed wxPluginLibrary unloading on failture (patch #962838)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27664 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-06 15:15:58 +00:00
Václav Slavík
5385fa5b02 fixed double deletion (patch #945491)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27663 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-06 15:09:49 +00:00
Václav Slavík
e5e2612ab7 fixed incorrect assert (patch #943970)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27662 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-06 14:59:00 +00:00
Václav Slavík
8ccac79865 restored colour labels until we have more information, it seems to work with all GTK2 versions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27661 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-06 14:49:21 +00:00
Julian Smart
af318c88de Partial fix for out of order sections, by adding fflush
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27660 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-06 11:27:52 +00:00
Julian Smart
e4edaf5cec Give controls on frame statusbar a chance to paint
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27659 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-06 07:06:53 +00:00
Václav Slavík
1f344abfcc new MinGW requires NO_GCC_PRAGMA for exceptions handling, too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27658 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-05 21:47:43 +00:00
Václav Slavík
01ac0f138b don't define _puttchar ourselves when using newest mingw runtime
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27657 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-05 21:39:35 +00:00
Mattia Barbon
f8ab089a49 Added code for 3 state checkbox.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27656 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-05 21:01:06 +00:00
Mattia Barbon
dd12575372 This code is now shared with wxX11: remove.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27655 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-05 20:55:06 +00:00
Mattia Barbon
c1a48eafdf Warning fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27654 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-05 20:49:42 +00:00
Mattia Barbon
98c627a498 Compilation fix for wxUSE_STL == 1.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27653 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-05 20:47:41 +00:00
Mattia Barbon
78c67f19b3 wxMotif compilation fix and unused variable warning fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27652 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-05 20:46:05 +00:00
Stefan Csomor
86a9144fd0 synching down and up events for the synthetic right mouse handling
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27651 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-05 16:29:07 +00:00
Stefan Csomor
e996f50942 fixing the carbon cfm
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27650 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-05 16:20:27 +00:00
Stefan Csomor
1f919f38c8 SetParam should be explicit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27649 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-05 16:16:23 +00:00
Václav Slavík
6bba4b8a13 wxTaskBarIcon::OnXXX virtual methods are deprecated, document it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27648 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-05 14:23:32 +00:00
Václav Slavík
6466d41e94 corrected EVT_TASKBAR_XXX macros to use wxTaskBarIconEvent
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27647 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-05 14:19:35 +00:00
Václav Slavík
e1633ef9ac mention EVT_ macros type safety
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27646 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-05 14:17:29 +00:00
Robin Dunn
db4aa52561 Don't draw if the panel is too small
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27645 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-05 00:07:42 +00:00
Robin Dunn
bfddbb17dc reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27644 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-04 23:59:39 +00:00
Robin Dunn
248ed9435a reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27643 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-04 23:24:10 +00:00
Robin Dunn
77d4f44386 little tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27642 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-04 23:21:22 +00:00
Dimitri Schoolwerth
3616829292 fixed float to short int casting warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27641 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-04 22:30:22 +00:00
Dimitri Schoolwerth
4a5f235122 fixed ambiguous call to wxMacCarbonEvent::SetParameter
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27640 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-04 22:12:36 +00:00
Václav Slavík
dae73d7473 added wxTaskBarIcon::CreatePopupMenu API
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27639 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-04 21:56:29 +00:00
Dimitri Schoolwerth
2de78beb93 fixed unused variable warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27638 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-04 21:53:59 +00:00
Robin Dunn
42463de267 Added a new version (0.8.3) of FloatCanvas from Chris Barker. It's
now in a subpackage of wx.lib.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27637 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-04 21:29:41 +00:00
Robin Dunn
d85004c5ae Removed the deprecated ErrorDialogs and PythonBitmaps modules.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27636 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-04 20:15:46 +00:00
Dimitri Schoolwerth
be06074873 fixed compilo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27635 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-04 20:12:15 +00:00
Robin Dunn
b2f6eb0606 Since everything in the submodules is to appear in the pacakge
namespace rename the submodule to have a leading underscore to make it
easier to document it that way.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27634 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-04 20:12:01 +00:00
Robin Dunn
dcbafcc2df Mention that Alpha Channels are preserved in PNG images.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27633 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-04 19:07:10 +00:00
Robin Dunn
da397248d3 doc tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27632 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-04 19:06:04 +00:00
Włodzimierz Skiba
4fe30bceff -1->wxID_ANY, TRUE->true, FALSE->false & tabs->spaces replacements.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27631 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-04 17:58:56 +00:00
Stefan Csomor
72213209b7 adaptions for m_peer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27630 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-04 17:56:51 +00:00
Kevin Ollivier
5b8f917c30 Making wxUSE_WEBKIT for optionally building wxWebKitCtrl.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27629 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-04 16:07:28 +00:00
Václav Slavík
393c836c33 changed wxColourData default palette to NULL colours instead of white
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27628 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-04 16:03:03 +00:00
Václav Slavík
274ad000d2 added native wxColourDialog for GTK2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27627 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-04 16:02:14 +00:00
Václav Slavík
a2b99ff5a5 1. changed wxColourData default palette to NULL colours instead of white
2. added native wxColourDialog for GTK2


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27626 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-04 15:58:05 +00:00
Václav Slavík
d33dd9ef43 remember custom palette changes done in wxColourDialog
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27625 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-04 15:57:12 +00:00
Václav Slavík
3b9faf4c54 GdkColor<->wxColour values conversion is not dependent on size of integer types, values range is specified
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27624 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-04 15:57:04 +00:00
Julian Smart
654c02dc23 Corrected strange test for __WINDOWS__ or wxUSE_MFC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27623 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-04 15:33:33 +00:00
Włodzimierz Skiba
e5486affee Use correct help system.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27622 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-04 13:54:14 +00:00
Włodzimierz Skiba
88ff9430d6 Use correct help system.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27621 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-04 12:43:59 +00:00
Václav Slavík
633c71efce set transiency relation so that the WM can do better job of positioning the window
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27620 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-04 11:40:06 +00:00
Václav Slavík
91cf58652e be good citizen, don't force window position; instead, set transiency relation so that the WM can do better job of positioning the window
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27619 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-04 11:39:45 +00:00
Włodzimierz Skiba
6833d2f291 Removed wxtest sample.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27618 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-04 10:48:40 +00:00
Václav Slavík
e39472990e title needs to be translated, too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27617 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-04 10:28:25 +00:00
Julian Smart
a485ee6f5a If we have multiple filters in a Save dialog, don't use
kNavPreserveSaveFileExtension since it suppresses multiple
filters.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27616 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-04 10:21:16 +00:00
Václav Slavík
7e1492a132 cleared junk
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27615 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-04 10:13:36 +00:00
Włodzimierz Skiba
f85713d290 Removed wxtest sample.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27614 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-04 10:06:48 +00:00
Václav Slavík
50f00d0c99 use simple template instead of macro, it's easier to debug
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27613 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-04 10:03:29 +00:00
Włodzimierz Skiba
f8ad8b644c Removed wxtest sample.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27612 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-04 09:54:48 +00:00
Stefan Csomor
72bb8cf511 introduction of m_peer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27611 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-04 08:19:00 +00:00
Stefan Csomor
21fd55291b introduction of m_peer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27610 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-04 07:28:59 +00:00
Stefan Csomor
6d4c54a768 introduction of m_peer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27609 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-04 07:21:50 +00:00
Robin Dunn
3ea6e0ec63 Docstrings for the sizers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27608 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-04 05:18:49 +00:00
Robin Dunn
ebc89b9f61 namespace fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27607 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-04 04:45:04 +00:00
Václav Slavík
85f6b408df split wxRegion(wxBitmap) ctor into two ctors with clearer semantics
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27606 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-03 21:13:52 +00:00
Václav Slavík
4772f8e198 wxGetenv was incorrectly implemented, caching prevented it from reflecting environment changes -- now fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27605 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-03 20:08:43 +00:00
Václav Slavík
cf8ee08b1b added tests for wx's CRT wrappers (so far only wxGetEnv,wxSetEnv)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27604 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-03 19:48:31 +00:00
Václav Slavík
67479dbd13 fixed wxSetEnv to correctly set variable in Unicode build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27603 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-03 19:39:57 +00:00
Julian Smart
041295149d If several doc templates use the same document and view classes, they should
share their filters in Save As


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27602 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-03 19:04:16 +00:00
Václav Slavík
bbce0c0ce6 fixed wrong tooltip colour -- don't mess with widget styles, use the defaults and let GTK+ do its job
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27601 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-03 18:40:13 +00:00
Julian Smart
217b71400f Separated creation and initialisation of a document via its doc template.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27600 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-03 14:19:39 +00:00
Václav Slavík
971562cb51 use current mouse position as default position in wxWindow::PopupMenu (works better in wxGTK and is what you need in majority of cases)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27599 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-03 14:05:30 +00:00
Włodzimierz Skiba
e77d093dbe Cleaning.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27598 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-03 10:32:41 +00:00
Włodzimierz Skiba
54e29ef9c1 bool if enough for true/false results.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27597 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-03 10:03:30 +00:00
Julian Smart
7445e247fe Fixed typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27596 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-03 09:42:50 +00:00
Julian Smart
a48b2ed692 Initialise hash table with string key
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27595 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-03 09:41:14 +00:00
Robin Dunn
6376cdc3a5 Fix compile errors when using gtk 1.2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27594 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-02 22:38:13 +00:00
Robin Dunn
f325fa52de Default arg for Id
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27593 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-02 20:57:27 +00:00
Robin Dunn
d55734102e Added more default args as needed to allow most window types to be
constructed with only the parent window arg.  In some cases other args
may be required for normal operation, but they can usually be set
after construction.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27592 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-02 20:53:05 +00:00
Robin Dunn
6fd864d159 Added $Id keyword, a bit of cleanup and also some backwards
compatibility aliases.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27591 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-02 20:49:09 +00:00
Robin Dunn
aef87ac0ff comment fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27590 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-02 20:47:57 +00:00
Robin Dunn
b2fcfd94d3 On wxGTK2 the label woudl not be realigned if SetLabel was called with
a new label.  Changed it to use gtk_button_set_label so that the
widget would care of doing it, and also to create with widget with
gtk_button_new_with_mnemonic so the mnemonic behaviour would be
preserved.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27589 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-02 20:26:49 +00:00
Robin Dunn
fe3d568d3d Don't force a smaller icon size
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27588 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-02 19:39:11 +00:00
David Elliott
2a5d7a98a8 Do not check for Xinerama when building wxCocoa
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27587 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-02 18:11:32 +00:00
Włodzimierz Skiba
a67fad5e11 -1->wxID_ANY, TRUE->true and FALSE->false replacements.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27586 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-02 17:13:19 +00:00
Włodzimierz Skiba
b62ca03d6f -1->wxID_ANY, TRUE->true and FALSE->false replacements.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27585 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-02 17:03:20 +00:00
Julian Smart
ba44343285 Mention removal of wxHIDE_READONLY
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27584 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-02 16:28:48 +00:00
Julian Smart
2f1b667b16 Removed wxHIDE_READONLY flag
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27583 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-02 16:24:58 +00:00
Jouk Jansen
3c6f86f5b7 Committing in .
OPenVMS configure update

 Modified Files:
 	wxWidgets/setup.h_vms
 ----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27582 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-02 14:26:13 +00:00
Julian Smart
5dc224630b GTK+ 2.0 can't compile egg tray code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27581 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-02 12:19:22 +00:00
Włodzimierz Skiba
010216e3bc Removed tabs.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27580 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-02 09:14:59 +00:00
Robin Dunn
5c6e85adcf reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27579 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-02 04:02:24 +00:00
Robin Dunn
b2eb030f9e set the modules' pacakge name to "wx" using a new SWIG feature
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27578 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-02 02:29:55 +00:00
Robin Dunn
42637d6004 Add a package="name" option to the %module directive in my SWIG patch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27577 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-02 02:27:43 +00:00
Kevin Ollivier
be98622c86 Yet more fixes for wxNotebook compatibility...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27576 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-02 00:48:55 +00:00
Kevin Ollivier
e69d17754d wxWebKitCtrl now properly detects a wxNotebook anywhere in the hierarchy.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27575 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-02 00:26:57 +00:00
Robin Dunn
c816999159 clarification
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27574 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-01 22:11:25 +00:00
Robin Dunn
0439c23bdd reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27573 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-01 22:08:55 +00:00
Robin Dunn
28bed70aa9 Use new DrawPoint signature
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27572 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-01 21:59:01 +00:00
Robin Dunn
e3b71cb883 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27571 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-01 21:57:03 +00:00
Václav Slavík
96aecfc900 pop the menu up on mouse down, not up (this is more common behaviour in Windows and both GTK and Qt apps)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27570 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-01 21:56:37 +00:00
Robin Dunn
cdb501108b Change the text object to a message about the new OGL.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27569 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-01 21:51:04 +00:00
Robin Dunn
f6063c1944 Make taskbar icon size dependent on platform. Other tweaks.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27568 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-01 21:50:22 +00:00
Robin Dunn
241af5cf6a Don't use deprecated wx.MaskColour
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27567 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-01 21:45:17 +00:00
Robin Dunn
eb03e0e714 Handle the (probably rare) case where the icon has no mask.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27566 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-01 21:42:57 +00:00
Robin Dunn
ab1f7d2aa9 All the Window and GDI (pen, bitmap, etc.) classes and also many
toplevel functions will now check that a wx.App object has already
been created and will raise a wx.PyNoAppError exception if not.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27565 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-01 21:38:05 +00:00
Václav Slavík
68da5113e3 remove email addresses
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27564 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-01 21:36:54 +00:00
Robin Dunn
2ef5a0b05e Fixed typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27563 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-01 21:29:41 +00:00
Robin Dunn
be698f5030 remove EVT_STC_POSCHANGED as it's been deprecated in Scintilla for
several releases now.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27562 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-01 21:26:42 +00:00
Włodzimierz Skiba
5151c7af13 -1->wxID_ANY, TRUE->true, FALSE->false and tabs replacements
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27561 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-01 18:27:09 +00:00
Włodzimierz Skiba
52fa6f7d16 -1->wxID_ANY, TRUE->true and FALSE->false replacements.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27560 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-01 16:33:29 +00:00
Włodzimierz Skiba
1bc5306648 -1->wxID_ANY, TRUE->true replacements.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27559 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-01 16:24:57 +00:00
Włodzimierz Skiba
0ff720864a -1->wxID_ANY, TRUE->true and FALSE->false replacements.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27558 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-01 16:15:59 +00:00
Włodzimierz Skiba
eb839c8423 -1->wxID_ANY, wxDefaultSize, wxDefaultPosition, TRUE->true and FALSE->false replacements.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27557 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-01 16:09:27 +00:00
Włodzimierz Skiba
47f797bd30 Correct parent in wxFileSelector, -1->wxID_ANY, TRUE->true replacements.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27556 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-01 15:42:12 +00:00
Włodzimierz Skiba
f803b25b44 DMC warning fix, code cleaning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27555 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-01 15:20:14 +00:00
David Elliott
fa7de3b09a wx/notebook.h is not included from wx/wx.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27554 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-01 14:39:22 +00:00
Václav Slavík
9c4fc03fa3 calling a variable 'stat' was exceptionally stupid idea...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27553 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-01 12:55:51 +00:00
Julian Smart
8d52d6cc3f Needs a foreground colour
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27552 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-01 08:47:41 +00:00
Stefan Csomor
f6e3849c07 we have to be able to tell whether a control can be focused by the os before a SetFocus is issued, otherwise native focus handling is not in synch...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27551 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-01 08:21:46 +00:00
Włodzimierz Skiba
bc2ec626ea -1->wxID_ANY, wxDefaultSize, TRUE->true and FALSE->false replacements.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27550 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-01 07:45:11 +00:00
Stefan Csomor
1bec2ee494 uppercasing menu shortcuts for non-command keystrokes, allowing non-command accelerators
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27549 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-01 07:27:22 +00:00
Stefan Csomor
547aafd263 added native pane splitter rendering
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27548 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-01 07:02:45 +00:00
Kevin Ollivier
14f21d6d89 Fixes for wxWebKitCtrl to work with wxNotebook.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27547 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-01 02:53:49 +00:00
Václav Slavík
0a8d9df6a5 security fix to wxSingleInstanceChecker: check if the lock file was really created by us
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27546 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-31 22:19:51 +00:00
Václav Slavík
f9fb5408fa added wx-specific code and license info
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27545 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-31 22:17:52 +00:00
Václav Slavík
33d4eef0b9 implemented freedesktop.org spec support for GTK version of wxTaskBarIcon
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27544 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-31 22:17:09 +00:00
Václav Slavík
63c5efa344 allow classes derived from wxTopLevelWidnow to use other GTK widget than GtkWindow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27543 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-31 22:10:37 +00:00
Václav Slavík
3c5487b144 security fix to wxSingleInstanceChecker: check if the lock file was really created by us
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27542 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-31 22:07:49 +00:00
Václav Slavík
1660c80f45 fixed crash on incorrect HTML input caused by uninitialized variable
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27541 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-31 22:07:30 +00:00
Václav Slavík
bd7f096d0e added test for wxString::MakeLower,MakeUpper
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27540 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-31 22:06:52 +00:00
Václav Slavík
ac3c86ee7d don't call CopyBeforeWrite when returning non-const interator if the string is empty -- avoids assert and is not needed anyway since the iterator is never valid
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27539 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-31 22:05:59 +00:00
Václav Slavík
0dc6da2d7d show icon changing on all platforms
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27538 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-31 22:04:58 +00:00
Václav Slavík
a7d174bf49 compilation fix for gcc-3.4
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27537 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-31 21:50:16 +00:00
Dimitri Schoolwerth
44db04e4b2 fixed typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27536 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-31 18:47:15 +00:00
Stefan Csomor
64be92e214 continued spinning committed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27535 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-31 15:54:59 +00:00
Stefan Csomor
3a9dc0619f fixes for mouse handling on 10.2 systems
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27534 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-31 14:49:20 +00:00
Stefan Csomor
d6fd667bc1 LocalToGlobal/GlobalToLocal Conversions with Carbon API, cleanup, hittesting corrected for 10.2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27533 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-31 14:05:51 +00:00
Stefan Csomor
a9de2608ba LocalToGlobal/GlobalToLocal Conversions with Carbon API
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27532 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-31 14:05:05 +00:00
Dimitri Schoolwerth
6b31faacf1 fixed some of the unfound projects
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27531 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-31 13:06:06 +00:00
Julian Smart
502e57ea52 Uncommitted files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27529 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-31 10:49:16 +00:00
1582 changed files with 78417 additions and 56778 deletions

View File

@@ -218,6 +218,7 @@ ALL_BASE_HEADERS = \
wx/buffer.h \
wx/build.h \
wx/chkconf.h \
wx/clntdata.h \
wx/cmdline.h \
wx/confbase.h \
wx/config.h \
@@ -329,6 +330,7 @@ ALL_HEADERS = \
$(ALL_GUI_HEADERS)
ALL_BASE_SOURCES = \
src/common/appbase.cpp \
src/common/clntdata.cpp \
src/common/cmdline.cpp \
src/common/config.cpp \
src/common/datetime.cpp \
@@ -452,6 +454,7 @@ MONODLL_CXXFLAGS = $(__monodll_PCH_INC) -D__WX$(TOOLKIT)__ \
-DwxUSE_BASE=1 -DWXMAKINGDLL $(PIC_FLAG) $(CPPFLAGS) $(CXXFLAGS)
MONODLL_OBJECTS = \
monodll_appbase.o \
monodll_clntdata.o \
monodll_cmdline.o \
monodll_config.o \
monodll_datetime.o \
@@ -535,6 +538,7 @@ MONOLIB_CXXFLAGS = $(__monolib_PCH_INC) -D__WX$(TOOLKIT)__ \
-DwxUSE_BASE=1 $(CPPFLAGS) $(CXXFLAGS)
MONOLIB_OBJECTS = \
monolib_appbase.o \
monolib_clntdata.o \
monolib_cmdline.o \
monolib_config.o \
monolib_datetime.o \
@@ -619,6 +623,7 @@ BASEDLL_CXXFLAGS = $(__basedll_PCH_INC) -D__WX$(TOOLKIT)__ \
$(CXXFLAGS)
BASEDLL_OBJECTS = \
basedll_appbase.o \
basedll_clntdata.o \
basedll_cmdline.o \
basedll_config.o \
basedll_datetime.o \
@@ -687,6 +692,7 @@ BASELIB_CXXFLAGS = $(__baselib_PCH_INC) -D__WX$(TOOLKIT)__ \
-DwxUSE_GUI=0 -DwxUSE_BASE=1 $(CPPFLAGS) $(CXXFLAGS)
BASELIB_OBJECTS = \
baselib_appbase.o \
baselib_clntdata.o \
baselib_cmdline.o \
baselib_config.o \
baselib_datetime.o \
@@ -822,6 +828,10 @@ CORELIB_OBJECTS = \
$(__BASE_AND_GUI_TOOLKIT_SRC_OBJECTS_5) \
$(__CORE_SRC_OBJECTS_3)
CORELIB_ODEP = $(___pch_wxprec_corelib_wx_wxprec_h_gch___depname)
ADVDLL_CFLAGS = $(__advdll_PCH_INC) -D__WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p) \
$(__INC_TIFF_p) $(__INC_JPEG_p) $(__INC_PNG_p) $(__INC_ZLIB_p) \
$(__INC_ODBC_p) $(__INC_REGEX_p) $(__INC_EXPAT_p) -DWXUSINGDLL \
-DWXMAKINGDLL_ADV $(PIC_FLAG) $(CPPFLAGS) $(CFLAGS)
ADVDLL_CXXFLAGS = $(__advdll_PCH_INC) -D__WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p) \
$(__INC_TIFF_p) $(__INC_JPEG_p) $(__INC_PNG_p) $(__INC_ZLIB_p) \
$(__INC_ODBC_p) $(__INC_REGEX_p) $(__INC_EXPAT_p) -DWXUSINGDLL \
@@ -840,6 +850,9 @@ ADVDLL_OBJECTS = \
$(__ADVANCED_PLATFORM_SRC_OBJECTS_2) \
$(__PLUGIN_ADV_SRC_OBJECTS_2)
ADVDLL_ODEP = $(___pch_wxprec_advdll_wx_wxprec_h_gch___depname)
ADVLIB_CFLAGS = $(__advlib_PCH_INC) -D__WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p) \
$(__INC_TIFF_p) $(__INC_JPEG_p) $(__INC_PNG_p) $(__INC_ZLIB_p) \
$(__INC_ODBC_p) $(__INC_REGEX_p) $(__INC_EXPAT_p) $(CPPFLAGS) $(CFLAGS)
ADVLIB_CXXFLAGS = $(__advlib_PCH_INC) -D__WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p) \
$(__INC_TIFF_p) $(__INC_JPEG_p) $(__INC_PNG_p) $(__INC_ZLIB_p) \
$(__INC_ODBC_p) $(__INC_REGEX_p) $(__INC_EXPAT_p) $(CPPFLAGS) $(CXXFLAGS)
@@ -1174,6 +1187,7 @@ COND_TOOLKIT_COCOA_GUI_HDR = \
wx/cocoa/NSControl.h \
wx/cocoa/NSMenu.h \
wx/cocoa/NSPanel.h \
wx/cocoa/NSScroller.h \
wx/cocoa/NSTabView.h \
wx/cocoa/NSTableView.h \
wx/cocoa/NSTextField.h \
@@ -1209,6 +1223,7 @@ COND_TOOLKIT_COCOA_GUI_HDR = \
wx/cocoa/gdiobj.h \
wx/cocoa/icon.h \
wx/cocoa/listbox.h \
wx/cocoa/log.h \
wx/cocoa/mbarman.h \
wx/cocoa/mdi.h \
wx/cocoa/menu.h \
@@ -1218,6 +1233,7 @@ COND_TOOLKIT_COCOA_GUI_HDR = \
wx/cocoa/radiobox.h \
wx/cocoa/radiobut.h \
wx/cocoa/region.h \
wx/cocoa/scrolbar.h \
wx/cocoa/slider.h \
wx/cocoa/spinbutt.h \
wx/cocoa/statbmp.h \
@@ -1240,6 +1256,7 @@ COND_TOOLKIT_COCOA_GUI_HDR = \
wx/generic/tabg.h
@COND_TOOLKIT_COCOA@GUI_HDR = $(COND_TOOLKIT_COCOA_GUI_HDR)
COND_TOOLKIT_GTK_GUI_HDR = \
wx/generic/colrdlgg.h \
wx/generic/dirdlgg.h \
wx/generic/fdrepdlg.h \
wx/generic/listctrl.h \
@@ -1253,6 +1270,7 @@ COND_TOOLKIT_GTK_GUI_HDR = \
wx/gtk/button.h \
wx/gtk/checkbox.h \
wx/gtk/checklst.h \
wx/gtk/colordlg.h \
wx/gtk/choice.h \
wx/gtk/clipbrd.h \
wx/gtk/colour.h \
@@ -1880,7 +1898,8 @@ COND_TOOLKIT_WINCE_GUI_HDR = \
wx/msw/wince/helpwce.h \
wx/msw/wince/libraries.h \
wx/msw/wince/missing.h \
wx/msw/wince/tbarwce.h
wx/msw/wince/tbarwce.h \
wx/msw/wince/resources.h
@COND_TOOLKIT_WINCE@GUI_HDR = $(COND_TOOLKIT_WINCE_GUI_HDR)
@COND_TOOLKIT_GTK@ADVANCED_PLATFORM_HDR = \
@COND_TOOLKIT_GTK@ wx/unix/joystick.h wx/unix/sound.h wx/unix/taskbarx11.h
@@ -1953,7 +1972,6 @@ COND_USE_GUI_1_ALL_GUI_HEADERS = \
wx/checklst.h \
wx/choicdlg.h \
wx/choice.h \
wx/clntdata.h \
wx/cmndata.h \
wx/combobox.h \
wx/control.h \
@@ -2319,7 +2337,6 @@ COND_USE_GUI_1_WXUNIV_0___CORE_SRC_OBJECTS = \
monodll_bookctrl.o \
monodll_choiccmn.o \
monodll_clipcmn.o \
monodll_clntdata.o \
monodll_cmdproc.o \
monodll_cmndata.o \
monodll_containr.o \
@@ -2466,7 +2483,6 @@ COND_USE_GUI_1_WXUNIV_1___CORE_SRC_OBJECTS = \
monodll_bookctrl.o \
monodll_choiccmn.o \
monodll_clipcmn.o \
monodll_clntdata.o \
monodll_cmdproc.o \
monodll_cmndata.o \
monodll_containr.o \
@@ -2560,6 +2576,7 @@ COND_TOOLKIT_COCOA___GUI_SRC_OBJECTS = \
monodll_NSControl.o \
monodll_NSMenu.o \
monodll_NSPanel.o \
monodll_NSScroller.o \
monodll_NSTabView.o \
monodll_NSTableView.o \
monodll_NSTextField.o \
@@ -2605,6 +2622,7 @@ COND_TOOLKIT_COCOA___GUI_SRC_OBJECTS = \
monodll_radiobox.o \
monodll_radiobut.o \
monodll_region.o \
monodll_scrolbar.o \
monodll_settings.o \
monodll_slider.o \
monodll_spinbutt.o \
@@ -2653,6 +2671,7 @@ COND_TOOLKIT_GTK___GUI_SRC_OBJECTS = \
monodll_checkbox.o \
monodll_checklst.o \
monodll_choice.o \
monodll_colordlg.o \
monodll_combobox.o \
monodll_control.o \
monodll_dialog.o \
@@ -3015,13 +3034,16 @@ COND_TOOLKIT_WINCE___GUI_SRC_OBJECTS = \
monodll_crt.o \
monodll_filedlgwce.o \
monodll_helpwce.o \
monodll_tbarwce.o
monodll_tbarwce.o \
monodll_menuce.o
@COND_TOOLKIT_WINCE@__GUI_SRC_OBJECTS = $(COND_TOOLKIT_WINCE___GUI_SRC_OBJECTS)
COND_TOOLKIT_GTK___ADVANCED_PLATFORM_SRC_OBJECTS = \
monodll_taskbarcmn.o \
monodll_joystick.o \
monodll_sound.o \
monodll_taskbarx11.o
monodll_taskbarx11.o \
monodll_taskbar.o \
monodll_eggtrayicon.o
@COND_TOOLKIT_GTK@__ADVANCED_PLATFORM_SRC_OBJECTS = $(COND_TOOLKIT_GTK___ADVANCED_PLATFORM_SRC_OBJECTS)
@COND_TOOLKIT_MAC@__ADVANCED_PLATFORM_SRC_OBJECTS = \
@COND_TOOLKIT_MAC@ monodll_joystick.o monodll_sound.o
@@ -3175,7 +3197,6 @@ COND_USE_GUI_1_WXUNIV_0___CORE_SRC_OBJECTS_1 = \
monolib_bookctrl.o \
monolib_choiccmn.o \
monolib_clipcmn.o \
monolib_clntdata.o \
monolib_cmdproc.o \
monolib_cmndata.o \
monolib_containr.o \
@@ -3322,7 +3343,6 @@ COND_USE_GUI_1_WXUNIV_1___CORE_SRC_OBJECTS_1 = \
monolib_bookctrl.o \
monolib_choiccmn.o \
monolib_clipcmn.o \
monolib_clntdata.o \
monolib_cmdproc.o \
monolib_cmndata.o \
monolib_containr.o \
@@ -3416,6 +3436,7 @@ COND_TOOLKIT_COCOA___GUI_SRC_OBJECTS_1 = \
monolib_NSControl.o \
monolib_NSMenu.o \
monolib_NSPanel.o \
monolib_NSScroller.o \
monolib_NSTabView.o \
monolib_NSTableView.o \
monolib_NSTextField.o \
@@ -3461,6 +3482,7 @@ COND_TOOLKIT_COCOA___GUI_SRC_OBJECTS_1 = \
monolib_radiobox.o \
monolib_radiobut.o \
monolib_region.o \
monolib_scrolbar.o \
monolib_settings.o \
monolib_slider.o \
monolib_spinbutt.o \
@@ -3509,6 +3531,7 @@ COND_TOOLKIT_GTK___GUI_SRC_OBJECTS_1 = \
monolib_checkbox.o \
monolib_checklst.o \
monolib_choice.o \
monolib_colordlg.o \
monolib_combobox.o \
monolib_control.o \
monolib_dialog.o \
@@ -3871,13 +3894,16 @@ COND_TOOLKIT_WINCE___GUI_SRC_OBJECTS_1 = \
monolib_crt.o \
monolib_filedlgwce.o \
monolib_helpwce.o \
monolib_tbarwce.o
monolib_tbarwce.o \
monolib_menuce.o
@COND_TOOLKIT_WINCE@__GUI_SRC_OBJECTS_1 = $(COND_TOOLKIT_WINCE___GUI_SRC_OBJECTS_1)
COND_TOOLKIT_GTK___ADVANCED_PLATFORM_SRC_OBJECTS_1 = \
monolib_taskbarcmn.o \
monolib_joystick.o \
monolib_sound.o \
monolib_taskbarx11.o
monolib_taskbarx11.o \
monolib_taskbar.o \
monolib_eggtrayicon.o
@COND_TOOLKIT_GTK@__ADVANCED_PLATFORM_SRC_OBJECTS_1 = $(COND_TOOLKIT_GTK___ADVANCED_PLATFORM_SRC_OBJECTS_1)
@COND_TOOLKIT_MAC@__ADVANCED_PLATFORM_SRC_OBJECTS_1 = \
@COND_TOOLKIT_MAC@ monolib_joystick.o monolib_sound.o
@@ -4203,7 +4229,6 @@ COND_USE_GUI_1_WXUNIV_0___CORE_SRC_OBJECTS_2 = \
coredll_bookctrl.o \
coredll_choiccmn.o \
coredll_clipcmn.o \
coredll_clntdata.o \
coredll_cmdproc.o \
coredll_cmndata.o \
coredll_containr.o \
@@ -4350,7 +4375,6 @@ COND_USE_GUI_1_WXUNIV_1___CORE_SRC_OBJECTS_2 = \
coredll_bookctrl.o \
coredll_choiccmn.o \
coredll_clipcmn.o \
coredll_clntdata.o \
coredll_cmdproc.o \
coredll_cmndata.o \
coredll_containr.o \
@@ -4444,6 +4468,7 @@ COND_TOOLKIT_COCOA___GUI_SRC_OBJECTS_2 = \
coredll_NSControl.o \
coredll_NSMenu.o \
coredll_NSPanel.o \
coredll_NSScroller.o \
coredll_NSTabView.o \
coredll_NSTableView.o \
coredll_NSTextField.o \
@@ -4489,6 +4514,7 @@ COND_TOOLKIT_COCOA___GUI_SRC_OBJECTS_2 = \
coredll_radiobox.o \
coredll_radiobut.o \
coredll_region.o \
coredll_scrolbar.o \
coredll_settings.o \
coredll_slider.o \
coredll_spinbutt.o \
@@ -4537,6 +4563,7 @@ COND_TOOLKIT_GTK___GUI_SRC_OBJECTS_2 = \
coredll_checkbox.o \
coredll_checklst.o \
coredll_choice.o \
coredll_colordlg.o \
coredll_combobox.o \
coredll_control.o \
coredll_dialog.o \
@@ -4899,7 +4926,8 @@ COND_TOOLKIT_WINCE___GUI_SRC_OBJECTS_2 = \
coredll_crt.o \
coredll_filedlgwce.o \
coredll_helpwce.o \
coredll_tbarwce.o
coredll_tbarwce.o \
coredll_menuce.o
@COND_TOOLKIT_WINCE@__GUI_SRC_OBJECTS_2 = $(COND_TOOLKIT_WINCE___GUI_SRC_OBJECTS_2)
COND_MONOLITHIC_0_SHARED_0_USE_GUI_1___corelib___depname = \
$(LIBDIRNAME)/$(LIBPREFIX)wx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core-2.5$(HOST_SUFFIX)$(LIBEXT)
@@ -4928,7 +4956,6 @@ COND_USE_GUI_1_WXUNIV_0___CORE_SRC_OBJECTS_3 = \
corelib_bookctrl.o \
corelib_choiccmn.o \
corelib_clipcmn.o \
corelib_clntdata.o \
corelib_cmdproc.o \
corelib_cmndata.o \
corelib_containr.o \
@@ -5075,7 +5102,6 @@ COND_USE_GUI_1_WXUNIV_1___CORE_SRC_OBJECTS_3 = \
corelib_bookctrl.o \
corelib_choiccmn.o \
corelib_clipcmn.o \
corelib_clntdata.o \
corelib_cmdproc.o \
corelib_cmndata.o \
corelib_containr.o \
@@ -5169,6 +5195,7 @@ COND_TOOLKIT_COCOA___GUI_SRC_OBJECTS_3 = \
corelib_NSControl.o \
corelib_NSMenu.o \
corelib_NSPanel.o \
corelib_NSScroller.o \
corelib_NSTabView.o \
corelib_NSTableView.o \
corelib_NSTextField.o \
@@ -5214,6 +5241,7 @@ COND_TOOLKIT_COCOA___GUI_SRC_OBJECTS_3 = \
corelib_radiobox.o \
corelib_radiobut.o \
corelib_region.o \
corelib_scrolbar.o \
corelib_settings.o \
corelib_slider.o \
corelib_spinbutt.o \
@@ -5262,6 +5290,7 @@ COND_TOOLKIT_GTK___GUI_SRC_OBJECTS_3 = \
corelib_checkbox.o \
corelib_checklst.o \
corelib_choice.o \
corelib_colordlg.o \
corelib_combobox.o \
corelib_control.o \
corelib_dialog.o \
@@ -5624,7 +5653,8 @@ COND_TOOLKIT_WINCE___GUI_SRC_OBJECTS_3 = \
corelib_crt.o \
corelib_filedlgwce.o \
corelib_helpwce.o \
corelib_tbarwce.o
corelib_tbarwce.o \
corelib_menuce.o
@COND_TOOLKIT_WINCE@__GUI_SRC_OBJECTS_3 = $(COND_TOOLKIT_WINCE___GUI_SRC_OBJECTS_3)
COND_MONOLITHIC_0_SHARED_1_USE_GUI_1___advdll___depname = \
$(LIBDIRNAME)/$(DLLPREFIX)$(WXDLLNAMEPREFIXGUI)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_adv$(WXCOMPILER)$(VENDORTAG)$(WXDLLVERSIONTAG)$(dll___targetsuf3)
@@ -5669,9 +5699,14 @@ COND_USE_SOSYMLINKS_1___advdll___so_symlinks_inst_cmd = rm -f \
$(DLLPREFIX)$(WXDLLNAMEPREFIXGUI)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_adv$(WXCOMPILER)$(VENDORTAG)$(WXDLLVERSIONTAG)$(dll___targetsuf2) \
$(LIBPREFIX)wx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_adv-2.5$(HOST_SUFFIX).$(DLLIMP_SUFFIX)
@COND_USE_SOSYMLINKS_1@__advdll___so_symlinks_inst_cmd = $(COND_USE_SOSYMLINKS_1___advdll___so_symlinks_inst_cmd)
@COND_TOOLKIT_GTK@__ADVANCED_PLATFORM_SRC_OBJECTS_2 = \
@COND_TOOLKIT_GTK@ advdll_taskbarcmn.o advdll_joystick.o advdll_sound.o \
@COND_TOOLKIT_GTK@ advdll_taskbarx11.o
COND_TOOLKIT_GTK___ADVANCED_PLATFORM_SRC_OBJECTS_2 = \
advdll_taskbarcmn.o \
advdll_joystick.o \
advdll_sound.o \
advdll_taskbarx11.o \
advdll_taskbar.o \
advdll_eggtrayicon.o
@COND_TOOLKIT_GTK@__ADVANCED_PLATFORM_SRC_OBJECTS_2 = $(COND_TOOLKIT_GTK___ADVANCED_PLATFORM_SRC_OBJECTS_2)
@COND_TOOLKIT_MAC@__ADVANCED_PLATFORM_SRC_OBJECTS_2 = \
@COND_TOOLKIT_MAC@ advdll_joystick.o advdll_sound.o
@COND_TOOLKIT_MOTIF@__ADVANCED_PLATFORM_SRC_OBJECTS_2 = \
@@ -5697,9 +5732,14 @@ COND_MONOLITHIC_0_SHARED_0_USE_GUI_1___advlib___depname = \
@COND_GCC_PCH_1@__advlib_PCH_INC = -I.pch/wxprec_advlib
@COND_GCC_PCH_1@___pch_wxprec_advlib_wx_wxprec_h_gch___depname \
@COND_GCC_PCH_1@ = .pch/wxprec_advlib/wx/wxprec.h.gch
@COND_TOOLKIT_GTK@__ADVANCED_PLATFORM_SRC_OBJECTS_3 = \
@COND_TOOLKIT_GTK@ advlib_taskbarcmn.o advlib_joystick.o advlib_sound.o \
@COND_TOOLKIT_GTK@ advlib_taskbarx11.o
COND_TOOLKIT_GTK___ADVANCED_PLATFORM_SRC_OBJECTS_3 = \
advlib_taskbarcmn.o \
advlib_joystick.o \
advlib_sound.o \
advlib_taskbarx11.o \
advlib_taskbar.o \
advlib_eggtrayicon.o
@COND_TOOLKIT_GTK@__ADVANCED_PLATFORM_SRC_OBJECTS_3 = $(COND_TOOLKIT_GTK___ADVANCED_PLATFORM_SRC_OBJECTS_3)
@COND_TOOLKIT_MAC@__ADVANCED_PLATFORM_SRC_OBJECTS_3 = \
@COND_TOOLKIT_MAC@ advlib_joystick.o advlib_sound.o
@COND_TOOLKIT_MOTIF@__ADVANCED_PLATFORM_SRC_OBJECTS_3 = \
@@ -6932,12 +6972,12 @@ install: all $(__install_wxregex___depname) $(__install_wxzlib___depname) $(__in
(cd $(srcdir) ; $(INSTALL_DATA) wxwin.m4 $(DESTDIR)$(datadir)/aclocal)
$(INSTALL_DIR) $(DESTDIR)$(libdir)/wx/include/$(TOOLCHAIN_NAME)/wx
(cd ./ ; $(INSTALL_DATA) lib/wx/include/$(TOOLCHAIN_NAME)/wx/setup.h $(DESTDIR)$(libdir)/wx/include/$(TOOLCHAIN_NAME)/wx)
$(INSTALL_DIR) $(DESTDIR)$(includedir)
$(INSTALL_DIR) $(DESTDIR)$(includedir)/wx-2.5
for f in $(ALL_HEADERS); do \
if test ! -d $(DESTDIR)$(includedir)/`dirname $$f` ; then \
$(INSTALL_DIR) $(DESTDIR)$(includedir)/`dirname $$f`; \
if test ! -d $(DESTDIR)$(includedir)/wx-2.5/`dirname $$f` ; then \
$(INSTALL_DIR) $(DESTDIR)$(includedir)/wx-2.5/`dirname $$f`; \
fi; \
$(INSTALL_DATA) $(srcdir)/include//$$f $(DESTDIR)$(includedir)/$$f; \
$(INSTALL_DATA) $(srcdir)/include//$$f $(DESTDIR)$(includedir)/wx-2.5/$$f; \
done
@echo " "
@echo " ------------------------------------------------------"
@@ -7371,8 +7411,11 @@ samples:
install-wxconfig:
$(INSTALL_DIR) $(DESTDIR)$(bindir)
$(INSTALL_PROGRAM) wx$(TOOLCHAIN_NAME)-config $(DESTDIR)$(bindir)
(cd $(DESTDIR)$(bindir) && rm -f wx-config && $(LN_S) wx$(TOOLCHAIN_NAME)-config wx-config)
$(INSTALL_DIR) $(DESTDIR)$(libdir)/wx/config
$(INSTALL_PROGRAM) lib/wx/config/@WXCONFIG_DATA_FILE@ $(DESTDIR)$(libdir)/wx/config
(cd $(DESTDIR)$(libdir)/wx/config && rm -f $(TOOLCHAIN_NAME) && $(LN_S) @WXCONFIG_DATA_FILE@ $(TOOLCHAIN_NAME))
$(INSTALL_PROGRAM) wx-config $(DESTDIR)$(bindir)
(cd $(DESTDIR)$(bindir) && rm -f wx$(TOOLCHAIN_NAME)-config && $(LN_S) wx-config wx$(TOOLCHAIN_NAME)-config)
locale_install:
$(INSTALL_DIR) $(DESTDIR)$(datadir)/locale
@@ -7802,6 +7845,9 @@ wxexpat_xmltok.o: $(srcdir)/src/expat/lib/xmltok.c
monodll_appbase.o: $(srcdir)/src/common/appbase.cpp $(MONODLL_ODEP)
$(CXXC) -c -o $@ $(MONODLL_CXXFLAGS) $<
monodll_clntdata.o: $(srcdir)/src/common/clntdata.cpp $(MONODLL_ODEP)
$(CXXC) -c -o $@ $(MONODLL_CXXFLAGS) $<
monodll_cmdline.o: $(srcdir)/src/common/cmdline.cpp $(MONODLL_ODEP)
$(CXXC) -c -o $@ $(MONODLL_CXXFLAGS) $<
@@ -8075,6 +8121,9 @@ monodll_helpwce.o: $(srcdir)/src/msw/wince/helpwce.cpp $(MONODLL_ODEP)
monodll_tbarwce.o: $(srcdir)/src/msw/wince/tbarwce.cpp $(MONODLL_ODEP)
$(CXXC) -c -o $@ $(MONODLL_CXXFLAGS) $<
monodll_menuce.o: $(srcdir)/src/msw/wince/menuce.cpp $(MONODLL_ODEP)
$(CXXC) -c -o $@ $(MONODLL_CXXFLAGS) $<
monodll_aga.o: $(srcdir)/src/mac/carbon/aga.cpp $(MONODLL_ODEP)
$(CXXC) -c -o $@ $(MONODLL_CXXFLAGS) $<
@@ -8111,6 +8160,9 @@ monodll_NSMenu.o: $(srcdir)/src/cocoa/NSMenu.mm $(MONODLL_ODEP)
monodll_NSPanel.o: $(srcdir)/src/cocoa/NSPanel.mm $(MONODLL_ODEP)
$(CXXC) -c -o $@ $(MONODLL_CXXFLAGS) $<
monodll_NSScroller.o: $(srcdir)/src/cocoa/NSScroller.mm $(MONODLL_ODEP)
$(CXXC) -c -o $@ $(MONODLL_CXXFLAGS) $<
monodll_NSTabView.o: $(srcdir)/src/cocoa/NSTabView.mm $(MONODLL_ODEP)
$(CXXC) -c -o $@ $(MONODLL_CXXFLAGS) $<
@@ -8213,6 +8265,9 @@ monodll_tipdlg.o: $(srcdir)/src/generic/tipdlg.cpp $(MONODLL_ODEP)
monodll_wizard.o: $(srcdir)/src/generic/wizard.cpp $(MONODLL_ODEP)
$(CXXC) -c -o $@ $(MONODLL_CXXFLAGS) $<
monodll_eggtrayicon.o: $(srcdir)/src/gtk/eggtrayicon.c $(MONODLL_ODEP)
$(CCC) -c -o $@ $(MONODLL_CFLAGS) $<
monodll_helpbest.o: $(srcdir)/src/msw/helpbest.cpp $(MONODLL_ODEP)
$(CXXC) -c -o $@ $(MONODLL_CXXFLAGS) $<
@@ -9722,6 +9777,18 @@ monodll_sound_sdl.o: $(srcdir)/src/unix/sound_sdl.cpp $(MONODLL_ODEP)
@COND_USE_GUI_1_WXUNIV_1@monodll_choice.o: $(srcdir)/src/univ/choice.cpp $(MONODLL_ODEP)
@COND_USE_GUI_1_WXUNIV_1@ $(CXXC) -c -o $@ $(MONODLL_CXXFLAGS) $<
@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0@monodll_colordlg.o: $(srcdir)/src/gtk/colordlg.cpp $(MONODLL_ODEP)
@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0@ $(CXXC) -c -o $@ $(MONODLL_CXXFLAGS) $<
@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@monodll_colordlg.o: $(srcdir)/src/msw/colordlg.cpp $(MONODLL_ODEP)
@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@ $(CXXC) -c -o $@ $(MONODLL_CXXFLAGS) $<
@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@monodll_colordlg.o: $(srcdir)/src/msw/colordlg.cpp $(MONODLL_ODEP)
@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@ $(CXXC) -c -o $@ $(MONODLL_CXXFLAGS) $<
@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@monodll_colordlg.o: $(srcdir)/src/mac/carbon/colordlg.cpp $(MONODLL_ODEP)
@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@ $(CXXC) -c -o $@ $(MONODLL_CXXFLAGS) $<
@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0@monodll_combobox.o: $(srcdir)/src/gtk/combobox.cpp $(MONODLL_ODEP)
@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0@ $(CXXC) -c -o $@ $(MONODLL_CXXFLAGS) $<
@@ -10013,6 +10080,9 @@ monodll_sound_sdl.o: $(srcdir)/src/unix/sound_sdl.cpp $(MONODLL_ODEP)
@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@monodll_scrolbar.o: $(srcdir)/src/mac/carbon/scrolbar.cpp $(MONODLL_ODEP)
@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@ $(CXXC) -c -o $@ $(MONODLL_CXXFLAGS) $<
@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@monodll_scrolbar.o: $(srcdir)/src/cocoa/scrolbar.mm $(MONODLL_ODEP)
@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@ $(CXXC) -c -o $@ $(MONODLL_CXXFLAGS) $<
@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@monodll_scrolbar.o: $(srcdir)/src/os2/scrolbar.cpp $(MONODLL_ODEP)
@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@ $(CXXC) -c -o $@ $(MONODLL_CXXFLAGS) $<
@@ -10250,15 +10320,6 @@ monodll_sound_sdl.o: $(srcdir)/src/unix/sound_sdl.cpp $(MONODLL_ODEP)
@COND_USE_GUI_1_WXUNIV_1@monodll_toolbar.o: $(srcdir)/src/univ/toolbar.cpp $(MONODLL_ODEP)
@COND_USE_GUI_1_WXUNIV_1@ $(CXXC) -c -o $@ $(MONODLL_CXXFLAGS) $<
@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@monodll_colordlg.o: $(srcdir)/src/msw/colordlg.cpp $(MONODLL_ODEP)
@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@ $(CXXC) -c -o $@ $(MONODLL_CXXFLAGS) $<
@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@monodll_colordlg.o: $(srcdir)/src/msw/colordlg.cpp $(MONODLL_ODEP)
@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@ $(CXXC) -c -o $@ $(MONODLL_CXXFLAGS) $<
@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@monodll_colordlg.o: $(srcdir)/src/mac/carbon/colordlg.cpp $(MONODLL_ODEP)
@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@ $(CXXC) -c -o $@ $(MONODLL_CXXFLAGS) $<
@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@monodll_dragimag.o: $(srcdir)/src/msw/dragimag.cpp $(MONODLL_ODEP)
@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@ $(CXXC) -c -o $@ $(MONODLL_CXXFLAGS) $<
@@ -10394,9 +10455,6 @@ monodll_sound_sdl.o: $(srcdir)/src/unix/sound_sdl.cpp $(MONODLL_ODEP)
@COND_USE_GUI_1@monodll_clipcmn.o: $(srcdir)/src/common/clipcmn.cpp $(MONODLL_ODEP)
@COND_USE_GUI_1@ $(CXXC) -c -o $@ $(MONODLL_CXXFLAGS) $<
@COND_USE_GUI_1@monodll_clntdata.o: $(srcdir)/src/common/clntdata.cpp $(MONODLL_ODEP)
@COND_USE_GUI_1@ $(CXXC) -c -o $@ $(MONODLL_CXXFLAGS) $<
@COND_USE_GUI_1@monodll_cmdproc.o: $(srcdir)/src/common/cmdproc.cpp $(MONODLL_ODEP)
@COND_USE_GUI_1@ $(CXXC) -c -o $@ $(MONODLL_CXXFLAGS) $<
@@ -10697,6 +10755,9 @@ monodll_sound_sdl.o: $(srcdir)/src/unix/sound_sdl.cpp $(MONODLL_ODEP)
@COND_TOOLKIT_WINCE_USE_GUI_1@monodll_taskbar.o: $(srcdir)/src/msw/taskbar.cpp $(MONODLL_ODEP)
@COND_TOOLKIT_WINCE_USE_GUI_1@ $(CXXC) -c -o $@ $(MONODLL_CXXFLAGS) $<
@COND_TOOLKIT_GTK_USE_GUI_1@monodll_taskbar.o: $(srcdir)/src/gtk/taskbar.cpp $(MONODLL_ODEP)
@COND_TOOLKIT_GTK_USE_GUI_1@ $(CXXC) -c -o $@ $(MONODLL_CXXFLAGS) $<
@COND_TOOLKIT_MSW_USE_GUI_1@monodll_joystick.o: $(srcdir)/src/msw/joystick.cpp $(MONODLL_ODEP)
@COND_TOOLKIT_MSW_USE_GUI_1@ $(CXXC) -c -o $@ $(MONODLL_CXXFLAGS) $<
@@ -10733,6 +10794,9 @@ monodll_sound_sdl.o: $(srcdir)/src/unix/sound_sdl.cpp $(MONODLL_ODEP)
monolib_appbase.o: $(srcdir)/src/common/appbase.cpp $(MONOLIB_ODEP)
$(CXXC) -c -o $@ $(MONOLIB_CXXFLAGS) $<
monolib_clntdata.o: $(srcdir)/src/common/clntdata.cpp $(MONOLIB_ODEP)
$(CXXC) -c -o $@ $(MONOLIB_CXXFLAGS) $<
monolib_cmdline.o: $(srcdir)/src/common/cmdline.cpp $(MONOLIB_ODEP)
$(CXXC) -c -o $@ $(MONOLIB_CXXFLAGS) $<
@@ -11006,6 +11070,9 @@ monolib_helpwce.o: $(srcdir)/src/msw/wince/helpwce.cpp $(MONOLIB_ODEP)
monolib_tbarwce.o: $(srcdir)/src/msw/wince/tbarwce.cpp $(MONOLIB_ODEP)
$(CXXC) -c -o $@ $(MONOLIB_CXXFLAGS) $<
monolib_menuce.o: $(srcdir)/src/msw/wince/menuce.cpp $(MONOLIB_ODEP)
$(CXXC) -c -o $@ $(MONOLIB_CXXFLAGS) $<
monolib_aga.o: $(srcdir)/src/mac/carbon/aga.cpp $(MONOLIB_ODEP)
$(CXXC) -c -o $@ $(MONOLIB_CXXFLAGS) $<
@@ -11042,6 +11109,9 @@ monolib_NSMenu.o: $(srcdir)/src/cocoa/NSMenu.mm $(MONOLIB_ODEP)
monolib_NSPanel.o: $(srcdir)/src/cocoa/NSPanel.mm $(MONOLIB_ODEP)
$(CXXC) -c -o $@ $(MONOLIB_CXXFLAGS) $<
monolib_NSScroller.o: $(srcdir)/src/cocoa/NSScroller.mm $(MONOLIB_ODEP)
$(CXXC) -c -o $@ $(MONOLIB_CXXFLAGS) $<
monolib_NSTabView.o: $(srcdir)/src/cocoa/NSTabView.mm $(MONOLIB_ODEP)
$(CXXC) -c -o $@ $(MONOLIB_CXXFLAGS) $<
@@ -11144,6 +11214,9 @@ monolib_tipdlg.o: $(srcdir)/src/generic/tipdlg.cpp $(MONOLIB_ODEP)
monolib_wizard.o: $(srcdir)/src/generic/wizard.cpp $(MONOLIB_ODEP)
$(CXXC) -c -o $@ $(MONOLIB_CXXFLAGS) $<
monolib_eggtrayicon.o: $(srcdir)/src/gtk/eggtrayicon.c $(MONOLIB_ODEP)
$(CCC) -c -o $@ $(MONOLIB_CFLAGS) $<
monolib_helpbest.o: $(srcdir)/src/msw/helpbest.cpp $(MONOLIB_ODEP)
$(CXXC) -c -o $@ $(MONOLIB_CXXFLAGS) $<
@@ -12653,6 +12726,18 @@ monolib_sound_sdl.o: $(srcdir)/src/unix/sound_sdl.cpp $(MONOLIB_ODEP)
@COND_USE_GUI_1_WXUNIV_1@monolib_choice.o: $(srcdir)/src/univ/choice.cpp $(MONOLIB_ODEP)
@COND_USE_GUI_1_WXUNIV_1@ $(CXXC) -c -o $@ $(MONOLIB_CXXFLAGS) $<
@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0@monolib_colordlg.o: $(srcdir)/src/gtk/colordlg.cpp $(MONOLIB_ODEP)
@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0@ $(CXXC) -c -o $@ $(MONOLIB_CXXFLAGS) $<
@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@monolib_colordlg.o: $(srcdir)/src/msw/colordlg.cpp $(MONOLIB_ODEP)
@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@ $(CXXC) -c -o $@ $(MONOLIB_CXXFLAGS) $<
@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@monolib_colordlg.o: $(srcdir)/src/msw/colordlg.cpp $(MONOLIB_ODEP)
@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@ $(CXXC) -c -o $@ $(MONOLIB_CXXFLAGS) $<
@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@monolib_colordlg.o: $(srcdir)/src/mac/carbon/colordlg.cpp $(MONOLIB_ODEP)
@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@ $(CXXC) -c -o $@ $(MONOLIB_CXXFLAGS) $<
@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0@monolib_combobox.o: $(srcdir)/src/gtk/combobox.cpp $(MONOLIB_ODEP)
@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0@ $(CXXC) -c -o $@ $(MONOLIB_CXXFLAGS) $<
@@ -12944,6 +13029,9 @@ monolib_sound_sdl.o: $(srcdir)/src/unix/sound_sdl.cpp $(MONOLIB_ODEP)
@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@monolib_scrolbar.o: $(srcdir)/src/mac/carbon/scrolbar.cpp $(MONOLIB_ODEP)
@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@ $(CXXC) -c -o $@ $(MONOLIB_CXXFLAGS) $<
@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@monolib_scrolbar.o: $(srcdir)/src/cocoa/scrolbar.mm $(MONOLIB_ODEP)
@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@ $(CXXC) -c -o $@ $(MONOLIB_CXXFLAGS) $<
@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@monolib_scrolbar.o: $(srcdir)/src/os2/scrolbar.cpp $(MONOLIB_ODEP)
@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@ $(CXXC) -c -o $@ $(MONOLIB_CXXFLAGS) $<
@@ -13181,15 +13269,6 @@ monolib_sound_sdl.o: $(srcdir)/src/unix/sound_sdl.cpp $(MONOLIB_ODEP)
@COND_USE_GUI_1_WXUNIV_1@monolib_toolbar.o: $(srcdir)/src/univ/toolbar.cpp $(MONOLIB_ODEP)
@COND_USE_GUI_1_WXUNIV_1@ $(CXXC) -c -o $@ $(MONOLIB_CXXFLAGS) $<
@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@monolib_colordlg.o: $(srcdir)/src/msw/colordlg.cpp $(MONOLIB_ODEP)
@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@ $(CXXC) -c -o $@ $(MONOLIB_CXXFLAGS) $<
@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@monolib_colordlg.o: $(srcdir)/src/msw/colordlg.cpp $(MONOLIB_ODEP)
@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@ $(CXXC) -c -o $@ $(MONOLIB_CXXFLAGS) $<
@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@monolib_colordlg.o: $(srcdir)/src/mac/carbon/colordlg.cpp $(MONOLIB_ODEP)
@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@ $(CXXC) -c -o $@ $(MONOLIB_CXXFLAGS) $<
@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@monolib_dragimag.o: $(srcdir)/src/msw/dragimag.cpp $(MONOLIB_ODEP)
@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@ $(CXXC) -c -o $@ $(MONOLIB_CXXFLAGS) $<
@@ -13325,9 +13404,6 @@ monolib_sound_sdl.o: $(srcdir)/src/unix/sound_sdl.cpp $(MONOLIB_ODEP)
@COND_USE_GUI_1@monolib_clipcmn.o: $(srcdir)/src/common/clipcmn.cpp $(MONOLIB_ODEP)
@COND_USE_GUI_1@ $(CXXC) -c -o $@ $(MONOLIB_CXXFLAGS) $<
@COND_USE_GUI_1@monolib_clntdata.o: $(srcdir)/src/common/clntdata.cpp $(MONOLIB_ODEP)
@COND_USE_GUI_1@ $(CXXC) -c -o $@ $(MONOLIB_CXXFLAGS) $<
@COND_USE_GUI_1@monolib_cmdproc.o: $(srcdir)/src/common/cmdproc.cpp $(MONOLIB_ODEP)
@COND_USE_GUI_1@ $(CXXC) -c -o $@ $(MONOLIB_CXXFLAGS) $<
@@ -13628,6 +13704,9 @@ monolib_sound_sdl.o: $(srcdir)/src/unix/sound_sdl.cpp $(MONOLIB_ODEP)
@COND_TOOLKIT_WINCE_USE_GUI_1@monolib_taskbar.o: $(srcdir)/src/msw/taskbar.cpp $(MONOLIB_ODEP)
@COND_TOOLKIT_WINCE_USE_GUI_1@ $(CXXC) -c -o $@ $(MONOLIB_CXXFLAGS) $<
@COND_TOOLKIT_GTK_USE_GUI_1@monolib_taskbar.o: $(srcdir)/src/gtk/taskbar.cpp $(MONOLIB_ODEP)
@COND_TOOLKIT_GTK_USE_GUI_1@ $(CXXC) -c -o $@ $(MONOLIB_CXXFLAGS) $<
@COND_TOOLKIT_MSW_USE_GUI_1@monolib_joystick.o: $(srcdir)/src/msw/joystick.cpp $(MONOLIB_ODEP)
@COND_TOOLKIT_MSW_USE_GUI_1@ $(CXXC) -c -o $@ $(MONOLIB_CXXFLAGS) $<
@@ -13664,6 +13743,9 @@ monolib_sound_sdl.o: $(srcdir)/src/unix/sound_sdl.cpp $(MONOLIB_ODEP)
basedll_appbase.o: $(srcdir)/src/common/appbase.cpp $(BASEDLL_ODEP)
$(CXXC) -c -o $@ $(BASEDLL_CXXFLAGS) $<
basedll_clntdata.o: $(srcdir)/src/common/clntdata.cpp $(BASEDLL_ODEP)
$(CXXC) -c -o $@ $(BASEDLL_CXXFLAGS) $<
basedll_cmdline.o: $(srcdir)/src/common/cmdline.cpp $(BASEDLL_ODEP)
$(CXXC) -c -o $@ $(BASEDLL_CXXFLAGS) $<
@@ -13967,6 +14049,9 @@ basedll_uma.o: $(srcdir)/src/mac/carbon/uma.cpp $(BASEDLL_ODEP)
baselib_appbase.o: $(srcdir)/src/common/appbase.cpp $(BASELIB_ODEP)
$(CXXC) -c -o $@ $(BASELIB_CXXFLAGS) $<
baselib_clntdata.o: $(srcdir)/src/common/clntdata.cpp $(BASELIB_ODEP)
$(CXXC) -c -o $@ $(BASELIB_CXXFLAGS) $<
baselib_cmdline.o: $(srcdir)/src/common/cmdline.cpp $(BASELIB_ODEP)
$(CXXC) -c -o $@ $(BASELIB_CXXFLAGS) $<
@@ -14420,6 +14505,9 @@ coredll_helpwce.o: $(srcdir)/src/msw/wince/helpwce.cpp $(COREDLL_ODEP)
coredll_tbarwce.o: $(srcdir)/src/msw/wince/tbarwce.cpp $(COREDLL_ODEP)
$(CXXC) -c -o $@ $(COREDLL_CXXFLAGS) $<
coredll_menuce.o: $(srcdir)/src/msw/wince/menuce.cpp $(COREDLL_ODEP)
$(CXXC) -c -o $@ $(COREDLL_CXXFLAGS) $<
coredll_aga.o: $(srcdir)/src/mac/carbon/aga.cpp $(COREDLL_ODEP)
$(CXXC) -c -o $@ $(COREDLL_CXXFLAGS) $<
@@ -14459,6 +14547,9 @@ coredll_NSMenu.o: $(srcdir)/src/cocoa/NSMenu.mm $(COREDLL_ODEP)
coredll_NSPanel.o: $(srcdir)/src/cocoa/NSPanel.mm $(COREDLL_ODEP)
$(CXXC) -c -o $@ $(COREDLL_CXXFLAGS) $<
coredll_NSScroller.o: $(srcdir)/src/cocoa/NSScroller.mm $(COREDLL_ODEP)
$(CXXC) -c -o $@ $(COREDLL_CXXFLAGS) $<
coredll_NSTabView.o: $(srcdir)/src/cocoa/NSTabView.mm $(COREDLL_ODEP)
$(CXXC) -c -o $@ $(COREDLL_CXXFLAGS) $<
@@ -15854,6 +15945,18 @@ coredll_win32.o: $(srcdir)/src/univ/themes/win32.cpp $(COREDLL_ODEP)
@COND_USE_GUI_1_WXUNIV_1@coredll_choice.o: $(srcdir)/src/univ/choice.cpp $(COREDLL_ODEP)
@COND_USE_GUI_1_WXUNIV_1@ $(CXXC) -c -o $@ $(COREDLL_CXXFLAGS) $<
@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0@coredll_colordlg.o: $(srcdir)/src/gtk/colordlg.cpp $(COREDLL_ODEP)
@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0@ $(CXXC) -c -o $@ $(COREDLL_CXXFLAGS) $<
@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@coredll_colordlg.o: $(srcdir)/src/msw/colordlg.cpp $(COREDLL_ODEP)
@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@ $(CXXC) -c -o $@ $(COREDLL_CXXFLAGS) $<
@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@coredll_colordlg.o: $(srcdir)/src/msw/colordlg.cpp $(COREDLL_ODEP)
@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@ $(CXXC) -c -o $@ $(COREDLL_CXXFLAGS) $<
@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@coredll_colordlg.o: $(srcdir)/src/mac/carbon/colordlg.cpp $(COREDLL_ODEP)
@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@ $(CXXC) -c -o $@ $(COREDLL_CXXFLAGS) $<
@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0@coredll_combobox.o: $(srcdir)/src/gtk/combobox.cpp $(COREDLL_ODEP)
@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0@ $(CXXC) -c -o $@ $(COREDLL_CXXFLAGS) $<
@@ -16145,6 +16248,9 @@ coredll_win32.o: $(srcdir)/src/univ/themes/win32.cpp $(COREDLL_ODEP)
@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@coredll_scrolbar.o: $(srcdir)/src/mac/carbon/scrolbar.cpp $(COREDLL_ODEP)
@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@ $(CXXC) -c -o $@ $(COREDLL_CXXFLAGS) $<
@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@coredll_scrolbar.o: $(srcdir)/src/cocoa/scrolbar.mm $(COREDLL_ODEP)
@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@ $(CXXC) -c -o $@ $(COREDLL_CXXFLAGS) $<
@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@coredll_scrolbar.o: $(srcdir)/src/os2/scrolbar.cpp $(COREDLL_ODEP)
@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@ $(CXXC) -c -o $@ $(COREDLL_CXXFLAGS) $<
@@ -16382,15 +16488,6 @@ coredll_win32.o: $(srcdir)/src/univ/themes/win32.cpp $(COREDLL_ODEP)
@COND_USE_GUI_1_WXUNIV_1@coredll_toolbar.o: $(srcdir)/src/univ/toolbar.cpp $(COREDLL_ODEP)
@COND_USE_GUI_1_WXUNIV_1@ $(CXXC) -c -o $@ $(COREDLL_CXXFLAGS) $<
@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@coredll_colordlg.o: $(srcdir)/src/msw/colordlg.cpp $(COREDLL_ODEP)
@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@ $(CXXC) -c -o $@ $(COREDLL_CXXFLAGS) $<
@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@coredll_colordlg.o: $(srcdir)/src/msw/colordlg.cpp $(COREDLL_ODEP)
@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@ $(CXXC) -c -o $@ $(COREDLL_CXXFLAGS) $<
@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@coredll_colordlg.o: $(srcdir)/src/mac/carbon/colordlg.cpp $(COREDLL_ODEP)
@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@ $(CXXC) -c -o $@ $(COREDLL_CXXFLAGS) $<
@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@coredll_dragimag.o: $(srcdir)/src/msw/dragimag.cpp $(COREDLL_ODEP)
@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@ $(CXXC) -c -o $@ $(COREDLL_CXXFLAGS) $<
@@ -16526,9 +16623,6 @@ coredll_win32.o: $(srcdir)/src/univ/themes/win32.cpp $(COREDLL_ODEP)
@COND_USE_GUI_1@coredll_clipcmn.o: $(srcdir)/src/common/clipcmn.cpp $(COREDLL_ODEP)
@COND_USE_GUI_1@ $(CXXC) -c -o $@ $(COREDLL_CXXFLAGS) $<
@COND_USE_GUI_1@coredll_clntdata.o: $(srcdir)/src/common/clntdata.cpp $(COREDLL_ODEP)
@COND_USE_GUI_1@ $(CXXC) -c -o $@ $(COREDLL_CXXFLAGS) $<
@COND_USE_GUI_1@coredll_cmdproc.o: $(srcdir)/src/common/cmdproc.cpp $(COREDLL_ODEP)
@COND_USE_GUI_1@ $(CXXC) -c -o $@ $(COREDLL_CXXFLAGS) $<
@@ -16844,6 +16938,9 @@ corelib_helpwce.o: $(srcdir)/src/msw/wince/helpwce.cpp $(CORELIB_ODEP)
corelib_tbarwce.o: $(srcdir)/src/msw/wince/tbarwce.cpp $(CORELIB_ODEP)
$(CXXC) -c -o $@ $(CORELIB_CXXFLAGS) $<
corelib_menuce.o: $(srcdir)/src/msw/wince/menuce.cpp $(CORELIB_ODEP)
$(CXXC) -c -o $@ $(CORELIB_CXXFLAGS) $<
corelib_aga.o: $(srcdir)/src/mac/carbon/aga.cpp $(CORELIB_ODEP)
$(CXXC) -c -o $@ $(CORELIB_CXXFLAGS) $<
@@ -16883,6 +16980,9 @@ corelib_NSMenu.o: $(srcdir)/src/cocoa/NSMenu.mm $(CORELIB_ODEP)
corelib_NSPanel.o: $(srcdir)/src/cocoa/NSPanel.mm $(CORELIB_ODEP)
$(CXXC) -c -o $@ $(CORELIB_CXXFLAGS) $<
corelib_NSScroller.o: $(srcdir)/src/cocoa/NSScroller.mm $(CORELIB_ODEP)
$(CXXC) -c -o $@ $(CORELIB_CXXFLAGS) $<
corelib_NSTabView.o: $(srcdir)/src/cocoa/NSTabView.mm $(CORELIB_ODEP)
$(CXXC) -c -o $@ $(CORELIB_CXXFLAGS) $<
@@ -18278,6 +18378,18 @@ corelib_win32.o: $(srcdir)/src/univ/themes/win32.cpp $(CORELIB_ODEP)
@COND_USE_GUI_1_WXUNIV_1@corelib_choice.o: $(srcdir)/src/univ/choice.cpp $(CORELIB_ODEP)
@COND_USE_GUI_1_WXUNIV_1@ $(CXXC) -c -o $@ $(CORELIB_CXXFLAGS) $<
@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0@corelib_colordlg.o: $(srcdir)/src/gtk/colordlg.cpp $(CORELIB_ODEP)
@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0@ $(CXXC) -c -o $@ $(CORELIB_CXXFLAGS) $<
@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@corelib_colordlg.o: $(srcdir)/src/msw/colordlg.cpp $(CORELIB_ODEP)
@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@ $(CXXC) -c -o $@ $(CORELIB_CXXFLAGS) $<
@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@corelib_colordlg.o: $(srcdir)/src/msw/colordlg.cpp $(CORELIB_ODEP)
@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@ $(CXXC) -c -o $@ $(CORELIB_CXXFLAGS) $<
@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@corelib_colordlg.o: $(srcdir)/src/mac/carbon/colordlg.cpp $(CORELIB_ODEP)
@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@ $(CXXC) -c -o $@ $(CORELIB_CXXFLAGS) $<
@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0@corelib_combobox.o: $(srcdir)/src/gtk/combobox.cpp $(CORELIB_ODEP)
@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0@ $(CXXC) -c -o $@ $(CORELIB_CXXFLAGS) $<
@@ -18569,6 +18681,9 @@ corelib_win32.o: $(srcdir)/src/univ/themes/win32.cpp $(CORELIB_ODEP)
@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@corelib_scrolbar.o: $(srcdir)/src/mac/carbon/scrolbar.cpp $(CORELIB_ODEP)
@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@ $(CXXC) -c -o $@ $(CORELIB_CXXFLAGS) $<
@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@corelib_scrolbar.o: $(srcdir)/src/cocoa/scrolbar.mm $(CORELIB_ODEP)
@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@ $(CXXC) -c -o $@ $(CORELIB_CXXFLAGS) $<
@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@corelib_scrolbar.o: $(srcdir)/src/os2/scrolbar.cpp $(CORELIB_ODEP)
@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@ $(CXXC) -c -o $@ $(CORELIB_CXXFLAGS) $<
@@ -18806,15 +18921,6 @@ corelib_win32.o: $(srcdir)/src/univ/themes/win32.cpp $(CORELIB_ODEP)
@COND_USE_GUI_1_WXUNIV_1@corelib_toolbar.o: $(srcdir)/src/univ/toolbar.cpp $(CORELIB_ODEP)
@COND_USE_GUI_1_WXUNIV_1@ $(CXXC) -c -o $@ $(CORELIB_CXXFLAGS) $<
@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@corelib_colordlg.o: $(srcdir)/src/msw/colordlg.cpp $(CORELIB_ODEP)
@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@ $(CXXC) -c -o $@ $(CORELIB_CXXFLAGS) $<
@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@corelib_colordlg.o: $(srcdir)/src/msw/colordlg.cpp $(CORELIB_ODEP)
@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@ $(CXXC) -c -o $@ $(CORELIB_CXXFLAGS) $<
@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@corelib_colordlg.o: $(srcdir)/src/mac/carbon/colordlg.cpp $(CORELIB_ODEP)
@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@ $(CXXC) -c -o $@ $(CORELIB_CXXFLAGS) $<
@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@corelib_dragimag.o: $(srcdir)/src/msw/dragimag.cpp $(CORELIB_ODEP)
@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@ $(CXXC) -c -o $@ $(CORELIB_CXXFLAGS) $<
@@ -18950,9 +19056,6 @@ corelib_win32.o: $(srcdir)/src/univ/themes/win32.cpp $(CORELIB_ODEP)
@COND_USE_GUI_1@corelib_clipcmn.o: $(srcdir)/src/common/clipcmn.cpp $(CORELIB_ODEP)
@COND_USE_GUI_1@ $(CXXC) -c -o $@ $(CORELIB_CXXFLAGS) $<
@COND_USE_GUI_1@corelib_clntdata.o: $(srcdir)/src/common/clntdata.cpp $(CORELIB_ODEP)
@COND_USE_GUI_1@ $(CXXC) -c -o $@ $(CORELIB_CXXFLAGS) $<
@COND_USE_GUI_1@corelib_cmdproc.o: $(srcdir)/src/common/cmdproc.cpp $(CORELIB_ODEP)
@COND_USE_GUI_1@ $(CXXC) -c -o $@ $(CORELIB_CXXFLAGS) $<
@@ -19241,6 +19344,9 @@ advdll_tipdlg.o: $(srcdir)/src/generic/tipdlg.cpp $(ADVDLL_ODEP)
advdll_wizard.o: $(srcdir)/src/generic/wizard.cpp $(ADVDLL_ODEP)
$(CXXC) -c -o $@ $(ADVDLL_CXXFLAGS) $<
advdll_eggtrayicon.o: $(srcdir)/src/gtk/eggtrayicon.c $(ADVDLL_ODEP)
$(CCC) -c -o $@ $(ADVDLL_CFLAGS) $<
advdll_sound_sdl.o: $(srcdir)/src/unix/sound_sdl.cpp $(ADVDLL_ODEP)
$(CXXC) -c -o $@ $(ADVDLL_CXXFLAGS) $<
@@ -19286,6 +19392,9 @@ advdll_sound_sdl.o: $(srcdir)/src/unix/sound_sdl.cpp $(ADVDLL_ODEP)
@COND_TOOLKIT_WINCE@advdll_taskbar.o: $(srcdir)/src/msw/taskbar.cpp $(ADVDLL_ODEP)
@COND_TOOLKIT_WINCE@ $(CXXC) -c -o $@ $(ADVDLL_CXXFLAGS) $<
@COND_TOOLKIT_GTK@advdll_taskbar.o: $(srcdir)/src/gtk/taskbar.cpp $(ADVDLL_ODEP)
@COND_TOOLKIT_GTK@ $(CXXC) -c -o $@ $(ADVDLL_CXXFLAGS) $<
@COND_TOOLKIT_MSW@advdll_joystick.o: $(srcdir)/src/msw/joystick.cpp $(ADVDLL_ODEP)
@COND_TOOLKIT_MSW@ $(CXXC) -c -o $@ $(ADVDLL_CXXFLAGS) $<
@@ -19343,6 +19452,9 @@ advlib_tipdlg.o: $(srcdir)/src/generic/tipdlg.cpp $(ADVLIB_ODEP)
advlib_wizard.o: $(srcdir)/src/generic/wizard.cpp $(ADVLIB_ODEP)
$(CXXC) -c -o $@ $(ADVLIB_CXXFLAGS) $<
advlib_eggtrayicon.o: $(srcdir)/src/gtk/eggtrayicon.c $(ADVLIB_ODEP)
$(CCC) -c -o $@ $(ADVLIB_CFLAGS) $<
advlib_sound_sdl.o: $(srcdir)/src/unix/sound_sdl.cpp $(ADVLIB_ODEP)
$(CXXC) -c -o $@ $(ADVLIB_CXXFLAGS) $<
@@ -19388,6 +19500,9 @@ advlib_sound_sdl.o: $(srcdir)/src/unix/sound_sdl.cpp $(ADVLIB_ODEP)
@COND_TOOLKIT_WINCE@advlib_taskbar.o: $(srcdir)/src/msw/taskbar.cpp $(ADVLIB_ODEP)
@COND_TOOLKIT_WINCE@ $(CXXC) -c -o $@ $(ADVLIB_CXXFLAGS) $<
@COND_TOOLKIT_GTK@advlib_taskbar.o: $(srcdir)/src/gtk/taskbar.cpp $(ADVLIB_ODEP)
@COND_TOOLKIT_GTK@ $(CXXC) -c -o $@ $(ADVLIB_CXXFLAGS) $<
@COND_TOOLKIT_MSW@advlib_joystick.o: $(srcdir)/src/msw/joystick.cpp $(ADVLIB_ODEP)
@COND_TOOLKIT_MSW@ $(CXXC) -c -o $@ $(ADVLIB_CXXFLAGS) $<
@@ -19714,6 +19829,7 @@ ALL_DIST: distrib_clean
cp $(WXDIR)/install-sh $(DISTDIR)
cp $(WXDIR)/mkinstalldirs $(DISTDIR)
cp $(WXDIR)/wx-config.in $(DISTDIR)
cp $(WXDIR)/wx-config-wrapper.in $(DISTDIR)
cp $(WXDIR)/version-script.in $(DISTDIR)
cp $(WXDIR)/setup.h.in $(DISTDIR)
cp $(WXDIR)/setup.h_vms $(DISTDIR)

View File

@@ -88,14 +88,11 @@ dnl WX_CPP_NEW_HEADERS checks whether the compiler has "new" <iostream> header
dnl or only the old <iostream.h> one - it may be generally assumed that if
dnl <iostream> exists, the other "new" headers (without .h) exist too.
dnl
dnl call WX_CPP_NEW_HEADERS(actiof-if-true, action-if-false-or-cross-compiling)
dnl call WX_CPP_NEW_HEADERS(actiof-if-true, action-if-false)
dnl ---------------------------------------------------------------------------
AC_DEFUN([WX_CPP_NEW_HEADERS],
[
if test "$cross_compiling" = "yes"; then
ifelse([$2], , :, [$2])
else
AC_LANG_SAVE
AC_LANG_CPLUSPLUS
@@ -108,7 +105,6 @@ AC_DEFUN([WX_CPP_NEW_HEADERS],
fi
AC_LANG_RESTORE
fi
])
dnl ---------------------------------------------------------------------------

View File

@@ -417,6 +417,12 @@ dnl ### begin block 1_COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0 ###
COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
fi
AC_SUBST(COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0)
dnl ### begin block 1_COND_TOOLKIT_MAC_WXUNIV_0 ###
COND_TOOLKIT_MAC_WXUNIV_0="#"
if test "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
COND_TOOLKIT_MAC_WXUNIV_0=""
fi
AC_SUBST(COND_TOOLKIT_MAC_WXUNIV_0)
dnl ### begin block 1_COND_TOOLKIT_MGL ###
COND_TOOLKIT_MGL="#"
if test "x$TOOLKIT" = "xMGL" ; then
@@ -465,6 +471,12 @@ dnl ### begin block 1_COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0 ###
COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
fi
AC_SUBST(COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0)
dnl ### begin block 1_COND_TOOLKIT_MSW_WXUNIV_0 ###
COND_TOOLKIT_MSW_WXUNIV_0="#"
if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
COND_TOOLKIT_MSW_WXUNIV_0=""
fi
AC_SUBST(COND_TOOLKIT_MSW_WXUNIV_0)
dnl ### begin block 1_COND_TOOLKIT_PM ###
COND_TOOLKIT_PM="#"
if test "x$TOOLKIT" = "xPM" ; then
@@ -483,6 +495,12 @@ dnl ### begin block 1_COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0 ###
COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
fi
AC_SUBST(COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0)
dnl ### begin block 1_COND_TOOLKIT_PM_WXUNIV_0 ###
COND_TOOLKIT_PM_WXUNIV_0="#"
if test "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
COND_TOOLKIT_PM_WXUNIV_0=""
fi
AC_SUBST(COND_TOOLKIT_PM_WXUNIV_0)
dnl ### begin block 1_COND_TOOLKIT_WINCE ###
COND_TOOLKIT_WINCE="#"
if test "x$TOOLKIT" = "xWINCE" ; then

View File

@@ -23,7 +23,7 @@
to cbuilderx are addressed. In particular, the project must
be placed into build/msw(?) directory and store object files
in its subdirectory and it must copy setup.h as others do.
cbx_unix - Doesn't intergrate well and won't be used by most Unix people.
cbx_unix - Doesn't integrate well and won't be used by most Unix people.
-->
<disable-formats>dmars,dmars_smake,cbx_unix,cbuilderx,msevc4prj</disable-formats>
@@ -139,7 +139,7 @@
<add-formats files="wx.bkl">wx24dsp</add-formats>
<add-flags formats="wx24dsp">
-DUSE_GUI=1 -DWXUNIV=0 -o../../src/wxWidgets.dsp
-DUSE_GUI=1 -DWXUNIV=0 -o../../src/wxWindows.dsp
</add-flags>
<add-formats files="wx.bkl">rpmspec</add-formats>

View File

@@ -36,7 +36,7 @@ Note: the following files are generated using bakefile_gen:
that contain "This makefile was generated by Bakefile" banner and
VC++ project files in samples, demos and utils directories (inc. contrib
ones)
* src/wxWidgets.dsp
* src/wxWindows.dsp
* {wxGTK,wxMotif,wxX11}.spec (only wxBase headers list)
* autoconf_inc.m4
* all Makefile.in files

View File

@@ -33,5 +33,6 @@
<template id="wx_contrib_headers">
<srcdir>$(CONTRIB_HDR_DIR)</srcdir>
<install-to>$(INCLUDEDIR)/wx-$(WXVER_MAJOR).$(WXVER_MINOR)</install-to>
</template>
</makefile>

View File

@@ -142,6 +142,7 @@ IMPORTANT: please read docs/tech/tn0016.txt before modifying this file!
<set var="BASE_CMN_SRC" hints="files">
src/common/appbase.cpp
src/common/clntdata.cpp
src/common/cmdline.cpp
src/common/config.cpp
src/common/datetime.cpp
@@ -209,6 +210,7 @@ IMPORTANT: please read docs/tech/tn0016.txt before modifying this file!
wx/buffer.h
wx/build.h
wx/chkconf.h
wx/clntdata.h
wx/cmdline.h
wx/confbase.h
wx/config.h
@@ -381,7 +383,6 @@ IMPORTANT: please read docs/tech/tn0016.txt before modifying this file!
src/common/bookctrl.cpp
src/common/choiccmn.cpp
src/common/clipcmn.cpp
src/common/clntdata.cpp
src/common/cmdproc.cpp
src/common/cmndata.cpp
src/common/containr.cpp
@@ -477,7 +478,6 @@ IMPORTANT: please read docs/tech/tn0016.txt before modifying this file!
wx/checklst.h
wx/choicdlg.h
wx/choice.h
wx/clntdata.h
wx/cmndata.h
wx/combobox.h
wx/control.h
@@ -727,6 +727,7 @@ IMPORTANT: please read docs/tech/tn0016.txt before modifying this file!
src/gtk/checkbox.cpp
src/gtk/checklst.cpp
src/gtk/choice.cpp
src/gtk/colordlg.cpp
src/gtk/combobox.cpp
src/gtk/control.cpp
src/gtk/dialog.cpp
@@ -755,6 +756,7 @@ IMPORTANT: please read docs/tech/tn0016.txt before modifying this file!
src/gtk/utilsres.cpp
</set>
<set var="GTK_HDR" hints="files">
wx/generic/colrdlgg.h
wx/generic/dirdlgg.h
wx/generic/fdrepdlg.h
wx/generic/listctrl.h
@@ -768,6 +770,7 @@ IMPORTANT: please read docs/tech/tn0016.txt before modifying this file!
wx/gtk/button.h
wx/gtk/checkbox.h
wx/gtk/checklst.h
wx/gtk/colordlg.h
wx/gtk/choice.h
wx/gtk/clipbrd.h
wx/gtk/colour.h
@@ -1316,6 +1319,7 @@ IMPORTANT: please read docs/tech/tn0016.txt before modifying this file!
src/msw/wince/filedlgwce.cpp
src/msw/wince/helpwce.cpp
src/msw/wince/tbarwce.cpp
src/msw/wince/menuce.cpp
</set>
<set var="WINCE_HDR" hints="files">
wx/generic/fdrepdlg.h
@@ -1324,6 +1328,7 @@ IMPORTANT: please read docs/tech/tn0016.txt before modifying this file!
wx/msw/wince/libraries.h
wx/msw/wince/missing.h
wx/msw/wince/tbarwce.h
wx/msw/wince/resources.h
</set>
@@ -1846,6 +1851,7 @@ IMPORTANT: please read docs/tech/tn0016.txt before modifying this file!
src/cocoa/NSControl.mm
src/cocoa/NSMenu.mm
src/cocoa/NSPanel.mm
src/cocoa/NSScroller.mm
src/cocoa/NSTabView.mm
src/cocoa/NSTableView.mm
src/cocoa/NSTextField.mm
@@ -1891,6 +1897,7 @@ IMPORTANT: please read docs/tech/tn0016.txt before modifying this file!
src/cocoa/radiobox.mm
src/cocoa/radiobut.mm
src/cocoa/region.mm
src/cocoa/scrolbar.mm
src/cocoa/settings.cpp
src/cocoa/slider.mm
src/cocoa/spinbutt.mm
@@ -1930,6 +1937,7 @@ IMPORTANT: please read docs/tech/tn0016.txt before modifying this file!
wx/cocoa/NSControl.h
wx/cocoa/NSMenu.h
wx/cocoa/NSPanel.h
wx/cocoa/NSScroller.h
wx/cocoa/NSTabView.h
wx/cocoa/NSTableView.h
wx/cocoa/NSTextField.h
@@ -1975,6 +1983,7 @@ IMPORTANT: please read docs/tech/tn0016.txt before modifying this file!
wx/cocoa/radiobox.h
wx/cocoa/radiobut.h
wx/cocoa/region.h
wx/cocoa/scrolbar.h
wx/cocoa/slider.h
wx/cocoa/spinbutt.h
wx/cocoa/statbmp.h
@@ -2196,6 +2205,11 @@ IMPORTANT: please read docs/tech/tn0016.txt before modifying this file!
wx/unix/taskbarx11.h
</set>
<set var="ADVANCED_GTK_SRC" hints="files">
src/gtk/taskbar.cpp
src/gtk/eggtrayicon.c
</set>
<!-- ====================================================================== -->
<!-- wxHTML -->
@@ -2450,7 +2464,7 @@ IMPORTANT: please read docs/tech/tn0016.txt before modifying this file!
<if cond="TOOLKIT=='WINCE'">$(ADVANCED_MSW_SRC)</if>
<if cond="TOOLKIT=='MAC'">$(ADVANCED_MAC_SRC)</if>
<if cond="TOOLKIT=='MOTIF'">$(ADVANCED_UNIX_SRC)</if>
<if cond="TOOLKIT=='GTK'">$(ADVANCED_UNIX_SRC)</if>
<if cond="TOOLKIT=='GTK'">$(ADVANCED_UNIX_SRC) $(ADVANCED_GTK_SRC)</if>
<if cond="TOOLKIT=='X11'">$(ADVANCED_UNIX_SRC)</if>
<if cond="TOOLKIT=='PM'">$(ADVANCED_OS2_SRC)</if>
</set>

View File

@@ -77,6 +77,7 @@ ALL_DIST: distrib_clean
cp $(WXDIR)/install-sh $(DISTDIR)
cp $(WXDIR)/mkinstalldirs $(DISTDIR)
cp $(WXDIR)/wx-config.in $(DISTDIR)
cp $(WXDIR)/wx-config-wrapper.in $(DISTDIR)
cp $(WXDIR)/version-script.in $(DISTDIR)
cp $(WXDIR)/setup.h.in $(DISTDIR)
cp $(WXDIR)/setup.h_vms $(DISTDIR)
@@ -528,6 +529,11 @@ SAMPLES_DIST: ALL_GUI_DIST
cp $(SAMPDIR)/event/makefile.unx $(DISTDIR)/samples/event
cp $(SAMPDIR)/event/*.cpp $(DISTDIR)/samples/event
mkdir $(DISTDIR)/samples/except
cp $(SAMPDIR)/except/Makefile.in $(DISTDIR)/samples/except
cp $(SAMPDIR)/except/makefile.unx $(DISTDIR)/samples/except
cp $(SAMPDIR)/except/*.cpp $(DISTDIR)/samples/except
mkdir $(DISTDIR)/samples/exec
cp $(SAMPDIR)/exec/Makefile.in $(DISTDIR)/samples/exec
cp $(SAMPDIR)/exec/makefile.unx $(DISTDIR)/samples/exec

View File

@@ -28,6 +28,7 @@
<define>$(UNICODE_DEFINE)</define>
<dirname>$(LIBDIRNAME)</dirname>
<cflags-borland>-w-8008 -w-8012 -w-8057 -w-8064 -w-8066 -w-8070</cflags-borland>
<cflags-dmars>-w12</cflags-dmars>
<sources>
src/regex/regcomp.c
src/regex/regexec.c

View File

@@ -33,6 +33,7 @@
<include>$(INC_ZLIB)</include>
<include>$(INC_JPEG)</include>
<cflags-borland>-w-8004 -w-8012 -w-8057 -w-8060 -w-8066</cflags-borland>
<cflags-dmars>-w2</cflags-dmars>
<sources>
$(TIFF_PLATFORM_SRC)
src/tiff/tif_aux.c

View File

@@ -64,8 +64,11 @@
<dependency-of>install</dependency-of>
<command>
$(INSTALL_DIR) $(DESTDIR)$(BINDIR)
$(INSTALL_PROGRAM) wx$(TOOLCHAIN_NAME)-config $(DESTDIR)$(BINDIR)
(cd $(DESTDIR)$(BINDIR) &amp;&amp; rm -f wx-config &amp;&amp; $(LN_S) wx$(TOOLCHAIN_NAME)-config wx-config)
$(INSTALL_DIR) $(DESTDIR)$(LIBDIR)/wx/config
$(INSTALL_PROGRAM) lib/wx/config/@WXCONFIG_DATA_FILE@ $(DESTDIR)$(LIBDIR)/wx/config
(cd $(DESTDIR)$(LIBDIR)/wx/config &amp;&amp; rm -f $(TOOLCHAIN_NAME) &amp;&amp; $(LN_S) @WXCONFIG_DATA_FILE@ $(TOOLCHAIN_NAME))
$(INSTALL_PROGRAM) wx-config $(DESTDIR)$(BINDIR)
(cd $(DESTDIR)$(BINDIR) &amp;&amp; rm -f wx$(TOOLCHAIN_NAME)-config &amp;&amp; $(LN_S) wx-config wx$(TOOLCHAIN_NAME)-config)
</command>
</action>
@@ -78,6 +81,9 @@
<headers>
<srcdir>$(SRCDIR)/include</srcdir>
<files>$(ALL_HEADERS)</files>
<install-to>
$(INCLUDEDIR)/wx-$(WXVER_MAJOR).$(WXVER_MINOR)
</install-to>
</headers>
<!-- Locales: -->

View File

@@ -11,8 +11,15 @@ import utils
# register a substitution function for it that provides additional knowledge
# about the option (in this case that it does not contain dir separators and
# so utils.nativePaths() doesn't have to do anything with it):
def __noopSubst(func, name):
return '$(%s)' % name
try:
# this fails in 0.1.4 and 0.1.5 has different subst.callbacks signature:
utils.checkBakefileVersion('0.1.5')
def __noopSubst(name, func, caller):
return '$(%s)' % name
except AttributeError:
def __noopSubst(func, name):
return '$(%s)' % name
utils.addSubstituteCallback('CFG', __noopSubst)
utils.addSubstituteCallback('LIBDIRNAME', __noopSubst)
utils.addSubstituteCallback('SETUPHDIR', __noopSubst)

View File

@@ -187,6 +187,7 @@ MONODLL_CXXFLAGS = $(__RUNTIME_LIBS) -I$(BCCDIR)\include $(__DEBUGINFO) \
MONODLL_OBJECTS = \
$(OBJS)\monodll_dummy.obj \
$(OBJS)\monodll_appbase.obj \
$(OBJS)\monodll_clntdata.obj \
$(OBJS)\monodll_cmdline.obj \
$(OBJS)\monodll_config.obj \
$(OBJS)\monodll_datetime.obj \
@@ -284,6 +285,7 @@ MONOLIB_CXXFLAGS = $(__RUNTIME_LIBS) -I$(BCCDIR)\include $(__DEBUGINFO) \
MONOLIB_OBJECTS = \
$(OBJS)\monolib_dummy.obj \
$(OBJS)\monolib_appbase.obj \
$(OBJS)\monolib_clntdata.obj \
$(OBJS)\monolib_cmdline.obj \
$(OBJS)\monolib_config.obj \
$(OBJS)\monolib_datetime.obj \
@@ -382,6 +384,7 @@ BASEDLL_CXXFLAGS = $(__RUNTIME_LIBS) -I$(BCCDIR)\include $(__DEBUGINFO) \
BASEDLL_OBJECTS = \
$(OBJS)\basedll_dummy.obj \
$(OBJS)\basedll_appbase.obj \
$(OBJS)\basedll_clntdata.obj \
$(OBJS)\basedll_cmdline.obj \
$(OBJS)\basedll_config.obj \
$(OBJS)\basedll_datetime.obj \
@@ -464,6 +467,7 @@ BASELIB_CXXFLAGS = $(__RUNTIME_LIBS) -I$(BCCDIR)\include $(__DEBUGINFO) \
BASELIB_OBJECTS = \
$(OBJS)\baselib_dummy.obj \
$(OBJS)\baselib_appbase.obj \
$(OBJS)\baselib_clntdata.obj \
$(OBJS)\baselib_cmdline.obj \
$(OBJS)\baselib_config.obj \
$(OBJS)\baselib_datetime.obj \
@@ -1005,7 +1009,6 @@ ____CORE_SRC_FILENAMES_OBJECTS = \
$(OBJS)\monodll_bookctrl.obj \
$(OBJS)\monodll_choiccmn.obj \
$(OBJS)\monodll_clipcmn.obj \
$(OBJS)\monodll_clntdata.obj \
$(OBJS)\monodll_cmdproc.obj \
$(OBJS)\monodll_cmndata.obj \
$(OBJS)\monodll_containr.obj \
@@ -1199,7 +1202,6 @@ ____CORE_SRC_FILENAMES_OBJECTS = \
$(OBJS)\monodll_bookctrl.obj \
$(OBJS)\monodll_choiccmn.obj \
$(OBJS)\monodll_clipcmn.obj \
$(OBJS)\monodll_clntdata.obj \
$(OBJS)\monodll_cmdproc.obj \
$(OBJS)\monodll_cmndata.obj \
$(OBJS)\monodll_containr.obj \
@@ -1440,7 +1442,6 @@ ____CORE_SRC_FILENAMES_1_OBJECTS = \
$(OBJS)\monolib_bookctrl.obj \
$(OBJS)\monolib_choiccmn.obj \
$(OBJS)\monolib_clipcmn.obj \
$(OBJS)\monolib_clntdata.obj \
$(OBJS)\monolib_cmdproc.obj \
$(OBJS)\monolib_cmndata.obj \
$(OBJS)\monolib_containr.obj \
@@ -1634,7 +1635,6 @@ ____CORE_SRC_FILENAMES_1_OBJECTS = \
$(OBJS)\monolib_bookctrl.obj \
$(OBJS)\monolib_choiccmn.obj \
$(OBJS)\monolib_clipcmn.obj \
$(OBJS)\monolib_clntdata.obj \
$(OBJS)\monolib_cmdproc.obj \
$(OBJS)\monolib_cmndata.obj \
$(OBJS)\monolib_containr.obj \
@@ -1848,7 +1848,6 @@ ____CORE_SRC_FILENAMES_2_OBJECTS = \
$(OBJS)\coredll_bookctrl.obj \
$(OBJS)\coredll_choiccmn.obj \
$(OBJS)\coredll_clipcmn.obj \
$(OBJS)\coredll_clntdata.obj \
$(OBJS)\coredll_cmdproc.obj \
$(OBJS)\coredll_cmndata.obj \
$(OBJS)\coredll_containr.obj \
@@ -2042,7 +2041,6 @@ ____CORE_SRC_FILENAMES_2_OBJECTS = \
$(OBJS)\coredll_bookctrl.obj \
$(OBJS)\coredll_choiccmn.obj \
$(OBJS)\coredll_clipcmn.obj \
$(OBJS)\coredll_clntdata.obj \
$(OBJS)\coredll_cmdproc.obj \
$(OBJS)\coredll_cmndata.obj \
$(OBJS)\coredll_containr.obj \
@@ -2240,7 +2238,6 @@ ____CORE_SRC_FILENAMES_3_OBJECTS = \
$(OBJS)\corelib_bookctrl.obj \
$(OBJS)\corelib_choiccmn.obj \
$(OBJS)\corelib_clipcmn.obj \
$(OBJS)\corelib_clntdata.obj \
$(OBJS)\corelib_cmdproc.obj \
$(OBJS)\corelib_cmndata.obj \
$(OBJS)\corelib_containr.obj \
@@ -2434,7 +2431,6 @@ ____CORE_SRC_FILENAMES_3_OBJECTS = \
$(OBJS)\corelib_bookctrl.obj \
$(OBJS)\corelib_choiccmn.obj \
$(OBJS)\corelib_clipcmn.obj \
$(OBJS)\corelib_clntdata.obj \
$(OBJS)\corelib_cmdproc.obj \
$(OBJS)\corelib_cmndata.obj \
$(OBJS)\corelib_containr.obj \
@@ -3356,6 +3352,9 @@ $(OBJS)\monodll_dummy.obj: ..\..\src\msw\dummy.cpp
$(OBJS)\monodll_appbase.obj: ..\..\src\common\appbase.cpp
$(CXX) -q -c -P -o$@ $(MONODLL_CXXFLAGS) $**
$(OBJS)\monodll_clntdata.obj: ..\..\src\common\clntdata.cpp
$(CXX) -q -c -P -o$@ $(MONODLL_CXXFLAGS) $**
$(OBJS)\monodll_cmdline.obj: ..\..\src\common\cmdline.cpp
$(CXX) -q -c -P -o$@ $(MONODLL_CXXFLAGS) $**
@@ -4387,11 +4386,6 @@ $(OBJS)\monodll_clipcmn.obj: ..\..\src\common\clipcmn.cpp
$(CXX) -q -c -P -o$@ $(MONODLL_CXXFLAGS) $**
!endif
!if "$(USE_GUI)" == "1"
$(OBJS)\monodll_clntdata.obj: ..\..\src\common\clntdata.cpp
$(CXX) -q -c -P -o$@ $(MONODLL_CXXFLAGS) $**
!endif
!if "$(USE_GUI)" == "1"
$(OBJS)\monodll_cmdproc.obj: ..\..\src\common\cmdproc.cpp
$(CXX) -q -c -P -o$@ $(MONODLL_CXXFLAGS) $**
@@ -4828,6 +4822,9 @@ $(OBJS)\monolib_dummy.obj: ..\..\src\msw\dummy.cpp
$(OBJS)\monolib_appbase.obj: ..\..\src\common\appbase.cpp
$(CXX) -q -c -P -o$@ $(MONOLIB_CXXFLAGS) $**
$(OBJS)\monolib_clntdata.obj: ..\..\src\common\clntdata.cpp
$(CXX) -q -c -P -o$@ $(MONOLIB_CXXFLAGS) $**
$(OBJS)\monolib_cmdline.obj: ..\..\src\common\cmdline.cpp
$(CXX) -q -c -P -o$@ $(MONOLIB_CXXFLAGS) $**
@@ -5859,11 +5856,6 @@ $(OBJS)\monolib_clipcmn.obj: ..\..\src\common\clipcmn.cpp
$(CXX) -q -c -P -o$@ $(MONOLIB_CXXFLAGS) $**
!endif
!if "$(USE_GUI)" == "1"
$(OBJS)\monolib_clntdata.obj: ..\..\src\common\clntdata.cpp
$(CXX) -q -c -P -o$@ $(MONOLIB_CXXFLAGS) $**
!endif
!if "$(USE_GUI)" == "1"
$(OBJS)\monolib_cmdproc.obj: ..\..\src\common\cmdproc.cpp
$(CXX) -q -c -P -o$@ $(MONOLIB_CXXFLAGS) $**
@@ -6300,6 +6292,9 @@ $(OBJS)\basedll_dummy.obj: ..\..\src\msw\dummy.cpp
$(OBJS)\basedll_appbase.obj: ..\..\src\common\appbase.cpp
$(CXX) -q -c -P -o$@ $(BASEDLL_CXXFLAGS) $**
$(OBJS)\basedll_clntdata.obj: ..\..\src\common\clntdata.cpp
$(CXX) -q -c -P -o$@ $(BASEDLL_CXXFLAGS) $**
$(OBJS)\basedll_cmdline.obj: ..\..\src\common\cmdline.cpp
$(CXX) -q -c -P -o$@ $(BASEDLL_CXXFLAGS) $**
@@ -6510,6 +6505,9 @@ $(OBJS)\baselib_dummy.obj: ..\..\src\msw\dummy.cpp
$(OBJS)\baselib_appbase.obj: ..\..\src\common\appbase.cpp
$(CXX) -q -c -P -o$@ $(BASELIB_CXXFLAGS) $**
$(OBJS)\baselib_clntdata.obj: ..\..\src\common\clntdata.cpp
$(CXX) -q -c -P -o$@ $(BASELIB_CXXFLAGS) $**
$(OBJS)\baselib_cmdline.obj: ..\..\src\common\cmdline.cpp
$(CXX) -q -c -P -o$@ $(BASELIB_CXXFLAGS) $**
@@ -7484,11 +7482,6 @@ $(OBJS)\coredll_clipcmn.obj: ..\..\src\common\clipcmn.cpp
$(CXX) -q -c -P -o$@ $(COREDLL_CXXFLAGS) $**
!endif
!if "$(USE_GUI)" == "1"
$(OBJS)\coredll_clntdata.obj: ..\..\src\common\clntdata.cpp
$(CXX) -q -c -P -o$@ $(COREDLL_CXXFLAGS) $**
!endif
!if "$(USE_GUI)" == "1"
$(OBJS)\coredll_cmdproc.obj: ..\..\src\common\cmdproc.cpp
$(CXX) -q -c -P -o$@ $(COREDLL_CXXFLAGS) $**
@@ -8611,11 +8604,6 @@ $(OBJS)\corelib_clipcmn.obj: ..\..\src\common\clipcmn.cpp
$(CXX) -q -c -P -o$@ $(CORELIB_CXXFLAGS) $**
!endif
!if "$(USE_GUI)" == "1"
$(OBJS)\corelib_clntdata.obj: ..\..\src\common\clntdata.cpp
$(CXX) -q -c -P -o$@ $(CORELIB_CXXFLAGS) $**
!endif
!if "$(USE_GUI)" == "1"
$(OBJS)\corelib_cmdproc.obj: ..\..\src\common\cmdproc.cpp
$(CXX) -q -c -P -o$@ $(CORELIB_CXXFLAGS) $**

View File

@@ -173,6 +173,7 @@ MONODLL_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(GCCFLAGS) -DHAVE_W32API_H
MONODLL_OBJECTS = \
$(OBJS)\monodll_dummy.o \
$(OBJS)\monodll_appbase.o \
$(OBJS)\monodll_clntdata.o \
$(OBJS)\monodll_cmdline.o \
$(OBJS)\monodll_config.o \
$(OBJS)\monodll_datetime.o \
@@ -270,6 +271,7 @@ MONOLIB_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(GCCFLAGS) -DHAVE_W32API_H
MONOLIB_OBJECTS = \
$(OBJS)\monolib_dummy.o \
$(OBJS)\monolib_appbase.o \
$(OBJS)\monolib_clntdata.o \
$(OBJS)\monolib_cmdline.o \
$(OBJS)\monolib_config.o \
$(OBJS)\monolib_datetime.o \
@@ -367,6 +369,7 @@ BASEDLL_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(GCCFLAGS) -DHAVE_W32API_H
BASEDLL_OBJECTS = \
$(OBJS)\basedll_dummy.o \
$(OBJS)\basedll_appbase.o \
$(OBJS)\basedll_clntdata.o \
$(OBJS)\basedll_cmdline.o \
$(OBJS)\basedll_config.o \
$(OBJS)\basedll_datetime.o \
@@ -449,6 +452,7 @@ BASELIB_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(GCCFLAGS) -DHAVE_W32API_H
BASELIB_OBJECTS = \
$(OBJS)\baselib_dummy.o \
$(OBJS)\baselib_appbase.o \
$(OBJS)\baselib_clntdata.o \
$(OBJS)\baselib_cmdline.o \
$(OBJS)\baselib_config.o \
$(OBJS)\baselib_datetime.o \
@@ -993,7 +997,6 @@ ____CORE_SRC_FILENAMES_OBJECTS = \
$(OBJS)\monodll_bookctrl.o \
$(OBJS)\monodll_choiccmn.o \
$(OBJS)\monodll_clipcmn.o \
$(OBJS)\monodll_clntdata.o \
$(OBJS)\monodll_cmdproc.o \
$(OBJS)\monodll_cmndata.o \
$(OBJS)\monodll_containr.o \
@@ -1189,7 +1192,6 @@ ____CORE_SRC_FILENAMES_OBJECTS = \
$(OBJS)\monodll_bookctrl.o \
$(OBJS)\monodll_choiccmn.o \
$(OBJS)\monodll_clipcmn.o \
$(OBJS)\monodll_clntdata.o \
$(OBJS)\monodll_cmdproc.o \
$(OBJS)\monodll_cmndata.o \
$(OBJS)\monodll_containr.o \
@@ -1434,7 +1436,6 @@ ____CORE_SRC_FILENAMES_1_OBJECTS = \
$(OBJS)\monolib_bookctrl.o \
$(OBJS)\monolib_choiccmn.o \
$(OBJS)\monolib_clipcmn.o \
$(OBJS)\monolib_clntdata.o \
$(OBJS)\monolib_cmdproc.o \
$(OBJS)\monolib_cmndata.o \
$(OBJS)\monolib_containr.o \
@@ -1630,7 +1631,6 @@ ____CORE_SRC_FILENAMES_1_OBJECTS = \
$(OBJS)\monolib_bookctrl.o \
$(OBJS)\monolib_choiccmn.o \
$(OBJS)\monolib_clipcmn.o \
$(OBJS)\monolib_clntdata.o \
$(OBJS)\monolib_cmdproc.o \
$(OBJS)\monolib_cmndata.o \
$(OBJS)\monolib_containr.o \
@@ -1858,7 +1858,6 @@ ____CORE_SRC_FILENAMES_2_OBJECTS = \
$(OBJS)\coredll_bookctrl.o \
$(OBJS)\coredll_choiccmn.o \
$(OBJS)\coredll_clipcmn.o \
$(OBJS)\coredll_clntdata.o \
$(OBJS)\coredll_cmdproc.o \
$(OBJS)\coredll_cmndata.o \
$(OBJS)\coredll_containr.o \
@@ -2054,7 +2053,6 @@ ____CORE_SRC_FILENAMES_2_OBJECTS = \
$(OBJS)\coredll_bookctrl.o \
$(OBJS)\coredll_choiccmn.o \
$(OBJS)\coredll_clipcmn.o \
$(OBJS)\coredll_clntdata.o \
$(OBJS)\coredll_cmdproc.o \
$(OBJS)\coredll_cmndata.o \
$(OBJS)\coredll_containr.o \
@@ -2258,7 +2256,6 @@ ____CORE_SRC_FILENAMES_3_OBJECTS = \
$(OBJS)\corelib_bookctrl.o \
$(OBJS)\corelib_choiccmn.o \
$(OBJS)\corelib_clipcmn.o \
$(OBJS)\corelib_clntdata.o \
$(OBJS)\corelib_cmdproc.o \
$(OBJS)\corelib_cmndata.o \
$(OBJS)\corelib_containr.o \
@@ -2454,7 +2451,6 @@ ____CORE_SRC_FILENAMES_3_OBJECTS = \
$(OBJS)\corelib_bookctrl.o \
$(OBJS)\corelib_choiccmn.o \
$(OBJS)\corelib_clipcmn.o \
$(OBJS)\corelib_clntdata.o \
$(OBJS)\corelib_cmdproc.o \
$(OBJS)\corelib_cmndata.o \
$(OBJS)\corelib_containr.o \
@@ -3396,6 +3392,9 @@ $(OBJS)\monodll_dummy.o: ../../src/msw/dummy.cpp
$(OBJS)\monodll_appbase.o: ../../src/common/appbase.cpp
$(CXX) -c -o $@ $(MONODLL_CXXFLAGS) $<
$(OBJS)\monodll_clntdata.o: ../../src/common/clntdata.cpp
$(CXX) -c -o $@ $(MONODLL_CXXFLAGS) $<
$(OBJS)\monodll_cmdline.o: ../../src/common/cmdline.cpp
$(CXX) -c -o $@ $(MONODLL_CXXFLAGS) $<
@@ -4527,11 +4526,6 @@ $(OBJS)\monodll_clipcmn.o: ../../src/common/clipcmn.cpp
$(CXX) -c -o $@ $(MONODLL_CXXFLAGS) $<
endif
ifeq ($(USE_GUI),1)
$(OBJS)\monodll_clntdata.o: ../../src/common/clntdata.cpp
$(CXX) -c -o $@ $(MONODLL_CXXFLAGS) $<
endif
ifeq ($(USE_GUI),1)
$(OBJS)\monodll_cmdproc.o: ../../src/common/cmdproc.cpp
$(CXX) -c -o $@ $(MONODLL_CXXFLAGS) $<
@@ -4968,6 +4962,9 @@ $(OBJS)\monolib_dummy.o: ../../src/msw/dummy.cpp
$(OBJS)\monolib_appbase.o: ../../src/common/appbase.cpp
$(CXX) -c -o $@ $(MONOLIB_CXXFLAGS) $<
$(OBJS)\monolib_clntdata.o: ../../src/common/clntdata.cpp
$(CXX) -c -o $@ $(MONOLIB_CXXFLAGS) $<
$(OBJS)\monolib_cmdline.o: ../../src/common/cmdline.cpp
$(CXX) -c -o $@ $(MONOLIB_CXXFLAGS) $<
@@ -6099,11 +6096,6 @@ $(OBJS)\monolib_clipcmn.o: ../../src/common/clipcmn.cpp
$(CXX) -c -o $@ $(MONOLIB_CXXFLAGS) $<
endif
ifeq ($(USE_GUI),1)
$(OBJS)\monolib_clntdata.o: ../../src/common/clntdata.cpp
$(CXX) -c -o $@ $(MONOLIB_CXXFLAGS) $<
endif
ifeq ($(USE_GUI),1)
$(OBJS)\monolib_cmdproc.o: ../../src/common/cmdproc.cpp
$(CXX) -c -o $@ $(MONOLIB_CXXFLAGS) $<
@@ -6540,6 +6532,9 @@ $(OBJS)\basedll_dummy.o: ../../src/msw/dummy.cpp
$(OBJS)\basedll_appbase.o: ../../src/common/appbase.cpp
$(CXX) -c -o $@ $(BASEDLL_CXXFLAGS) $<
$(OBJS)\basedll_clntdata.o: ../../src/common/clntdata.cpp
$(CXX) -c -o $@ $(BASEDLL_CXXFLAGS) $<
$(OBJS)\basedll_cmdline.o: ../../src/common/cmdline.cpp
$(CXX) -c -o $@ $(BASEDLL_CXXFLAGS) $<
@@ -6750,6 +6745,9 @@ $(OBJS)\baselib_dummy.o: ../../src/msw/dummy.cpp
$(OBJS)\baselib_appbase.o: ../../src/common/appbase.cpp
$(CXX) -c -o $@ $(BASELIB_CXXFLAGS) $<
$(OBJS)\baselib_clntdata.o: ../../src/common/clntdata.cpp
$(CXX) -c -o $@ $(BASELIB_CXXFLAGS) $<
$(OBJS)\baselib_cmdline.o: ../../src/common/cmdline.cpp
$(CXX) -c -o $@ $(BASELIB_CXXFLAGS) $<
@@ -7824,11 +7822,6 @@ $(OBJS)\coredll_clipcmn.o: ../../src/common/clipcmn.cpp
$(CXX) -c -o $@ $(COREDLL_CXXFLAGS) $<
endif
ifeq ($(USE_GUI),1)
$(OBJS)\coredll_clntdata.o: ../../src/common/clntdata.cpp
$(CXX) -c -o $@ $(COREDLL_CXXFLAGS) $<
endif
ifeq ($(USE_GUI),1)
$(OBJS)\coredll_cmdproc.o: ../../src/common/cmdproc.cpp
$(CXX) -c -o $@ $(COREDLL_CXXFLAGS) $<
@@ -9051,11 +9044,6 @@ $(OBJS)\corelib_clipcmn.o: ../../src/common/clipcmn.cpp
$(CXX) -c -o $@ $(CORELIB_CXXFLAGS) $<
endif
ifeq ($(USE_GUI),1)
$(OBJS)\corelib_clntdata.o: ../../src/common/clntdata.cpp
$(CXX) -c -o $@ $(CORELIB_CXXFLAGS) $<
endif
ifeq ($(USE_GUI),1)
$(OBJS)\corelib_cmdproc.o: ../../src/common/cmdproc.cpp
$(CXX) -c -o $@ $(CORELIB_CXXFLAGS) $<

View File

@@ -188,6 +188,7 @@ MONODLL_CXXFLAGS = /M$(__RUNTIME_LIBS)$(__DEBUGRUNTIME_76) /DWIN32 \
MONODLL_OBJECTS = \
$(OBJS)\monodll_dummy.obj \
$(OBJS)\monodll_appbase.obj \
$(OBJS)\monodll_clntdata.obj \
$(OBJS)\monodll_cmdline.obj \
$(OBJS)\monodll_config.obj \
$(OBJS)\monodll_datetime.obj \
@@ -291,6 +292,7 @@ MONOLIB_CXXFLAGS = /M$(__RUNTIME_LIBS)$(__DEBUGRUNTIME_88) /DWIN32 \
MONOLIB_OBJECTS = \
$(OBJS)\monolib_dummy.obj \
$(OBJS)\monolib_appbase.obj \
$(OBJS)\monolib_clntdata.obj \
$(OBJS)\monolib_cmdline.obj \
$(OBJS)\monolib_config.obj \
$(OBJS)\monolib_datetime.obj \
@@ -395,6 +397,7 @@ BASEDLL_CXXFLAGS = /M$(__RUNTIME_LIBS)$(__DEBUGRUNTIME_101) /DWIN32 \
BASEDLL_OBJECTS = \
$(OBJS)\basedll_dummy.obj \
$(OBJS)\basedll_appbase.obj \
$(OBJS)\basedll_clntdata.obj \
$(OBJS)\basedll_cmdline.obj \
$(OBJS)\basedll_config.obj \
$(OBJS)\basedll_datetime.obj \
@@ -483,6 +486,7 @@ BASELIB_CXXFLAGS = /M$(__RUNTIME_LIBS)$(__DEBUGRUNTIME_113) /DWIN32 \
BASELIB_OBJECTS = \
$(OBJS)\baselib_dummy.obj \
$(OBJS)\baselib_appbase.obj \
$(OBJS)\baselib_clntdata.obj \
$(OBJS)\baselib_cmdline.obj \
$(OBJS)\baselib_config.obj \
$(OBJS)\baselib_datetime.obj \
@@ -1212,7 +1216,6 @@ ____CORE_SRC_FILENAMES_OBJECTS = \
$(OBJS)\monodll_bookctrl.obj \
$(OBJS)\monodll_choiccmn.obj \
$(OBJS)\monodll_clipcmn.obj \
$(OBJS)\monodll_clntdata.obj \
$(OBJS)\monodll_cmdproc.obj \
$(OBJS)\monodll_cmndata.obj \
$(OBJS)\monodll_containr.obj \
@@ -1406,7 +1409,6 @@ ____CORE_SRC_FILENAMES_OBJECTS = \
$(OBJS)\monodll_bookctrl.obj \
$(OBJS)\monodll_choiccmn.obj \
$(OBJS)\monodll_clipcmn.obj \
$(OBJS)\monodll_clntdata.obj \
$(OBJS)\monodll_cmdproc.obj \
$(OBJS)\monodll_cmndata.obj \
$(OBJS)\monodll_containr.obj \
@@ -1665,7 +1667,6 @@ ____CORE_SRC_FILENAMES_1_OBJECTS = \
$(OBJS)\monolib_bookctrl.obj \
$(OBJS)\monolib_choiccmn.obj \
$(OBJS)\monolib_clipcmn.obj \
$(OBJS)\monolib_clntdata.obj \
$(OBJS)\monolib_cmdproc.obj \
$(OBJS)\monolib_cmndata.obj \
$(OBJS)\monolib_containr.obj \
@@ -1859,7 +1860,6 @@ ____CORE_SRC_FILENAMES_1_OBJECTS = \
$(OBJS)\monolib_bookctrl.obj \
$(OBJS)\monolib_choiccmn.obj \
$(OBJS)\monolib_clipcmn.obj \
$(OBJS)\monolib_clntdata.obj \
$(OBJS)\monolib_cmdproc.obj \
$(OBJS)\monolib_cmndata.obj \
$(OBJS)\monolib_containr.obj \
@@ -2163,7 +2163,6 @@ ____CORE_SRC_FILENAMES_2_OBJECTS = \
$(OBJS)\coredll_bookctrl.obj \
$(OBJS)\coredll_choiccmn.obj \
$(OBJS)\coredll_clipcmn.obj \
$(OBJS)\coredll_clntdata.obj \
$(OBJS)\coredll_cmdproc.obj \
$(OBJS)\coredll_cmndata.obj \
$(OBJS)\coredll_containr.obj \
@@ -2357,7 +2356,6 @@ ____CORE_SRC_FILENAMES_2_OBJECTS = \
$(OBJS)\coredll_bookctrl.obj \
$(OBJS)\coredll_choiccmn.obj \
$(OBJS)\coredll_clipcmn.obj \
$(OBJS)\coredll_clntdata.obj \
$(OBJS)\coredll_cmdproc.obj \
$(OBJS)\coredll_cmndata.obj \
$(OBJS)\coredll_containr.obj \
@@ -2573,7 +2571,6 @@ ____CORE_SRC_FILENAMES_3_OBJECTS = \
$(OBJS)\corelib_bookctrl.obj \
$(OBJS)\corelib_choiccmn.obj \
$(OBJS)\corelib_clipcmn.obj \
$(OBJS)\corelib_clntdata.obj \
$(OBJS)\corelib_cmdproc.obj \
$(OBJS)\corelib_cmndata.obj \
$(OBJS)\corelib_containr.obj \
@@ -2767,7 +2764,6 @@ ____CORE_SRC_FILENAMES_3_OBJECTS = \
$(OBJS)\corelib_bookctrl.obj \
$(OBJS)\corelib_choiccmn.obj \
$(OBJS)\corelib_clipcmn.obj \
$(OBJS)\corelib_clntdata.obj \
$(OBJS)\corelib_cmdproc.obj \
$(OBJS)\corelib_cmndata.obj \
$(OBJS)\corelib_containr.obj \
@@ -3911,6 +3907,9 @@ $(OBJS)\monodll_dummy.obj: ..\..\src\msw\dummy.cpp
$(OBJS)\monodll_appbase.obj: ..\..\src\common\appbase.cpp
$(CXX) /c /nologo /TP /Fo$@ $(MONODLL_CXXFLAGS) $**
$(OBJS)\monodll_clntdata.obj: ..\..\src\common\clntdata.cpp
$(CXX) /c /nologo /TP /Fo$@ $(MONODLL_CXXFLAGS) $**
$(OBJS)\monodll_cmdline.obj: ..\..\src\common\cmdline.cpp
$(CXX) /c /nologo /TP /Fo$@ $(MONODLL_CXXFLAGS) $**
@@ -4942,11 +4941,6 @@ $(OBJS)\monodll_clipcmn.obj: ..\..\src\common\clipcmn.cpp
$(CXX) /c /nologo /TP /Fo$@ $(MONODLL_CXXFLAGS) $**
!endif
!if "$(USE_GUI)" == "1"
$(OBJS)\monodll_clntdata.obj: ..\..\src\common\clntdata.cpp
$(CXX) /c /nologo /TP /Fo$@ $(MONODLL_CXXFLAGS) $**
!endif
!if "$(USE_GUI)" == "1"
$(OBJS)\monodll_cmdproc.obj: ..\..\src\common\cmdproc.cpp
$(CXX) /c /nologo /TP /Fo$@ $(MONODLL_CXXFLAGS) $**
@@ -5383,6 +5377,9 @@ $(OBJS)\monolib_dummy.obj: ..\..\src\msw\dummy.cpp
$(OBJS)\monolib_appbase.obj: ..\..\src\common\appbase.cpp
$(CXX) /c /nologo /TP /Fo$@ $(MONOLIB_CXXFLAGS) $**
$(OBJS)\monolib_clntdata.obj: ..\..\src\common\clntdata.cpp
$(CXX) /c /nologo /TP /Fo$@ $(MONOLIB_CXXFLAGS) $**
$(OBJS)\monolib_cmdline.obj: ..\..\src\common\cmdline.cpp
$(CXX) /c /nologo /TP /Fo$@ $(MONOLIB_CXXFLAGS) $**
@@ -6414,11 +6411,6 @@ $(OBJS)\monolib_clipcmn.obj: ..\..\src\common\clipcmn.cpp
$(CXX) /c /nologo /TP /Fo$@ $(MONOLIB_CXXFLAGS) $**
!endif
!if "$(USE_GUI)" == "1"
$(OBJS)\monolib_clntdata.obj: ..\..\src\common\clntdata.cpp
$(CXX) /c /nologo /TP /Fo$@ $(MONOLIB_CXXFLAGS) $**
!endif
!if "$(USE_GUI)" == "1"
$(OBJS)\monolib_cmdproc.obj: ..\..\src\common\cmdproc.cpp
$(CXX) /c /nologo /TP /Fo$@ $(MONOLIB_CXXFLAGS) $**
@@ -6855,6 +6847,9 @@ $(OBJS)\basedll_dummy.obj: ..\..\src\msw\dummy.cpp
$(OBJS)\basedll_appbase.obj: ..\..\src\common\appbase.cpp
$(CXX) /c /nologo /TP /Fo$@ $(BASEDLL_CXXFLAGS) $**
$(OBJS)\basedll_clntdata.obj: ..\..\src\common\clntdata.cpp
$(CXX) /c /nologo /TP /Fo$@ $(BASEDLL_CXXFLAGS) $**
$(OBJS)\basedll_cmdline.obj: ..\..\src\common\cmdline.cpp
$(CXX) /c /nologo /TP /Fo$@ $(BASEDLL_CXXFLAGS) $**
@@ -7065,6 +7060,9 @@ $(OBJS)\baselib_dummy.obj: ..\..\src\msw\dummy.cpp
$(OBJS)\baselib_appbase.obj: ..\..\src\common\appbase.cpp
$(CXX) /c /nologo /TP /Fo$@ $(BASELIB_CXXFLAGS) $**
$(OBJS)\baselib_clntdata.obj: ..\..\src\common\clntdata.cpp
$(CXX) /c /nologo /TP /Fo$@ $(BASELIB_CXXFLAGS) $**
$(OBJS)\baselib_cmdline.obj: ..\..\src\common\cmdline.cpp
$(CXX) /c /nologo /TP /Fo$@ $(BASELIB_CXXFLAGS) $**
@@ -8039,11 +8037,6 @@ $(OBJS)\coredll_clipcmn.obj: ..\..\src\common\clipcmn.cpp
$(CXX) /c /nologo /TP /Fo$@ $(COREDLL_CXXFLAGS) $**
!endif
!if "$(USE_GUI)" == "1"
$(OBJS)\coredll_clntdata.obj: ..\..\src\common\clntdata.cpp
$(CXX) /c /nologo /TP /Fo$@ $(COREDLL_CXXFLAGS) $**
!endif
!if "$(USE_GUI)" == "1"
$(OBJS)\coredll_cmdproc.obj: ..\..\src\common\cmdproc.cpp
$(CXX) /c /nologo /TP /Fo$@ $(COREDLL_CXXFLAGS) $**
@@ -9166,11 +9159,6 @@ $(OBJS)\corelib_clipcmn.obj: ..\..\src\common\clipcmn.cpp
$(CXX) /c /nologo /TP /Fo$@ $(CORELIB_CXXFLAGS) $**
!endif
!if "$(USE_GUI)" == "1"
$(OBJS)\corelib_clntdata.obj: ..\..\src\common\clntdata.cpp
$(CXX) /c /nologo /TP /Fo$@ $(CORELIB_CXXFLAGS) $**
!endif
!if "$(USE_GUI)" == "1"
$(OBJS)\corelib_cmdproc.obj: ..\..\src\common\cmdproc.cpp
$(CXX) /c /nologo /TP /Fo$@ $(CORELIB_CXXFLAGS) $**

View File

@@ -240,7 +240,6 @@ ____CORE_SRC_FILENAMES_OBJECTS = &
$(OBJS)\monodll_bookctrl.obj &
$(OBJS)\monodll_choiccmn.obj &
$(OBJS)\monodll_clipcmn.obj &
$(OBJS)\monodll_clntdata.obj &
$(OBJS)\monodll_cmdproc.obj &
$(OBJS)\monodll_cmndata.obj &
$(OBJS)\monodll_containr.obj &
@@ -436,7 +435,6 @@ ____CORE_SRC_FILENAMES_OBJECTS = &
$(OBJS)\monodll_bookctrl.obj &
$(OBJS)\monodll_choiccmn.obj &
$(OBJS)\monodll_clipcmn.obj &
$(OBJS)\monodll_clntdata.obj &
$(OBJS)\monodll_cmdproc.obj &
$(OBJS)\monodll_cmndata.obj &
$(OBJS)\monodll_containr.obj &
@@ -684,7 +682,6 @@ ____CORE_SRC_FILENAMES_1_OBJECTS = &
$(OBJS)\monolib_bookctrl.obj &
$(OBJS)\monolib_choiccmn.obj &
$(OBJS)\monolib_clipcmn.obj &
$(OBJS)\monolib_clntdata.obj &
$(OBJS)\monolib_cmdproc.obj &
$(OBJS)\monolib_cmndata.obj &
$(OBJS)\monolib_containr.obj &
@@ -880,7 +877,6 @@ ____CORE_SRC_FILENAMES_1_OBJECTS = &
$(OBJS)\monolib_bookctrl.obj &
$(OBJS)\monolib_choiccmn.obj &
$(OBJS)\monolib_clipcmn.obj &
$(OBJS)\monolib_clntdata.obj &
$(OBJS)\monolib_cmdproc.obj &
$(OBJS)\monolib_cmndata.obj &
$(OBJS)\monolib_containr.obj &
@@ -1114,7 +1110,6 @@ ____CORE_SRC_FILENAMES_2_OBJECTS = &
$(OBJS)\coredll_bookctrl.obj &
$(OBJS)\coredll_choiccmn.obj &
$(OBJS)\coredll_clipcmn.obj &
$(OBJS)\coredll_clntdata.obj &
$(OBJS)\coredll_cmdproc.obj &
$(OBJS)\coredll_cmndata.obj &
$(OBJS)\coredll_containr.obj &
@@ -1310,7 +1305,6 @@ ____CORE_SRC_FILENAMES_2_OBJECTS = &
$(OBJS)\coredll_bookctrl.obj &
$(OBJS)\coredll_choiccmn.obj &
$(OBJS)\coredll_clipcmn.obj &
$(OBJS)\coredll_clntdata.obj &
$(OBJS)\coredll_cmdproc.obj &
$(OBJS)\coredll_cmndata.obj &
$(OBJS)\coredll_containr.obj &
@@ -1516,7 +1510,6 @@ ____CORE_SRC_FILENAMES_3_OBJECTS = &
$(OBJS)\corelib_bookctrl.obj &
$(OBJS)\corelib_choiccmn.obj &
$(OBJS)\corelib_clipcmn.obj &
$(OBJS)\corelib_clntdata.obj &
$(OBJS)\corelib_cmdproc.obj &
$(OBJS)\corelib_cmndata.obj &
$(OBJS)\corelib_containr.obj &
@@ -1712,7 +1705,6 @@ ____CORE_SRC_FILENAMES_3_OBJECTS = &
$(OBJS)\corelib_bookctrl.obj &
$(OBJS)\corelib_choiccmn.obj &
$(OBJS)\corelib_clipcmn.obj &
$(OBJS)\corelib_clntdata.obj &
$(OBJS)\corelib_cmdproc.obj &
$(OBJS)\corelib_cmndata.obj &
$(OBJS)\corelib_containr.obj &
@@ -2184,6 +2176,7 @@ MONODLL_CXXFLAGS = -bd $(__DEBUGINFO) $(__OPTIMIZEFLAG) -bm $(__RUNTIME_LIBS) &
MONODLL_OBJECTS = &
$(OBJS)\monodll_dummy.obj &
$(OBJS)\monodll_appbase.obj &
$(OBJS)\monodll_clntdata.obj &
$(OBJS)\monodll_cmdline.obj &
$(OBJS)\monodll_config.obj &
$(OBJS)\monodll_datetime.obj &
@@ -2281,6 +2274,7 @@ MONOLIB_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) -bm $(__RUNTIME_LIBS) &
MONOLIB_OBJECTS = &
$(OBJS)\monolib_dummy.obj &
$(OBJS)\monolib_appbase.obj &
$(OBJS)\monolib_clntdata.obj &
$(OBJS)\monolib_cmdline.obj &
$(OBJS)\monolib_config.obj &
$(OBJS)\monolib_datetime.obj &
@@ -2379,6 +2373,7 @@ BASEDLL_CXXFLAGS = -bd $(__DEBUGINFO) $(__OPTIMIZEFLAG) -bm $(__RUNTIME_LIBS) &
BASEDLL_OBJECTS = &
$(OBJS)\basedll_dummy.obj &
$(OBJS)\basedll_appbase.obj &
$(OBJS)\basedll_clntdata.obj &
$(OBJS)\basedll_cmdline.obj &
$(OBJS)\basedll_config.obj &
$(OBJS)\basedll_datetime.obj &
@@ -2461,6 +2456,7 @@ BASELIB_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) -bm $(__RUNTIME_LIBS) &
BASELIB_OBJECTS = &
$(OBJS)\baselib_dummy.obj &
$(OBJS)\baselib_appbase.obj &
$(OBJS)\baselib_clntdata.obj &
$(OBJS)\baselib_cmdline.obj &
$(OBJS)\baselib_config.obj &
$(OBJS)\baselib_datetime.obj &
@@ -3586,6 +3582,9 @@ $(OBJS)\monodll_dummy.obj : .AUTODEPEND ..\..\src\msw\dummy.cpp
$(OBJS)\monodll_appbase.obj : .AUTODEPEND ..\..\src\common\appbase.cpp
$(CXX) -zq -fo=$^@ $(MONODLL_CXXFLAGS) $<
$(OBJS)\monodll_clntdata.obj : .AUTODEPEND ..\..\src\common\clntdata.cpp
$(CXX) -zq -fo=$^@ $(MONODLL_CXXFLAGS) $<
$(OBJS)\monodll_cmdline.obj : .AUTODEPEND ..\..\src\common\cmdline.cpp
$(CXX) -zq -fo=$^@ $(MONODLL_CXXFLAGS) $<
@@ -4717,11 +4716,6 @@ $(OBJS)\monodll_clipcmn.obj : .AUTODEPEND ..\..\src\common\clipcmn.cpp
$(CXX) -zq -fo=$^@ $(MONODLL_CXXFLAGS) $<
!endif
!ifeq USE_GUI 1
$(OBJS)\monodll_clntdata.obj : .AUTODEPEND ..\..\src\common\clntdata.cpp
$(CXX) -zq -fo=$^@ $(MONODLL_CXXFLAGS) $<
!endif
!ifeq USE_GUI 1
$(OBJS)\monodll_cmdproc.obj : .AUTODEPEND ..\..\src\common\cmdproc.cpp
$(CXX) -zq -fo=$^@ $(MONODLL_CXXFLAGS) $<
@@ -5158,6 +5152,9 @@ $(OBJS)\monolib_dummy.obj : .AUTODEPEND ..\..\src\msw\dummy.cpp
$(OBJS)\monolib_appbase.obj : .AUTODEPEND ..\..\src\common\appbase.cpp
$(CXX) -zq -fo=$^@ $(MONOLIB_CXXFLAGS) $<
$(OBJS)\monolib_clntdata.obj : .AUTODEPEND ..\..\src\common\clntdata.cpp
$(CXX) -zq -fo=$^@ $(MONOLIB_CXXFLAGS) $<
$(OBJS)\monolib_cmdline.obj : .AUTODEPEND ..\..\src\common\cmdline.cpp
$(CXX) -zq -fo=$^@ $(MONOLIB_CXXFLAGS) $<
@@ -6289,11 +6286,6 @@ $(OBJS)\monolib_clipcmn.obj : .AUTODEPEND ..\..\src\common\clipcmn.cpp
$(CXX) -zq -fo=$^@ $(MONOLIB_CXXFLAGS) $<
!endif
!ifeq USE_GUI 1
$(OBJS)\monolib_clntdata.obj : .AUTODEPEND ..\..\src\common\clntdata.cpp
$(CXX) -zq -fo=$^@ $(MONOLIB_CXXFLAGS) $<
!endif
!ifeq USE_GUI 1
$(OBJS)\monolib_cmdproc.obj : .AUTODEPEND ..\..\src\common\cmdproc.cpp
$(CXX) -zq -fo=$^@ $(MONOLIB_CXXFLAGS) $<
@@ -6730,6 +6722,9 @@ $(OBJS)\basedll_dummy.obj : .AUTODEPEND ..\..\src\msw\dummy.cpp
$(OBJS)\basedll_appbase.obj : .AUTODEPEND ..\..\src\common\appbase.cpp
$(CXX) -zq -fo=$^@ $(BASEDLL_CXXFLAGS) $<
$(OBJS)\basedll_clntdata.obj : .AUTODEPEND ..\..\src\common\clntdata.cpp
$(CXX) -zq -fo=$^@ $(BASEDLL_CXXFLAGS) $<
$(OBJS)\basedll_cmdline.obj : .AUTODEPEND ..\..\src\common\cmdline.cpp
$(CXX) -zq -fo=$^@ $(BASEDLL_CXXFLAGS) $<
@@ -6940,6 +6935,9 @@ $(OBJS)\baselib_dummy.obj : .AUTODEPEND ..\..\src\msw\dummy.cpp
$(OBJS)\baselib_appbase.obj : .AUTODEPEND ..\..\src\common\appbase.cpp
$(CXX) -zq -fo=$^@ $(BASELIB_CXXFLAGS) $<
$(OBJS)\baselib_clntdata.obj : .AUTODEPEND ..\..\src\common\clntdata.cpp
$(CXX) -zq -fo=$^@ $(BASELIB_CXXFLAGS) $<
$(OBJS)\baselib_cmdline.obj : .AUTODEPEND ..\..\src\common\cmdline.cpp
$(CXX) -zq -fo=$^@ $(BASELIB_CXXFLAGS) $<
@@ -8014,11 +8012,6 @@ $(OBJS)\coredll_clipcmn.obj : .AUTODEPEND ..\..\src\common\clipcmn.cpp
$(CXX) -zq -fo=$^@ $(COREDLL_CXXFLAGS) $<
!endif
!ifeq USE_GUI 1
$(OBJS)\coredll_clntdata.obj : .AUTODEPEND ..\..\src\common\clntdata.cpp
$(CXX) -zq -fo=$^@ $(COREDLL_CXXFLAGS) $<
!endif
!ifeq USE_GUI 1
$(OBJS)\coredll_cmdproc.obj : .AUTODEPEND ..\..\src\common\cmdproc.cpp
$(CXX) -zq -fo=$^@ $(COREDLL_CXXFLAGS) $<
@@ -9241,11 +9234,6 @@ $(OBJS)\corelib_clipcmn.obj : .AUTODEPEND ..\..\src\common\clipcmn.cpp
$(CXX) -zq -fo=$^@ $(CORELIB_CXXFLAGS) $<
!endif
!ifeq USE_GUI 1
$(OBJS)\corelib_clntdata.obj : .AUTODEPEND ..\..\src\common\clntdata.cpp
$(CXX) -zq -fo=$^@ $(CORELIB_CXXFLAGS) $<
!endif
!ifeq USE_GUI 1
$(OBJS)\corelib_cmdproc.obj : .AUTODEPEND ..\..\src\common\cmdproc.cpp
$(CXX) -zq -fo=$^@ $(CORELIB_CXXFLAGS) $<

View File

@@ -456,6 +456,10 @@ SOURCE=..\..\src\common\appbase.cpp
# End Source File
# Begin Source File
SOURCE=..\..\src\common\clntdata.cpp
# End Source File
# Begin Source File
SOURCE=..\..\src\common\cmdline.cpp
# End Source File
# Begin Source File
@@ -991,6 +995,10 @@ SOURCE=..\..\include\wx\chkconf.h
# End Source File
# Begin Source File
SOURCE=..\..\include\wx\clntdata.h
# End Source File
# Begin Source File
SOURCE=..\..\include\wx\cmdline.h
# End Source File
# Begin Source File

View File

@@ -484,10 +484,6 @@ SOURCE=..\..\src\common\clipcmn.cpp
# End Source File
# Begin Source File
SOURCE=..\..\src\common\clntdata.cpp
# End Source File
# Begin Source File
SOURCE=..\..\src\common\cmdproc.cpp
# End Source File
# Begin Source File
@@ -8118,10 +8114,6 @@ SOURCE=..\..\include\wx\clipbrd.h
# End Source File
# Begin Source File
SOURCE=..\..\include\wx\clntdata.h
# End Source File
# Begin Source File
SOURCE=..\..\include\wx\cmdproc.h
# End Source File
# Begin Source File

1725
configure vendored

File diff suppressed because one or more lines are too long

View File

@@ -476,6 +476,7 @@ if test $DEBUG_CONFIGURE = 1; then
DEFAULT_wxUSE_MENUS=no
DEFAULT_wxUSE_MINIFRAME=no
DEFAULT_wxUSE_HTML=no
DEFAULT_wxUSE_WEBKIT=no
DEFAULT_wxUSE_FILESYSTEM=no
DEFAULT_wxUSE_FS_INET=no
DEFAULT_wxUSE_FS_ZIP=no
@@ -659,6 +660,7 @@ else
DEFAULT_wxUSE_MENUS=yes
DEFAULT_wxUSE_MINIFRAME=yes
DEFAULT_wxUSE_HTML=yes
DEFAULT_wxUSE_WEBKIT=yes
DEFAULT_wxUSE_FILESYSTEM=yes
DEFAULT_wxUSE_FS_INET=yes
DEFAULT_wxUSE_FS_ZIP=yes
@@ -723,6 +725,9 @@ else
DEFAULT_wxUSE_MONOLITHIC=no
DEFAULT_wxUSE_PLUGINS=no
DEFAULT_wxUSE_OFFICIAL_BUILD=no
dnl Appliable only when --with-gtk was used:
DEFAULT_wxUSE_GTK2=yes
fi
dnl WX_ARG_WITH should be used to select whether an external package will be
@@ -771,7 +776,7 @@ AC_ARG_WITH(microwin, [ --with-microwin use MicroWindows], [wxUSE_
AC_ARG_WITH(x11, [ --with-x11 use X11], [wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1])
WX_ARG_ENABLE(nanox, [ --enable-nanox use NanoX], wxUSE_NANOX)
WX_ARG_ENABLE(gtk2, [ --enable-gtk2 use GTK+ 2.0 if available (EXPERIMENTAL)], wxUSE_GTK2)
WX_ARG_ENABLE(gtk2, [ --disable-gtk2 use GTK+ 1.2 instead of 2.0], wxUSE_GTK2)
WX_ARG_ENABLE(gpe, [ --enable-gpe use GNOME PDA Environment features if possible], wxUSE_GPE)
WX_ARG_SYS_WITH(libpng, [ --with-libpng use libpng (PNG image format)], wxUSE_LIBPNG)
@@ -915,6 +920,7 @@ WX_ARG_ENABLE(mdidoc, [ --enable-mdidoc use docview architecture w
WX_ARG_ENABLE(loggui, [ --enable-loggui use standard GUI logger], wxUSE_LOGGUI)
WX_ARG_ENABLE(logwin, [ --enable-logwin use wxLogWindow], wxUSE_LOGWINDOW)
WX_ARG_ENABLE(logdialog, [ --enable-logdialog use wxLogDialog], wxUSE_LOGDIALOG)
WX_ARG_ENABLE(webkit, [ --enable-webkit use wxWebKitCtrl (Mac)], wxUSE_WEBKIT)
dnl ---------------------------------------------------------------------------
dnl PostScript options
@@ -1033,9 +1039,6 @@ fi
if test "x$wxUSE_COCOA" != "x" -a "$wxUSE_COCOA" != "0" ; then
wxUSE_PRINTING_ARCHITECTURE=no
wxUSE_DRAG_AND_DROP=no
# Generic notebook requires tab dialog
DEFAULT_wxUSE_TABDIALOG=yes
DEFAULT_wxUSE_SCROLLBAR=no
DEFAULT_wxUSE_TOOLTIPS=no
DEFAULT_wxUSE_DRAGIMAGE=no
fi
@@ -1350,18 +1353,6 @@ AC_PROG_CXX
AC_LANG_RESTORE
dnl check if compiler includes /usr/local/include in
dnl default include files search path.
AC_MSG_CHECKING([for /usr/local/include in default include path])
GCC_SEARCHES_USR_LOCAL_INCLUDE="no"
if test "$GCC" = "yes" ; then
echo | gcc -v -x c++ -E - 2>&1 | sed -n '/^#include </,$p' | \
sed -n '1,/End of search list\./p' | \
grep '^ */usr/local/include$' 2>&1 /dev/null \
&& GCC_SEARCHES_USR_LOCAL_INCLUDE="yes"
fi
AC_MSG_RESULT([$GCC_SEARCHES_USR_LOCAL_INCLUDE])
dnl ranlib command
dnl defines RANLIB with the appropriate command
AC_PROG_RANLIB
@@ -2475,6 +2466,14 @@ equivalent variable and GTK+ is version 1.2.3 or above.
]
)
fi
save_CFLAGS="$CFLAGS"
save_LIBS="$LIBS"
CFLAGS="$CFLAGS $GTK_CFLAGS"
LIBS="$LIBS $GTK_LIBS"
AC_CHECK_FUNCS([pango_font_family_is_monospace])
CFLAGS="$save_CFLAGS"
LIBS="$save_LIBS"
else
if test "$wxUSE_UNICODE" = "yes"; then
AC_MSG_WARN([Unicode configuration not supported with GTK+ 1.x])
@@ -2621,20 +2620,28 @@ equivalent variable and GTK+ is version 1.2.3 or above.
TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
fi
if test "$wxUSE_X11" = 1; then
dnl use standard macros to check for X headers/libs, this brings support
dnl for the standard configure options --x-includes and --x-libraries
dnl common part of X11 and Motif port checks
if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
dnl use standard macros to check for X headers/libs, this brings
dnl support for the standard configure options --x-includes,
dnl --x-libraries and --no-x
AC_PATH_XTRA
if test "$no_x" = "yes"; then
AC_MSG_ERROR(X11 not found, please use --x-includes and/or --x-libraries options)
fi
GUI_TK_LIBRARY="$X_LIBS"
TOOLKIT_INCLUDE="$X_CFLAGS"
dnl for some reason AC_PATH_XTRA seems to add -INONE and -LNONE (and
dnl also sometimes -RNONE) to X_CFLAGS and X_LIBS respectively, filter
dnl this junk out
GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
AFMINSTALL=afminstall
COMPILED_X_PROGRAM=0
fi
if test "$wxUSE_X11" = 1; then
if test "$wxUSE_NANOX" = "yes"; then
AC_MSG_CHECKING(for MicroWindows/NanoX distribution)
if test "x$MICROWIN" = x ; then
@@ -2675,6 +2682,13 @@ equivalent variable and GTK+ is version 1.2.3 or above.
AC_MSG_WARN([pangoxft library not found, library will be compiled without anti-aliasing support])
]
)
save_CFLAGS="$CFLAGS"
save_LIBS="$LIBS"
CFLAGS="$CFLAGS $PANGOX_CFLAGS"
LIBS="$LIBS $PANGOX_LIBS"
AC_CHECK_FUNCS([pango_font_family_is_monospace])
CFLAGS="$save_CFLAGS"
LIBS="$save_LIBS"
fi
wxUSE_UNIVERSAL="yes"
@@ -2693,21 +2707,6 @@ equivalent variable and GTK+ is version 1.2.3 or above.
fi
if test "$wxUSE_MOTIF" = 1; then
dnl use standard macros to check for X headers/libs, this brings support
dnl for the standard configure options --x-includes and --x-libraries
AC_PATH_XTRA
if test "$no_x" = "yes"; then
AC_MSG_ERROR(X11 not found, please use --x-includes and/or --x-libraries options)
fi
dnl for some reason AC_PATH_XTRA seems to add -INONE and -LNONE to
dnl X_LIBS and X_CFLAGS respectively -- what for??
GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//'`
TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
AFMINSTALL=afminstall
COMPILED_X_PROGRAM=0
AC_MSG_CHECKING(for Motif/Lesstif headers)
WX_PATH_FIND_INCLUDES($SEARCH_INCLUDE, Xm/Xm.h)
if test "$ac_find_includes" != "" ; then
@@ -2843,6 +2842,7 @@ equivalent variable and GTK+ is version 1.2.3 or above.
GUIDIST=MOTIF_DIST
fi
dnl more tests common to X11 and Motif:
if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
dnl test for external libxpm if we're configured to use it
if test "$wxUSE_LIBXPM" = "sys"; then
@@ -3127,7 +3127,7 @@ if test "$wxUSE_DISPLAY" = "yes"; then
dnl ---------------------------------------------------------------------------
dnl Xinerama (for unix ) - Brian Victor
dnl ---------------------------------------------------------------------------
if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1; then
if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
AC_MSG_CHECKING([for Xinerama])
WX_PATH_FIND_LIBRARIES([$SEARCH_LIB],Xinerama)
if test "$ac_find_libraries" != "" ; then
@@ -3265,15 +3265,19 @@ fi
UNICODE=0
lib_unicode_suffix=
wxconfig_filename_unicode="ansi"
if test "$wxUSE_UNICODE" = "yes"; then
lib_unicode_suffix=u
wxconfig_filename_unicode="unicode"
UNICODE=1
fi
lib_debug_suffix=
wxconfig_filename_debug="release"
DEBUG_FLAG=0
if test "$wxUSE_DEBUG_FLAG" = "yes"; then
lib_debug_suffix=d
wxconfig_filename_debug="debug"
DEBUG_FLAG=1
fi
@@ -3287,9 +3291,12 @@ WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}_${WX_RELEASE} |
TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}-${WX_RELEASE}"
TOOLCHAIN_NAME_GL="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_gl-${WX_RELEASE}"
WXCONFIG_DATA_FILE="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${wxconfig_filename_unicode}-${wxconfig_filename_debug}-${WX_RELEASE}"
if test "$cross_compiling" = "yes"; then
TOOLCHAIN_NAME="${TOOLCHAIN_NAME}-${host_alias}"
TOOLCHAIN_NAME_GL="${TOOLCHAIN_NAME_GL}-${host_alias}"
WXCONFIG_DATA_FILE="${WXCONFIG_DATA_FILE}-${host_alias}"
HOST_SUFFIX="-${host_alias}"
fi
@@ -3691,7 +3698,7 @@ fi
if test "$wxUSE_UNICODE" = yes; then
dnl also look if we have wide char IO functions
AC_CHECK_FUNCS(fputwc wprintf vswprintf)
AC_CHECK_FUNCS(wputc wputchar putws fputws wprintf vswprintf)
dnl MinGW has a vswprintf with a different prototype, and
dnl a _vsnwprintf with the correct prototype, but AC_CHECK_FUNCS
@@ -5602,7 +5609,12 @@ if test "$wxUSE_DRAGIMAGE" = "yes"; then
fi
if test "$wxUSE_EXCEPTIONS" = "yes"; then
AC_DEFINE(wxUSE_EXCEPTIONS)
if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
AC_MSG_WARN([--enable-exceptions can't be used with --enable-no_exceptions])
else
AC_DEFINE(wxUSE_EXCEPTIONS)
SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
fi
fi
USE_HTML=0
@@ -5614,6 +5626,28 @@ if test "$wxUSE_HTML" = "yes"; then
SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
fi
fi
if test "$wxUSE_WEBKIT" = "yes"; then
if test "$wxUSE_MAC" = 1; then
old_CPPFLAGS="$CPPFLAGS"
CPPFLAGS="$CPPFLAGS -x objective-c++"
AC_CHECK_HEADER([WebKit/HIWebView.h],
[
AC_DEFINE(wxUSE_WEBKIT)
WEBKIT_LINK="-framework WebKit"
],
[
AC_MSG_WARN([WebKit headers not found; disabling wxWebKit])
wxUSE_WEBKIT=no
],
[#include <Carbon/Carbon.h>])
CPPFLAGS="$old_CPPFLAGS"
elif test "$wxUSE_COCOA" = 1; then
AC_DEFINE(wxUSE_WEBKIT)
else
wxUSE_WEBKIT=no
fi
fi
if test "$wxUSE_MENUS" = "yes"; then
AC_DEFINE(wxUSE_MENUS)
@@ -5824,7 +5858,10 @@ dnl note that we always link with -lm except for Mac OS X
dnl extended.c uses floor() and is always linked in
if test "$wxUSE_MAC" = 1 ; then
LDFLAGS="$LDFLAGS -framework Carbon -framework Cocoa -framework WebKit -framework System"
if test "$wxUSE_SOUND" = "yes"; then
LDFLAGS="$LDFLAGS -framework QuickTime"
fi
LDFLAGS="$LDFLAGS -framework Carbon -framework Cocoa -framework System"
fi
if test "$wxUSE_COCOA" = 1 ; then
LDFLAGS="$LDFLAGS -framework Cocoa -framework System"
@@ -5927,7 +5964,7 @@ EXTRALIBS_XML="$EXPAT_LINK"
EXTRALIBS_HTML="$MSPACK_LINK"
EXTRALIBS_ODBC="$ODBC_LINK"
if test "$wxUSE_GUI" = "yes"; then
EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK | sed 's/ \+/ /g'`
EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK | sed 's/ \+/ /g'`
fi
if test "$wxUSE_OPENGL" = "yes"; then
EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
@@ -6045,38 +6082,41 @@ AC_SUBST(CPPUNIT_LIBS)
AC_BAKEFILE
GCC_PRAGMA_FLAGS=""
dnl Find out if we have to define NO_GCC_PRAGMA and WX_PRECOMP:
if test $GCC_PCH = 1 ; then
CODE_GEN_FLAGS="-DWX_PRECOMP -DNO_GCC_PRAGMA $CODE_GEN_FLAGS"
CPPFLAGS="-DWX_PRECOMP -DNO_GCC_PRAGMA $CPPFLAGS"
GCC_PRAGMA_FLAGS="-DWX_PRECOMP -DNO_GCC_PRAGMA"
else
case "${host}" in
powerpc-*-darwin* )
dnl Some Apple's GCC version are broken and can't handle the
dnl pragmas:
CODE_GEN_FLAGS="-DNO_GCC_PRAGMA $CODE_GEN_FLAGS"
CPPFLAGS="-DNO_GCC_PRAGMA $CPPFLAGS"
GCC_PRAGMA_FLAGS="-DNO_GCC_PRAGMA"
;;
*-*-mingw32* )
dnl MinGW GCC versions >= 3.2 have problems with
dnl static member of classes derived from templates
dnl in combination with #pragme interface/implementation
dnl in combination with #pragma interface/implementation
dnl (the test case uses 4 files)
if test "$wxUSE_STL" = "yes"; then
AC_MSG_CHECKING([If this MinGW version needs -DNO_GCC_PRAGMA])
dnl ... and with exceptions handling (undefined symbols needed
dnl to correctly calls dtors when unwinding) as well
if test "$wxUSE_STL" = "yes" -o \
"$wxUSE_NO_EXCEPTIONS" != "yes" -o \
"$wxUSE_NO_RTTI" != "yes"; then
AC_MSG_CHECKING([if this MinGW version needs -DNO_GCC_PRAGMA])
AC_TRY_COMPILE([],
[#if !(__GNUC__ == 3 && __GNUC_MINOR__ >= 2)
[#if !(__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 2))
#error "Not GCC 3.2 or greater"
#endif
],
[CODE_GEN_FLAGS="-DNO_GCC_PRAGMA $CODE_GEN_FLAGS"
CPPFLAGS="-DNO_GCC_PRAGMA $CPPFLAGS"
[GCC_PRAGMA_FLAGS="-DNO_GCC_PRAGMA"
AC_MSG_RESULT([yes])],
[AC_MSG_RESULT([no])])
fi
;;
esac
fi
CPPFLAGS="$GCC_PRAGMA_FLAGS $CPPFLAGS"
dnl for convenience, sort the samples in alphabetical order
@@ -6150,7 +6190,9 @@ AC_SUBST(WXCONFIG_LIBS_STATIC_GL)
AC_SUBST(WXCONFIG_INCLUDE)
AC_SUBST(WXCONFIG_RPATH)
AC_SUBST(WXCONFIG_LDFLAGS_GUI)
AC_SUBST(WXCONFIG_DATA_FILE)
AC_SUBST(WX_LARGEFILE_FLAGS)
AC_SUBST(GCC_PRAGMA_FLAGS)
AC_SUBST(CODE_GEN_FLAGS)
AC_SUBST(CODE_GEN_FLAGS_CXX)
@@ -6192,7 +6234,6 @@ AC_SUBST(MACRESWXCONFIG)
dnl other tools
AC_SUBST(GCC)
AC_SUBST(GCC_SEARCHES_USR_LOCAL_INCLUDE)
AC_SUBST(DLLTOOL)
AC_SUBST(AS)
AC_SUBST(NM)
@@ -6219,31 +6260,22 @@ dnl (the original file name may be overriden by appending another name after a
dnl colon)
AC_CONFIG_FILES([
wx-config
wx-config-wrapper
version-script
Makefile
])
AC_CONFIG_COMMANDS([default],
[
dnl This test is required to make the following idempotent.
dnl Otherwise running config.status or rerunning configure
dnl would stomp the wx-config link or try to move it onto
dnl itself.
dnl Use -h instead of -L to test for link (GD)
dnl -h is documented as obsolete under Mac OS X but works
dnl -L is obsolete under Solaris8
if test ! -h wx-config; then
chmod +x wx-config
mv wx-config wx${TOOLCHAIN_NAME}-config
${LN_S} wx${TOOLCHAIN_NAME}-config wx-config
fi
if test ! -d lib; then
mkdir lib
fi
if test ! -d lib/wx; then
mkdir lib/wx
fi
if test ! -d lib/wx/config; then
mkdir lib/wx/config
fi
if test ! -d lib/wx/include; then
mkdir lib/wx/include
fi
@@ -6256,9 +6288,24 @@ AC_CONFIG_COMMANDS([default],
if test -f setup.h; then
mv -f setup.h lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h
fi
if test -f wx-config; then
chmod +x wx-config
mv -f wx-config lib/wx/config/${WXCONFIG_DATA_FILE}
( cd lib/wx/config ;
rm -f ${TOOLCHAIN_NAME}
${LN_S} ${WXCONFIG_DATA_FILE} ${TOOLCHAIN_NAME} )
fi
if test -f wx-config-wrapper; then
chmod +x wx-config-wrapper
mv -f wx-config-wrapper wx-config
rm -f wx${TOOLCHAIN_NAME}-config
${LN_S} wx-config wx${TOOLCHAIN_NAME}-config
fi
],
[
TOOLCHAIN_NAME="${TOOLCHAIN_NAME}"
WXCONFIG_DATA_FILE="${WXCONFIG_DATA_FILE}"
LN_S="${LN_S}"
]
)

View File

@@ -83,7 +83,7 @@ protected:
long m_ySpacing;
long m_topMargin;
long m_leftMargin;
bool m_orientation; // TRUE for top-to-bottom, FALSE for left-to-right
bool m_orientation; // true for top-to-bottom, false for left-to-right
private:
DECLARE_ABSTRACT_CLASS(wxTreeLayout)

View File

@@ -7,7 +7,7 @@
// Created: 06/09/98
// RCS-ID: $Id$
// Copyright: (c) Aleksandras Gluchovas
// Licence: wxWindows licence
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#ifndef __CONTROLBAR_G__
@@ -142,7 +142,7 @@ public:
wxFrameLayout( wxWindow* pParentFrame,
wxWindow* pFrameClient = NULL,
bool activateNow = TRUE );
bool activateNow = true );
// Destructor. It does not destroy the bar windows.
@@ -150,7 +150,7 @@ public:
// Enables floating behaviour. By default floating of control bars is on.
virtual void EnableFloating( bool enable = TRUE );
virtual void EnableFloating( bool enable = true );
// Activate can be called after some other layout has been deactivated,
// and this one must take over the current contents of the frame window.
@@ -223,10 +223,10 @@ public:
// name is a name by which the bar can be referred in layout customization dialogs.
// If spyEvents is TRUE, input events for the bar should be "spyed" in order
// If spyEvents is true, input events for the bar should be "spyed" in order
// to forward unhandled mouse clicks to the frame layout, for example to enable
// easy draggablity of toolbars just by clicking on their interior regions.
// For widgets like text/tree control this value should be FALSE,
// For widgets like text/tree control this value should be false,
// since there's no certain way to detect whether the event was actually handled.
// state is the initial state, such as wxCBAR_DOCKED_HORIZONTALLY,
@@ -240,7 +240,7 @@ public:
int rowNo = 0,
int columnPos = 0,
const wxString& name = wxT("bar"),
bool spyEvents = FALSE,
bool spyEvents = false,
int state = wxCBAR_DOCKED_HORIZONTALLY
);
@@ -250,7 +250,7 @@ public:
// To dock a bar which is floating, use the wxFrameLayout::DockBar method.
virtual bool RedockBar( cbBarInfo* pBar, const wxRect& shapeInParent,
cbDockPane* pToPane = NULL, bool updateNow = TRUE );
cbDockPane* pToPane = NULL, bool updateNow = true );
// Finds the bar in the framelayout, by name.
@@ -284,7 +284,7 @@ public:
// Recalculates the layout of panes, and all bars/rows in each pane.
virtual void RecalcLayout( bool repositionBarsNow = FALSE );
virtual void RecalcLayout( bool repositionBarsNow = false );
// Returns the client height.
@@ -331,7 +331,7 @@ public:
// Recalculates layout and performs on-screen update of all panes.
void RefreshNow( bool recalcLayout = TRUE );
void RefreshNow( bool recalcLayout = true );
// Event handler for a size event.
@@ -565,7 +565,7 @@ public: /* protected really (accessed only by plugins) */
cbDockPane** ppPane );
// Returns TRUE if the position is within the given pane.
// Returns true if the position is within the given pane.
bool HitTestPane( cbDockPane* pPane, int x, int y );
@@ -600,7 +600,7 @@ public: /* protected really (accessed only by plugins) */
void HookUpToFrame();
// Returns TRUE if the platform allows reparenting. This may not return TRUE
// Returns true if the platform allows reparenting. This may not return true
// for all platforms. Reparenting allows control bars to be floated.
bool CanReparent();
@@ -659,7 +659,7 @@ public:
wxObject* mpCustomData; // any custom data stored by specific updates mgr.
// Default constructor. Is-dirty flag is set TRUE initially.
// Default constructor. Is-dirty flag is set true initially.
cbUpdateMgrData();
@@ -669,7 +669,7 @@ public:
// Set the dirty flag.
void SetDirty( bool isDirty = TRUE );
void SetDirty( bool isDirty = true );
// Set custom data.
@@ -751,8 +751,8 @@ public:
int mHorizGap; // NOTE:: gaps are given in frame's coord. orientation
// TRUE, if vertical/horizontal dimensions cannot be mannualy adjusted
// by user using resizing handles. If FALSE, the frame-layout
// true, if vertical/horizontal dimensions cannot be mannualy adjusted
// by user using resizing handles. If false, the frame-layout
// *automatically* places resizing handles among not-fixed bars
bool mIsFixed;
@@ -766,8 +766,8 @@ public:
cbDimInfo(void);
// Constructor.
// isFixed is TRUE if vertical/horizontal dimensions cannot be manually adjusted
// by the user using resizing handles. If FALSE, the frame-layout
// isFixed is true if vertical/horizontal dimensions cannot be manually adjusted
// by the user using resizing handles. If false, the frame-layout
// automatically places resizing handles among bars that do are not fixed.
cbDimInfo( cbBarDimHandlerBase* pDimHandler,
@@ -796,7 +796,7 @@ public:
int dv_x, int dv_y,
int f_x, int f_y,
bool isFixed = TRUE,
bool isFixed = true,
int horizGap = 6,
int vertGap = 6,
@@ -806,7 +806,7 @@ public:
// Constructor.
cbDimInfo( int x, int y,
bool isFixed = TRUE,
bool isFixed = true,
int gap = 6,
cbBarDimHandlerBase* pDimHandler = NULL
);
@@ -943,11 +943,11 @@ public:
~cbBarInfo();
// Returns TRUE if this bar is fixed.
// Returns true if this bar is fixed.
inline bool IsFixed() const { return mDimInfo.mIsFixed; }
// Returns TRUE if this bar is expanded.
// Returns true if this bar is expanded.
inline bool IsExpanded() const { return this == mpRow->mpExpandedBar; }
};
@@ -983,7 +983,7 @@ public:
void Reset();
// Advances the iterator and returns TRUE if a bar is available.
// Advances the iterator and returns true if a bar is available.
bool Next();
@@ -1118,7 +1118,7 @@ public: /* protected really (accessed only by plugins) */
void SyncRowFlags( cbRowInfo* pRow );
// Returns TRUE if the bar's dimension information indicates a fixed size.
// Returns true if the bar's dimension information indicates a fixed size.
// Internal function called by plugins.
bool IsFixedSize( cbBarInfo* pInfo );
@@ -1133,22 +1133,22 @@ public: /* protected really (accessed only by plugins) */
int GetRowY( cbRowInfo* pRow );
// Returns TRUE if there are any variable-sized rows above this one.
// Returns true if there are any variable-sized rows above this one.
// Internal function called by plugins.
bool HasNotFixedRowsAbove( cbRowInfo* pRow );
// Returns TRUE if there are any variable-sized rows below this one.
// Returns true if there are any variable-sized rows below this one.
// Internal function called by plugins.
bool HasNotFixedRowsBelow( cbRowInfo* pRow );
// Returns TRUE if there are any variable-sized rows to the left of this one.
// Returns true if there are any variable-sized rows to the left of this one.
// Internal function called by plugins.
bool HasNotFixedBarsLeft ( cbBarInfo* pBar );
// Returns TRUE if there are any variable-sized rows to the right of this one.
// Returns true if there are any variable-sized rows to the right of this one.
// Internal function called by plugins.
bool HasNotFixedBarsRight( cbBarInfo* pBar );
@@ -1203,7 +1203,7 @@ public: /* protected really (accessed only by plugins) */
void PaneToFrame( wxRect* pRect );
// Returns TRUE if pos is within the given rectangle.
// Returns true if pos is within the given rectangle.
// Internal function called by plugins.
inline bool HasPoint( const wxPoint& pos, int x, int y, int width, int height );
@@ -1368,7 +1368,7 @@ public: /* public members */
{ return mRows.GetCount() ? mRows[0] : NULL; }
// Returns TRUE if the given bar is present in this pane.
// Returns true if the given bar is present in this pane.
bool BarPresent( cbBarInfo* pBar );
@@ -1381,11 +1381,11 @@ public: /* public members */
int GetAlignment();
// Returns TRUE if the given mask matches the pane's mask.
// Returns true if the given mask matches the pane's mask.
bool MatchesMask( int paneMask );
// Returns TRUE if the pane is aligned to the top or bottom.
// Returns true if the pane is aligned to the top or bottom.
inline bool IsHorizontal()
{
@@ -1660,31 +1660,31 @@ typedef void (wxEvtHandler::*cbCustomizeLayoutHandler )(cbCustomizeLayoutEvent&)
// Macros for creating event table entries for plugin-events.
#define EVT_PL_LEFT_DOWN(func) wxEventTableEntry( cbEVT_PL_LEFT_DOWN, -1, -1, (wxObjectEventFunction) (wxEventFunction) (cbLeftDownHandler ) & func, (wxObject *) NULL ),
#define EVT_PL_LEFT_UP(func) wxEventTableEntry( cbEVT_PL_LEFT_UP, -1, -1, (wxObjectEventFunction) (wxEventFunction) (cbLeftUpHandler ) & func, (wxObject *) NULL ),
#define EVT_PL_RIGHT_DOWN(func) wxEventTableEntry( cbEVT_PL_RIGHT_DOWN, -1, -1, (wxObjectEventFunction) (wxEventFunction) (cbRightDownHandler ) & func, (wxObject *) NULL ),
#define EVT_PL_RIGHT_UP(func) wxEventTableEntry( cbEVT_PL_RIGHT_UP, -1, -1, (wxObjectEventFunction) (wxEventFunction) (cbRightUpHandler ) & func, (wxObject *) NULL ),
#define EVT_PL_MOTION(func) wxEventTableEntry( cbEVT_PL_MOTION, -1, -1, (wxObjectEventFunction) (wxEventFunction) (cbMotionHandler ) & func, (wxObject *) NULL ),
#define EVT_PL_LEFT_DCLICK(func) wxEventTableEntry( cbEVT_PL_LEFT_DCLICK, -1, -1, (wxObjectEventFunction) (wxEventFunction) (cbLeftDClickHandler ) & func, (wxObject *) NULL ),
#define EVT_PL_LEFT_DOWN(func) wxEventTableEntry( cbEVT_PL_LEFT_DOWN, -1, -1, (wxObjectEventFunction) (wxEventFunction) (cbLeftDownHandler ) & func, (wxObject *) NULL ),
#define EVT_PL_LEFT_UP(func) wxEventTableEntry( cbEVT_PL_LEFT_UP, -1, -1, (wxObjectEventFunction) (wxEventFunction) (cbLeftUpHandler ) & func, (wxObject *) NULL ),
#define EVT_PL_RIGHT_DOWN(func) wxEventTableEntry( cbEVT_PL_RIGHT_DOWN, -1, -1, (wxObjectEventFunction) (wxEventFunction) (cbRightDownHandler ) & func, (wxObject *) NULL ),
#define EVT_PL_RIGHT_UP(func) wxEventTableEntry( cbEVT_PL_RIGHT_UP, -1, -1, (wxObjectEventFunction) (wxEventFunction) (cbRightUpHandler ) & func, (wxObject *) NULL ),
#define EVT_PL_MOTION(func) wxEventTableEntry( cbEVT_PL_MOTION, -1, -1, (wxObjectEventFunction) (wxEventFunction) (cbMotionHandler ) & func, (wxObject *) NULL ),
#define EVT_PL_LEFT_DCLICK(func) wxEventTableEntry( cbEVT_PL_LEFT_DCLICK, -1, -1, (wxObjectEventFunction) (wxEventFunction) (cbLeftDClickHandler ) & func, (wxObject *) NULL ),
#define EVT_PL_LAYOUT_ROW(func) wxEventTableEntry( cbEVT_PL_LAYOUT_ROW, -1, -1, (wxObjectEventFunction) (wxEventFunction) (cbLayoutRowHandler ) & func, (wxObject *) NULL ),
#define EVT_PL_RESIZE_ROW(func) wxEventTableEntry( cbEVT_PL_RESIZE_ROW, -1, -1, (wxObjectEventFunction) (wxEventFunction) (cbResizeRowHandler ) & func, (wxObject *) NULL ),
#define EVT_PL_LAYOUT_ROWS(func) wxEventTableEntry( cbEVT_PL_LAYOUT_ROWS, -1, -1, (wxObjectEventFunction) (wxEventFunction) (cbLayoutRowsHandler ) & func, (wxObject *) NULL ),
#define EVT_PL_INSERT_BAR(func) wxEventTableEntry( cbEVT_PL_INSERT_BAR, -1, -1, (wxObjectEventFunction) (wxEventFunction) (cbInsertBarHandler ) & func, (wxObject *) NULL ),
#define EVT_PL_RESIZE_BAR(func) wxEventTableEntry( cbEVT_PL_RESIZE_BAR, -1, -1, (wxObjectEventFunction) (wxEventFunction) (cbResizeBarHandler ) & func, (wxObject *) NULL ),
#define EVT_PL_REMOVE_BAR(func) wxEventTableEntry( cbEVT_PL_REMOVE_BAR, -1, -1, (wxObjectEventFunction) (wxEventFunction) (cbRemoveBarHandler ) & func, (wxObject *) NULL ),
#define EVT_PL_SIZE_BAR_WND(func) wxEventTableEntry( cbEVT_PL_SIZE_BAR_WND, -1, -1, (wxObjectEventFunction) (wxEventFunction) (cbSizeBarWndHandler ) & func, (wxObject *) NULL ),
#define EVT_PL_LAYOUT_ROW(func) wxEventTableEntry( cbEVT_PL_LAYOUT_ROW, -1, -1, (wxObjectEventFunction) (wxEventFunction) (cbLayoutRowHandler ) & func, (wxObject *) NULL ),
#define EVT_PL_RESIZE_ROW(func) wxEventTableEntry( cbEVT_PL_RESIZE_ROW, -1, -1, (wxObjectEventFunction) (wxEventFunction) (cbResizeRowHandler ) & func, (wxObject *) NULL ),
#define EVT_PL_LAYOUT_ROWS(func) wxEventTableEntry( cbEVT_PL_LAYOUT_ROWS, -1, -1, (wxObjectEventFunction) (wxEventFunction) (cbLayoutRowsHandler ) & func, (wxObject *) NULL ),
#define EVT_PL_INSERT_BAR(func) wxEventTableEntry( cbEVT_PL_INSERT_BAR, -1, -1, (wxObjectEventFunction) (wxEventFunction) (cbInsertBarHandler ) & func, (wxObject *) NULL ),
#define EVT_PL_RESIZE_BAR(func) wxEventTableEntry( cbEVT_PL_RESIZE_BAR, -1, -1, (wxObjectEventFunction) (wxEventFunction) (cbResizeBarHandler ) & func, (wxObject *) NULL ),
#define EVT_PL_REMOVE_BAR(func) wxEventTableEntry( cbEVT_PL_REMOVE_BAR, -1, -1, (wxObjectEventFunction) (wxEventFunction) (cbRemoveBarHandler ) & func, (wxObject *) NULL ),
#define EVT_PL_SIZE_BAR_WND(func) wxEventTableEntry( cbEVT_PL_SIZE_BAR_WND, -1, -1, (wxObjectEventFunction) (wxEventFunction) (cbSizeBarWndHandler ) & func, (wxObject *) NULL ),
#define EVT_PL_DRAW_BAR_DECOR(func) wxEventTableEntry( cbEVT_PL_DRAW_BAR_DECOR, -1, -1, (wxObjectEventFunction) (wxEventFunction) (cbDrawBarDecorHandler ) & func, (wxObject *) NULL ),
#define EVT_PL_DRAW_ROW_DECOR(func) wxEventTableEntry( cbEVT_PL_DRAW_ROW_DECOR, -1, -1, (wxObjectEventFunction) (wxEventFunction) (cbDrawRowDecorHandler ) & func, (wxObject *) NULL ),
#define EVT_PL_DRAW_PANE_DECOR(func) wxEventTableEntry( cbEVT_PL_DRAW_PANE_DECOR, -1, -1, (wxObjectEventFunction) (wxEventFunction) (cbDrawPaneDecorHandler ) & func, (wxObject *) NULL ),
#define EVT_PL_DRAW_BAR_HANDLES(func) wxEventTableEntry( cbEVT_PL_DRAW_BAR_HANDLES, -1, -1, (wxObjectEventFunction) (wxEventFunction) (cbDrawBarHandlesHandler ) & func, (wxObject *) NULL ),
#define EVT_PL_DRAW_ROW_HANDLES(func) wxEventTableEntry( cbEVT_PL_DRAW_ROW_HANDLES, -1, -1, (wxObjectEventFunction) (wxEventFunction) (cbDrawRowHandlesHandler ) & func, (wxObject *) NULL ),
#define EVT_PL_DRAW_ROW_BKGROUND(func) wxEventTableEntry( cbEVT_PL_DRAW_ROW_BKGROUND, -1, -1, (wxObjectEventFunction) (wxEventFunction) (cbDrawRowBkGroundHandler ) & func, (wxObject *) NULL ),
#define EVT_PL_DRAW_PANE_BKGROUND(func) wxEventTableEntry( cbEVT_PL_DRAW_PANE_BKGROUND, -1, -1, (wxObjectEventFunction) (wxEventFunction) (cbDrawPaneBkGroundHandler) & func, (wxObject *) NULL ),
#define EVT_PL_DRAW_BAR_DECOR(func) wxEventTableEntry( cbEVT_PL_DRAW_BAR_DECOR, -1, -1, (wxObjectEventFunction) (wxEventFunction) (cbDrawBarDecorHandler ) & func, (wxObject *) NULL ),
#define EVT_PL_DRAW_ROW_DECOR(func) wxEventTableEntry( cbEVT_PL_DRAW_ROW_DECOR, -1, -1, (wxObjectEventFunction) (wxEventFunction) (cbDrawRowDecorHandler ) & func, (wxObject *) NULL ),
#define EVT_PL_DRAW_PANE_DECOR(func) wxEventTableEntry( cbEVT_PL_DRAW_PANE_DECOR, -1, -1, (wxObjectEventFunction) (wxEventFunction) (cbDrawPaneDecorHandler ) & func, (wxObject *) NULL ),
#define EVT_PL_DRAW_BAR_HANDLES(func) wxEventTableEntry( cbEVT_PL_DRAW_BAR_HANDLES, -1, -1, (wxObjectEventFunction) (wxEventFunction) (cbDrawBarHandlesHandler ) & func, (wxObject *) NULL ),
#define EVT_PL_DRAW_ROW_HANDLES(func) wxEventTableEntry( cbEVT_PL_DRAW_ROW_HANDLES, -1, -1, (wxObjectEventFunction) (wxEventFunction) (cbDrawRowHandlesHandler ) & func, (wxObject *) NULL ),
#define EVT_PL_DRAW_ROW_BKGROUND(func) wxEventTableEntry( cbEVT_PL_DRAW_ROW_BKGROUND, -1, -1, (wxObjectEventFunction) (wxEventFunction) (cbDrawRowBkGroundHandler ) & func, (wxObject *) NULL ),
#define EVT_PL_DRAW_PANE_BKGROUND(func) wxEventTableEntry( cbEVT_PL_DRAW_PANE_BKGROUND, -1, -1, (wxObjectEventFunction) (wxEventFunction) (cbDrawPaneBkGroundHandler) & func, (wxObject *) NULL ),
#define EVT_PL_START_BAR_DRAGGING(func) wxEventTableEntry( cbEVT_PL_START_BAR_DRAGGING, -1, -1, (wxObjectEventFunction) (wxEventFunction) (cbStartBarDraggingHandler) & func, (wxObject *) NULL ),
#define EVT_PL_DRAW_HINT_RECT(func) wxEventTableEntry( cbEVT_PL_DRAW_HINT_RECT, -1, -1, (wxObjectEventFunction) (wxEventFunction) (cbDrawHintRectHandler ) & func, (wxObject *) NULL ),
#define EVT_PL_START_BAR_DRAGGING(func) wxEventTableEntry( cbEVT_PL_START_BAR_DRAGGING, -1, -1, (wxObjectEventFunction) (wxEventFunction) (cbStartBarDraggingHandler) & func, (wxObject *) NULL ),
#define EVT_PL_DRAW_HINT_RECT(func) wxEventTableEntry( cbEVT_PL_DRAW_HINT_RECT, -1, -1, (wxObjectEventFunction) (wxEventFunction) (cbDrawHintRectHandler ) & func, (wxObject *) NULL ),
#define EVT_PL_START_DRAW_IN_AREA(func) wxEventTableEntry( cbEVT_PL_START_DRAW_IN_AREA, -1, -1, (wxObjectEventFunction) (wxEventFunction) (cbStartDrawInAreaHandler) & func, (wxObject *) NULL ),
@@ -1713,7 +1713,7 @@ public:
int mPaneMask;
// Is TRUE when plugin is ready to handle events.
// Is true when plugin is ready to handle events.
bool mIsReady;
@@ -1724,7 +1724,7 @@ public:
: mpLayout ( 0 ),
mPaneMask( wxALL_PANES ),
mIsReady ( FALSE )
mIsReady ( false )
{}
// Constructor taking layout panel and a mask.
@@ -1733,7 +1733,7 @@ public:
: mpLayout ( pPanel ),
mPaneMask( paneMask ),
mIsReady ( FALSE )
mIsReady ( false )
{}
// Returns the pane mask.
@@ -1748,9 +1748,9 @@ public:
// At this point plugin is already attached to the frame layout,
// and pane masks are set.
virtual void OnInitPlugin() { mIsReady = TRUE; }
virtual void OnInitPlugin() { mIsReady = true; }
// Returns TRUE if the plugin is ready to receive events.
// Returns true if the plugin is ready to receive events.
bool IsReady() { return mIsReady; }

View File

@@ -148,13 +148,13 @@ public:
virtual void AddTool( int toolIndex,
const wxString& imageFileName,
wxBitmapType imageFileType = wxBITMAP_TYPE_BMP,
const wxString& labelText = wxT(""), bool alignTextRight = FALSE,
bool isFlat = TRUE );
const wxString& labelText = wxT(""), bool alignTextRight = false,
bool isFlat = true );
// Adds a tool. See the documentation for wxToolBar for details.
virtual void AddTool( int toolIndex, wxBitmap labelBmp,
const wxString& labelText = wxT(""), bool alignTextRight = FALSE,
bool isFlat = TRUE );
const wxString& labelText = wxT(""), bool alignTextRight = false,
bool isFlat = true );
// Unhide method from parent.
@@ -166,7 +166,7 @@ public:
// See the documentation for wxToolBar for details.
virtual wxToolBarToolBase *AddTool(const int toolIndex, const wxBitmap& bitmap, const wxBitmap& pushedBitmap = wxNullBitmap,
const bool toggle = FALSE, const long xPos = -1, const long yPos = -1, wxObject *clientData = NULL,
const bool toggle = false, const long xPos = wxDefaultCoord, const long yPos = wxDefaultCoord, wxObject *clientData = NULL,
const wxString& helpString1 = wxT(""), const wxString& helpString2 = wxT(""));
// Adds a separator. See the documentation for wxToolBar for details.
@@ -209,7 +209,7 @@ public:
// Enables or disables the given tool.
virtual void EnableTool(int toolIndex, bool enable = TRUE);
virtual void EnableTool(int toolIndex, bool enable = true);
// Responds to size events, calling Layout.

View File

@@ -63,7 +63,7 @@ public:
void CreateLayout();
wxFrameLayout* GetLayout();
void SetLayout( wxFrameLayout* pLayout );
void SetToolUpdates( bool doToolUpdates = TRUE );
void SetToolUpdates( bool doToolUpdates = true );
// hooks for specific frame-views
@@ -123,7 +123,7 @@ public:
int GetActiveViewNo();
wxFrameView* GetActiveView();
wxNode* GetActiveViewNode();
wxObjectList::compatibility_iterator GetActiveViewNode();
wxFrameView* GetView( int viewNo );

View File

@@ -25,7 +25,7 @@ struct GCItem
wxList mRefs; // references to other nodes
};
inline void* gc_node_to_obj( wxNode* pGCNode )
inline void* gc_node_to_obj( wxObjectList::compatibility_iterator pGCNode )
{
return ( (GCItem*) (pGCNode->GetData()) )->mpObj;
}

View File

@@ -55,8 +55,8 @@ public:
int mInClientHintBorder; // default: 4 pixels
bool mAccelerationOn; // TRUE, if morph accelerates, otherwise morph
// speed is constant. Default: TRUE
bool mAccelerationOn; // true, if morph accelerates, otherwise morph
// speed is constant. Default: true
// TBD:: get/set methods for above members

View File

@@ -63,7 +63,7 @@ protected:
// labels for particular state
wxBitmap mFocusedBmp; // may not be always present -
// only if mHasFocusedBmp is TRUE
// only if mHasFocusedBmp is true
wxBitmap* mpDepressedImg;
wxBitmap* mpPressedImg;
@@ -104,7 +104,7 @@ protected:
wxPen& upperLeftSidePen,
wxPen& lowerRightSidePen );
// Returns TRUE if the given point is in the window.
// Returns true if the given point is in the window.
bool IsInWindow( int x, int y );
virtual void OnIdle(wxIdleEvent& event);
@@ -117,13 +117,13 @@ public:
wxNewBitmapButton( const wxBitmap& labelBitmap = wxNullBitmap,
const wxString& labelText = wxT(""),
int alignText = NB_ALIGN_TEXT_BOTTOM,
bool isFlat = TRUE,
bool isFlat = true,
// this is the default type of fired events
int firedEventType = wxEVT_COMMAND_MENU_SELECTED,
int marginX = NB_DEFAULT_MARGIN,
int marginY = NB_DEFAULT_MARGIN,
int textToLabelGap = 2,
bool isSticky = FALSE
bool isSticky = false
);
// Use this constructor if buttons have to be persistant
@@ -131,13 +131,13 @@ public:
const wxBitmapType bitmapFileType = wxBITMAP_TYPE_BMP,
const wxString& labelText = wxT(""),
int alignText = NB_ALIGN_TEXT_BOTTOM,
bool isFlat = TRUE,
bool isFlat = true,
// this is the default type of fired events
int firedEventType = wxEVT_COMMAND_MENU_SELECTED,
int marginX = NB_DEFAULT_MARGIN,
int marginY = NB_DEFAULT_MARGIN,
int textToLabelGap = 2,
bool isSticky = FALSE
bool isSticky = false
);
// Destructor.
@@ -169,8 +169,8 @@ public:
// Renders the label image.
virtual void RenderLabelImage( wxBitmap*& destBmp, wxBitmap* srcBmp,
bool isEnabled = TRUE,
bool isPressed = FALSE);
bool isEnabled = true,
bool isPressed = false);
// Renders label images.
virtual void RenderLabelImages();

View File

@@ -6,7 +6,7 @@
// Created: 02/10/98
// RCS-ID: $Id$
// Copyright: (c) Aleksandras Gluchovas
// Licence: wxWindows licence
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#ifndef __ROWLAYOUTPL_G__

View File

@@ -186,7 +186,7 @@ public:
// Set the position of the button.
void SetPos( const wxPoint& pos );
// Returns TRUE if the given position was over the button.
// Returns true if the given position was over the button.
bool HitTest( const wxPoint& pos );
// Responds to a left down event.
@@ -205,7 +205,7 @@ public:
// the desired appearance.
virtual void Draw( wxDC& dc );
// Returns TRUE if the button was clicked.
// Returns true if the button was clicked.
bool WasClicked();
// Reset the button.
@@ -214,7 +214,7 @@ public:
// Enable or disable the button.
void Enable( bool enable ) { mEnabled = enable; }
// Returns TRUE if this button is pressed.
// Returns true if this button is pressed.
bool IsPressed() { return mPressed; }
};

View File

@@ -6,7 +6,7 @@
// Created: 19/10/98
// RCS-ID: $Id$
// Copyright: (c) Aleksandras Gluchovas
// Licence: wxWindows licence
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#ifndef __UPDATESMGR_G__

View File

@@ -12,7 +12,7 @@
#define __WX_EDITLBOX_H__
#if defined(__GNUG__) && !defined(__APPLE__)
#pragma interface "editlbox.h"
#pragma interface "editlbox.h"
#endif
#include "wx/panel.h"
@@ -31,7 +31,7 @@ class WXDLLEXPORT wxListEvent;
class WXDLLIMPEXP_GIZMOS wxEditableListBox : public wxPanel
{
DECLARE_CLASS(wxEditableListBox);
DECLARE_CLASS(wxEditableListBox);
public:
wxEditableListBox(wxWindow *parent, wxWindowID id,

View File

@@ -33,18 +33,18 @@ enum wxLEDValueAlign
// wxLEDNumberCtrl
// ----------------------------------------------------------------------------
class WXDLLIMPEXP_GIZMOS wxLEDNumberCtrl : public wxControl
class WXDLLIMPEXP_GIZMOS wxLEDNumberCtrl : public wxControl
{
public:
// Constructors.
wxLEDNumberCtrl();
wxLEDNumberCtrl(wxWindow *parent, wxWindowID id = -1,
wxLEDNumberCtrl(wxWindow *parent, wxWindowID id = wxID_ANY,
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
long style = wxLED_ALIGN_LEFT | wxLED_DRAW_FADED);
// Create functions.
bool Create(wxWindow *parent, wxWindowID id = -1,
bool Create(wxWindow *parent, wxWindowID id = wxID_ANY,
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
long style = 0);
@@ -53,9 +53,9 @@ public:
bool GetDrawFaded() const { return m_DrawFaded; }
const wxString &GetValue() const { return m_Value; }
void SetAlignment(wxLEDValueAlign Alignment, bool Redraw = TRUE);
void SetDrawFaded(bool DrawFaded, bool Redraw = TRUE);
void SetValue(const wxString &Value, bool Redraw = TRUE);
void SetAlignment(wxLEDValueAlign Alignment, bool Redraw = true);
void SetDrawFaded(bool DrawFaded, bool Redraw = true);
void SetValue(const wxString &Value, bool Redraw = true);
private:
// Members.

View File

@@ -16,7 +16,7 @@
#define __WX_MULTICELL_H__
#if defined(__GNUG__) && !defined(__APPLE__)
#pragma interface "multicell.h"
#pragma interface "multicell.h"
#endif
#include "wx/gizmos/gizmos.h"
@@ -33,10 +33,10 @@
// ----------------------------------------------------------------------------
enum wxResizable
{
wxNOT_RESIZABLE = 0x00,
wxHORIZONTAL_RESIZABLE = 0x01,
wxVERTICAL_RESIZABLE = 0x10,
wxRESIZABLE = 0x11
wxNOT_RESIZABLE = 0x00,
wxHORIZONTAL_RESIZABLE = 0x01,
wxVERTICAL_RESIZABLE = 0x10,
wxRESIZABLE = 0x11
};
//---------------------------------------------------------------------------
@@ -49,33 +49,33 @@ enum wxResizable
class WXDLLIMPEXP_GIZMOS wxMultiCellItemHandle: public wxObject
{
DECLARE_CLASS(wxMultiCellItemHandle);
DECLARE_CLASS(wxMultiCellItemHandle);
protected:
int m_column;
int m_row;
int m_width;
int m_height;
wxResizable m_style;
wxSize m_fixedSize;
int m_alignment;
wxSize m_weight;
int m_column;
int m_row;
int m_width;
int m_height;
wxResizable m_style;
wxSize m_fixedSize;
int m_alignment;
wxSize m_weight;
public:
wxMultiCellItemHandle( int row, int column, int height = 1, int width = 1, wxSize size = wxDefaultSize, wxResizable style = wxNOT_RESIZABLE, wxSize weight = wxSize(1,1), int align = wxALIGN_NOT);
wxMultiCellItemHandle( int row, int column, wxSize size, wxResizable style = wxNOT_RESIZABLE, wxSize weight = wxSize(1,1), int align = wxALIGN_NOT);
wxMultiCellItemHandle( int row, int column, wxResizable style, wxSize weight = wxSize(1,1), int align = wxALIGN_NOT);
wxMultiCellItemHandle( int row, int column, int align);
int GetColumn();
int GetRow();
int GetWidth();
int GetHeight();
wxResizable GetStyle();
wxSize GetLocalSize();
int GetAlignment();
wxSize GetWeight();
wxMultiCellItemHandle( int row, int column, int height = 1, int width = 1, wxSize size = wxDefaultSize, wxResizable style = wxNOT_RESIZABLE, wxSize weight = wxSize(1,1), int align = wxALIGN_NOT);
wxMultiCellItemHandle( int row, int column, wxSize size, wxResizable style = wxNOT_RESIZABLE, wxSize weight = wxSize(1,1), int align = wxALIGN_NOT);
wxMultiCellItemHandle( int row, int column, wxResizable style, wxSize weight = wxSize(1,1), int align = wxALIGN_NOT);
wxMultiCellItemHandle( int row, int column, int align);
int GetColumn();
int GetRow();
int GetWidth();
int GetHeight();
wxResizable GetStyle();
wxSize GetLocalSize();
int GetAlignment();
wxSize GetWeight();
private:
void Initialize( int row, int column, int height = 1, int width = 1, wxSize size = wxDefaultSize, wxResizable style = wxNOT_RESIZABLE, wxSize weight = wxSize(1,1), int align = wxALIGN_NOT);
void Initialize( int row, int column, int height = 1, int width = 1, wxSize size = wxDefaultSize, wxResizable style = wxNOT_RESIZABLE, wxSize weight = wxSize(1,1), int align = wxALIGN_NOT);
};
@@ -85,43 +85,43 @@ private:
class WXDLLIMPEXP_GIZMOS wxMultiCellSizer : virtual public wxSizer
{
DECLARE_CLASS(wxMultiCellSizer);
DECLARE_CLASS(wxMultiCellSizer);
protected:
wxSize m_cell_count;
wxSize m_cell_count;
public:
wxMultiCellSizer(wxSize & size);
wxMultiCellSizer(int rows, int cols);
~wxMultiCellSizer();
wxMultiCellSizer(wxSize & size);
wxMultiCellSizer(int rows, int cols);
~wxMultiCellSizer();
virtual void RecalcSizes();
virtual wxSize CalcMin();
bool SetDefaultCellSize(wxSize size);
bool SetColumnWidth(int column, int colSize = 5, bool expandable = FALSE);
bool SetRowHeight(int row, int rowSize = 5, bool expandable = FALSE);
bool EnableGridLines(wxWindow *win);
bool SetGridPen(wxPen *pen);
void OnPaint(wxDC& dc);
virtual void RecalcSizes();
virtual wxSize CalcMin();
bool SetDefaultCellSize(wxSize size);
bool SetColumnWidth(int column, int colSize = 5, bool expandable = false);
bool SetRowHeight(int row, int rowSize = 5, bool expandable = false);
bool EnableGridLines(wxWindow *win);
bool SetGridPen(wxPen *pen);
void OnPaint(wxDC& dc);
private:
void GetMinimums();
int Sum(int *array, int x);
void GetMinimums();
int Sum(int *array, int x);
private:
int *m_maxHeight;
int *m_maxWidth;
int *m_rowStretch;
int *m_colStretch;
wxSize **m_weights;
wxSize **m_minSizes;
int m_maxWeights;
wxSize m_defaultCellSize;
wxWindow *m_win; // usually used for debugging
wxPen *m_pen;
int *m_maxHeight;
int *m_maxWidth;
int *m_rowStretch;
int *m_colStretch;
wxSize **m_weights;
wxSize **m_minSizes;
int m_maxWeights;
wxSize m_defaultCellSize;
wxWindow *m_win; // usually used for debugging
wxPen *m_pen;
void DrawGridLines(wxDC& dc);
void Initialize(wxSize size);
void DrawGridLines(wxDC& dc);
void Initialize(wxSize size);
};
@@ -136,23 +136,23 @@ class wxCell;
class WXDLLIMPEXP_GIZMOS wxMultiCellCanvas : public wxFlexGridSizer
{
public:
wxMultiCellCanvas(wxWindow *parent, int numRows = 2, int numCols = 2);
void Add(wxWindow *win, unsigned int row, unsigned int col);
wxMultiCellCanvas(wxWindow *parent, int numRows = 2, int numCols = 2);
void Add(wxWindow *win, unsigned int row, unsigned int col);
void Resize(int numRows, int numCols);
int MaxRows()
{
return m_maxRows;
};
int MaxCols()
{
return m_maxCols;
};
void CalculateConstraints();
void SetMinCellSize(const wxSize size)
{
m_minCellSize = size;
};
void Resize(int numRows, int numCols);
int MaxRows()
{
return m_maxRows;
};
int MaxCols()
{
return m_maxCols;
};
void CalculateConstraints();
void SetMinCellSize(const wxSize size)
{
m_minCellSize = size;
};
/* These are to hide Add() method of parents and to avoid Borland warning about hiding virtual functions */
void Add( wxWindow *window, int proportion = 0, int flag = 0, int border = 0, wxObject* userData = NULL )
@@ -165,11 +165,11 @@ public:
{ wxFlexGridSizer::Add( item); }
private:
wxWindow *m_parent;
unsigned int m_maxRows, m_maxCols;
wxWindow *m_parent;
unsigned int m_maxRows, m_maxCols;
wxSize m_minCellSize;
wxCell **m_cells;
wxSize m_minCellSize;
wxCell **m_cells;
};
#endif

View File

@@ -72,7 +72,7 @@ public:
virtual void SetScrollbars(int pixelsPerUnitX, int pixelsPerUnitY,
int noUnitsX, int noUnitsY,
int xPos = 0, int yPos = 0,
bool noRefresh = FALSE );
bool noRefresh = false );
// In case we're using the generic tree control.
// Get the view start
@@ -127,7 +127,7 @@ class WXDLLIMPEXP_GIZMOS wxTreeCompanionWindow: public wxWindow
public:
DECLARE_CLASS(wxTreeCompanionWindow)
wxTreeCompanionWindow(wxWindow* parent, wxWindowID id = -1,
wxTreeCompanionWindow(wxWindow* parent, wxWindowID id = wxID_ANY,
const wxPoint& pos = wxDefaultPosition,
const wxSize& sz = wxDefaultSize,
long style = 0);
@@ -166,7 +166,7 @@ class WXDLLIMPEXP_GIZMOS wxThinSplitterWindow: public wxSplitterWindow
public:
DECLARE_DYNAMIC_CLASS(wxThinSplitterWindow)
wxThinSplitterWindow(wxWindow* parent, wxWindowID id = -1,
wxThinSplitterWindow(wxWindow* parent, wxWindowID id = wxID_ANY,
const wxPoint& pos = wxDefaultPosition,
const wxSize& sz = wxDefaultSize,
long style = wxSP_3D | wxCLIP_CHILDREN);
@@ -210,7 +210,7 @@ class WXDLLIMPEXP_GIZMOS wxSplitterScrolledWindow: public wxScrolledWindow
public:
DECLARE_DYNAMIC_CLASS(wxSplitterScrolledWindow)
wxSplitterScrolledWindow(wxWindow* parent, wxWindowID id = -1,
wxSplitterScrolledWindow(wxWindow* parent, wxWindowID id = wxID_ANY,
const wxPoint& pos = wxDefaultPosition,
const wxSize& sz = wxDefaultSize,
long style = 0);

View File

@@ -125,7 +125,7 @@ class WXDLLIMPEXP_MMEDIA wxSoundStream {
// Returns the best size for IO calls
virtual wxUint32 GetBestSize() const { return 1024; }
// SetSoundFormat returns TRUE when the format can be handled.
// SetSoundFormat returns true when the format can be handled.
virtual bool SetSoundFormat(const wxSoundFormatBase& format);
// GetSoundFormat returns the current sound format.
@@ -146,7 +146,7 @@ class WXDLLIMPEXP_MMEDIA wxSoundStream {
wxUint32 GetLastAccess() const { return m_lastcount; }
// This is only useful for device (I think).
virtual bool QueueFilled() const { return TRUE; }
virtual bool QueueFilled() const { return true; }
protected:
// Current sound format

View File

@@ -98,7 +98,7 @@ public:
// You should use this function to test whether this file codec can read
// the stream you passed to it.
virtual bool CanRead() { return FALSE; }
virtual bool CanRead() { return false; }
protected:
wxSoundRouterStream m_codec;

View File

@@ -23,7 +23,7 @@
class wxSoundFormatPcm : public wxSoundFormatBase {
public:
wxSoundFormatPcm(wxUint32 srate = 22500, wxUint8 bps = 8,
wxUint16 channels = 2, bool sign = TRUE,
wxUint16 channels = 2, bool sign = true,
int order = wxLITTLE_ENDIAN);
~wxSoundFormatPcm();

View File

@@ -5,7 +5,7 @@
// Created: 1997
// Updated: 1998
// Copyright: (C) 1997, 1998, Guilhem Lavaux
// CVS: $Id$
// CVS: $Id$
// License: wxWindows license
// /////////////////////////////////////////////////////////////////////////////
/* Real -*- C++ -*- */
@@ -68,7 +68,7 @@ public:
// Dtor
virtual ~wxVideoBaseDriver();
// Usual functions ... They all return FALSE in case of errors.
// Usual functions ... They all return false in case of errors.
virtual bool Play() = 0;
virtual bool Stop() = 0;
virtual bool Pause() = 0;
@@ -79,7 +79,7 @@ public:
virtual bool GetSize(wxSize& size) const = 0;
// Test the capability of the driver to handle the specified type
virtual bool IsCapable(wxVideoType WXUNUSED(v_type)) const { return FALSE; }
virtual bool IsCapable(wxVideoType WXUNUSED(v_type)) const { return false; }
// Return the video codec name
virtual wxString GetMovieCodec() const = 0;

View File

@@ -9,10 +9,6 @@
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#if defined(__GNUG__) && !defined(__APPLE__)
#pragma interface "msg.h"
#endif
#ifndef _WX_MSG_H_
#define _WX_MSG_H_

View File

@@ -6,7 +6,7 @@
// Created: 12/07/98
// RCS-ID: $Id$
// Copyright: (c) Julian Smart
// Licence: wxWindows licence
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#ifndef _OGL_BASIC_H_
@@ -145,7 +145,7 @@ class WXDLLIMPEXP_OGL wxShapeEvtHandler: public wxObject, public wxClientDataCon
virtual void OnDelete();
virtual void OnDraw(wxDC& dc);
virtual void OnDrawContents(wxDC& dc);
virtual void OnDrawBranches(wxDC& dc, bool erase = FALSE);
virtual void OnDrawBranches(wxDC& dc, bool erase = false);
virtual void OnMoveLinks(wxDC& dc);
virtual void OnErase(wxDC& dc);
virtual void OnEraseContents(wxDC& dc);
@@ -154,8 +154,8 @@ class WXDLLIMPEXP_OGL wxShapeEvtHandler: public wxObject, public wxClientDataCon
virtual void OnLeftDoubleClick(double x, double y, int keys = 0, int attachment = 0);
virtual void OnRightClick(double x, double y, int keys = 0, int attachment = 0);
virtual void OnSize(double x, double y);
virtual bool OnMovePre(wxDC& dc, double x, double y, double old_x, double old_y, bool display = TRUE);
virtual void OnMovePost(wxDC& dc, double x, double y, double old_x, double old_y, bool display = TRUE);
virtual bool OnMovePre(wxDC& dc, double x, double y, double old_x, double old_y, bool display = true);
virtual void OnMovePost(wxDC& dc, double x, double y, double old_x, double old_y, bool display = true);
virtual void OnDragLeft(bool draw, double x, double y, int keys=0, int attachment = 0); // Erase if draw false
virtual void OnBeginDragLeft(double x, double y, int keys=0, int attachment = 0);
@@ -166,7 +166,7 @@ class WXDLLIMPEXP_OGL wxShapeEvtHandler: public wxObject, public wxClientDataCon
virtual void OnDrawOutline(wxDC& dc, double x, double y, double w, double h);
virtual void OnDrawControlPoints(wxDC& dc);
virtual void OnEraseControlPoints(wxDC& dc);
virtual void OnMoveLink(wxDC& dc, bool moveControlPoints = TRUE);
virtual void OnMoveLink(wxDC& dc, bool moveControlPoints = true);
// Control points ('handles') redirect control to the actual shape, to make it easier
// to override sizing behaviour.
@@ -234,8 +234,8 @@ class WXDLLIMPEXP_OGL wxShape: public wxShapeEvtHandler
virtual void OnLeftDoubleClick(double WXUNUSED(x), double WXUNUSED(y), int WXUNUSED(keys) = 0, int WXUNUSED(attachment) = 0) {}
virtual void OnRightClick(double x, double y, int keys = 0, int attachment = 0);
virtual void OnSize(double x, double y);
virtual bool OnMovePre(wxDC& dc, double x, double y, double old_x, double old_y, bool display = TRUE);
virtual void OnMovePost(wxDC& dc, double x, double y, double old_x, double old_y, bool display = TRUE);
virtual bool OnMovePre(wxDC& dc, double x, double y, double old_x, double old_y, bool display = true);
virtual void OnMovePost(wxDC& dc, double x, double y, double old_x, double old_y, bool display = true);
virtual void OnDragLeft(bool draw, double x, double y, int keys=0, int attachment = 0); // Erase if draw false
virtual void OnBeginDragLeft(double x, double y, int keys=0, int attachment = 0);
@@ -268,24 +268,24 @@ class WXDLLIMPEXP_OGL wxShape: public wxShapeEvtHandler
virtual void MakeMandatoryControlPoints();
virtual void ResetMandatoryControlPoints();
inline virtual bool Recompute() { return TRUE; };
inline virtual bool Recompute() { return true; };
// Calculate size recursively, if size changes. Size might depend on children.
inline virtual void CalculateSize() { };
virtual void Select(bool select = TRUE, wxDC* dc = NULL);
virtual void SetHighlight(bool hi = TRUE, bool recurse = FALSE);
virtual void Select(bool select = true, wxDC* dc = NULL);
virtual void SetHighlight(bool hi = true, bool recurse = false);
inline virtual bool IsHighlighted() const { return m_highlighted; };
virtual bool Selected() const;
virtual bool AncestorSelected() const;
void SetSensitivityFilter(int sens = OP_ALL, bool recursive = FALSE);
void SetSensitivityFilter(int sens = OP_ALL, bool recursive = false);
int GetSensitivityFilter() const { return m_sensitivity; }
void SetDraggable(bool drag, bool recursive = FALSE);
void SetDraggable(bool drag, bool recursive = false);
inline void SetFixedSize(bool x, bool y) { m_fixedWidth = x; m_fixedHeight = y; };
inline void GetFixedSize(bool *x, bool *y) const { *x = m_fixedWidth; *y = m_fixedHeight; };
inline bool GetFixedWidth() const { return m_fixedWidth; }
inline bool GetFixedHeight() const { return m_fixedHeight; }
inline void SetSpaceAttachments(bool sp) { m_spaceAttachments = sp; };
inline bool GetSpaceAttachments() const { return m_spaceAttachments; };
void SetShadowMode(int mode, bool redraw = FALSE);
void SetShadowMode(int mode, bool redraw = false);
inline int GetShadowMode() const { return m_shadowMode; }
virtual bool HitTest(double x, double y, int *attachment, double *distance);
inline void SetCentreResize(bool cr) { m_centreResize = cr; }
@@ -305,19 +305,19 @@ class WXDLLIMPEXP_OGL wxShape: public wxShapeEvtHandler
virtual void Show(bool show);
virtual bool IsShown() const { return m_visible; }
virtual void Move(wxDC& dc, double x1, double y1, bool display = TRUE);
virtual void Move(wxDC& dc, double x1, double y1, bool display = true);
virtual void Erase(wxDC& dc);
virtual void EraseContents(wxDC& dc);
virtual void Draw(wxDC& dc);
virtual void Flash();
virtual void MoveLinks(wxDC& dc);
virtual void DrawContents(wxDC& dc); // E.g. for drawing text label
virtual void SetSize(double x, double y, bool recursive = TRUE);
virtual void SetSize(double x, double y, bool recursive = true);
virtual void SetAttachmentSize(double x, double y);
void Attach(wxShapeCanvas *can);
void Detach();
inline virtual bool Constrain() { return FALSE; } ;
inline virtual bool Constrain() { return false; } ;
void AddLine(wxLineShape *line, wxShape *other,
int attachFrom = 0, int attachTo = 0,
@@ -413,13 +413,13 @@ class WXDLLIMPEXP_OGL wxShape: public wxShapeEvtHandler
virtual wxRealPoint CalcSimpleAttachment(const wxRealPoint& pt1, const wxRealPoint& pt2,
int nth, int noArcs, wxLineShape* line);
// Returns TRUE if pt1 <= pt2 in the sense that one point comes before another on an
// Returns true if pt1 <= pt2 in the sense that one point comes before another on an
// edge of the shape.
// attachmentPoint is the attachment point (= side) in question.
virtual bool AttachmentSortTest(int attachmentPoint, const wxRealPoint& pt1, const wxRealPoint& pt2);
virtual void EraseLinks(wxDC& dc, int attachment = -1, bool recurse = FALSE);
virtual void DrawLinks(wxDC& dc, int attachment = -1, bool recurse = FALSE);
virtual void EraseLinks(wxDC& dc, int attachment = -1, bool recurse = false);
virtual void DrawLinks(wxDC& dc, int attachment = -1, bool recurse = false);
virtual bool MoveLineToNewAttachment(wxDC& dc, wxLineShape *to_move,
double x, double y);
@@ -462,8 +462,8 @@ class WXDLLIMPEXP_OGL wxShape: public wxShapeEvtHandler
virtual int GetAttachmentLineCount(int attachment) const;
// Draw the branches (not the actual arcs though)
virtual void OnDrawBranches(wxDC& dc, int attachment, bool erase = FALSE);
virtual void OnDrawBranches(wxDC& dc, bool erase = FALSE);
virtual void OnDrawBranches(wxDC& dc, int attachment, bool erase = false);
virtual void OnDrawBranches(wxDC& dc, bool erase = false);
// Branching attachment settings
inline void SetBranchNeckLength(int len) { m_branchNeckLength = len; }
@@ -490,13 +490,13 @@ class WXDLLIMPEXP_OGL wxShape: public wxShapeEvtHandler
// This is really to distinguish between lines and other images.
// For lines, want to pass drag to canvas, since lines tend to prevent
// dragging on a canvas (they get in the way.)
virtual bool Draggable() const { return TRUE; }
virtual bool Draggable() const { return true; }
// Returns TRUE if image is a descendant of this image
// Returns true if image is a descendant of this image
bool HasDescendant(wxShape *image);
// Creates a copy of this shape.
wxShape *CreateNewCopy(bool resetMapping = TRUE, bool recompute = TRUE);
wxShape *CreateNewCopy(bool resetMapping = true, bool recompute = true);
// Does the copying for this object
virtual void Copy(wxShape& copy);
@@ -549,11 +549,11 @@ class WXDLLIMPEXP_OGL wxShape: public wxShapeEvtHandler
bool m_draggable;
int m_attachmentMode; // 0 for no attachments, 1 if using normal attachments,
// 2 for branching attachments
bool m_spaceAttachments; // TRUE if lines at one side should be spaced
bool m_spaceAttachments; // true if lines at one side should be spaced
bool m_fixedWidth;
bool m_fixedHeight;
bool m_centreResize; // Default is to resize keeping the centre constant (TRUE)
bool m_drawHandles; // Don't draw handles if FALSE, usually TRUE
bool m_centreResize; // Default is to resize keeping the centre constant (true)
bool m_drawHandles; // Don't draw handles if false, usually true
wxList m_children; // In case it's composite
wxShape* m_parent; // In case it's a child
int m_formatMode;
@@ -589,7 +589,7 @@ class WXDLLIMPEXP_OGL wxPolygonShape: public wxShape
double x2, double y2,
double *x3, double *y3);
bool HitTest(double x, double y, int *attachment, double *distance);
void SetSize(double x, double y, bool recursive = TRUE);
void SetSize(double x, double y, bool recursive = true);
void OnDraw(wxDC& dc);
void OnDrawOutline(wxDC& dc, double x, double y, double w, double h);
@@ -661,7 +661,7 @@ class WXDLLIMPEXP_OGL wxRectangleShape: public wxShape
double x2, double y2,
double *x3, double *y3);
void OnDraw(wxDC& dc);
void SetSize(double x, double y, bool recursive = TRUE);
void SetSize(double x, double y, bool recursive = true);
void SetCornerRadius(double rad); // If > 0, rounded corners
double GetCornerRadius() const { return m_cornerRadius; }
@@ -715,7 +715,7 @@ class WXDLLIMPEXP_OGL wxEllipseShape: public wxShape
double *x3, double *y3);
void OnDraw(wxDC& dc);
void SetSize(double x, double y, bool recursive = TRUE);
void SetSize(double x, double y, bool recursive = true);
#if wxUSE_PROLOGIO
void WriteAttributes(wxExpr *clause);

View File

@@ -6,7 +6,7 @@
// Created: 12/07/98
// RCS-ID: $Id$
// Copyright: (c) Julian Smart
// Licence: wxWindows licence
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#ifndef _OGL_BASICP_H_
@@ -73,7 +73,7 @@ public:
double m_yoffset;
wxShape* m_shape;
wxCursor* m_oldCursor;
bool m_eraseObject; // If TRUE, erases object before dragging handle.
bool m_eraseObject; // If true, erases object before dragging handle.
/*
* Store original top-left, bottom-right coordinates

View File

@@ -6,7 +6,7 @@
// Created: 12/07/98
// RCS-ID: $Id$
// Copyright: (c) Julian Smart
// Licence: wxWindows licence
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#ifndef _OGL_BITMAP_H_
@@ -35,7 +35,7 @@ class WXDLLIMPEXP_OGL wxBitmapShape: public wxRectangleShape
// Does the copying for this object
void Copy(wxShape& copy);
void SetSize(double w, double h, bool recursive = TRUE);
void SetSize(double w, double h, bool recursive = true);
inline wxBitmap& GetBitmap() const { return (wxBitmap&) m_bitmap; }
void SetBitmap(const wxBitmap& bm);
inline void SetFilename(const wxString& f) { m_filename = f; };

View File

@@ -6,7 +6,7 @@
// Created: 12/07/98
// RCS-ID: $Id$
// Copyright: (c) Julian Smart
// Licence: wxWindows licence
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#ifndef _OGL_CANVAS_H_
@@ -34,7 +34,7 @@ class WXDLLIMPEXP_OGL wxShapeCanvas: public wxScrolledWindow
{
DECLARE_DYNAMIC_CLASS(wxShapeCanvas)
public:
wxShapeCanvas(wxWindow *parent = NULL, wxWindowID id = -1,
wxShapeCanvas(wxWindow *parent = NULL, wxWindowID id = wxID_ANY,
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
long style = wxBORDER | wxRETAINED,

View File

@@ -6,7 +6,7 @@
// Created: 12/07/98
// RCS-ID: $Id$
// Copyright: (c) Julian Smart
// Licence: wxWindows licence
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#ifndef _OGL_COMPOSIT_H_
@@ -36,16 +36,16 @@ public:
void OnDraw(wxDC& dc);
void OnDrawContents(wxDC& dc);
void OnErase(wxDC& dc);
bool OnMovePre(wxDC& dc, double x, double y, double oldX, double oldY, bool display = TRUE);
bool OnMovePre(wxDC& dc, double x, double y, double oldX, double oldY, bool display = true);
void OnDragLeft(bool draw, double x, double y, int keys, int attachment = 0);
void OnBeginDragLeft(double x, double y, int keys, int attachment = 0);
void OnEndDragLeft(double x, double y, int keys, int attachment = 0);
void OnRightClick(double x, double y, int keys, int attachment = 0);
void SetSize(double w, double h, bool recursive = TRUE);
void SetSize(double w, double h, bool recursive = true);
// Returns TRUE if it settled down
// Returns true if it settled down
bool Recompute();
// New members
@@ -69,7 +69,7 @@ public:
// in case it had to find it recursively.
wxOGLConstraint *FindConstraint(long id, wxCompositeShape **actualComposite = NULL);
// Returns TRUE if something changed
// Returns true if something changed
bool Constrain();
// Make this composite into a container by creating one wxDivisionShape
@@ -93,7 +93,7 @@ public:
// of the composite that is not in the divisions list.
wxShape *FindContainerImage();
// Returns TRUE if division is a descendant of this container
// Returns true if division is a descendant of this container
bool ContainsDivision(wxDivisionShape *division);
inline wxList& GetDivisions() const { return (wxList&) m_divisions; }
@@ -133,7 +133,7 @@ class WXDLLIMPEXP_OGL wxDivisionShape: public wxCompositeShape
void OnDraw(wxDC& dc);
void OnDrawContents(wxDC& dc);
bool OnMovePre(wxDC& dc, double x, double y, double oldX, double oldY, bool display = TRUE);
bool OnMovePre(wxDC& dc, double x, double y, double oldX, double oldY, bool display = true);
void OnDragLeft(bool draw, double x, double y, int keys, int attachment = 0);
void OnBeginDragLeft(double x, double y, int keys, int attachment = 0);
void OnEndDragLeft(double x, double y, int keys, int attachment = 0);
@@ -142,7 +142,7 @@ class WXDLLIMPEXP_OGL wxDivisionShape: public wxCompositeShape
// Don't want this kind of composite to resize its subdiagrams, so
// override composite's SetSize.
void SetSize(double w, double h, bool recursive = TRUE);
void SetSize(double w, double h, bool recursive = true);
// Similarly for calculating size: it's fixed at whatever SetSize
// set it to, not in terms of children.
@@ -163,12 +163,12 @@ class WXDLLIMPEXP_OGL wxDivisionShape: public wxCompositeShape
// Divide horizontally (wxHORIZONTAL) or vertically (wxVERTICAL)
bool Divide(int direction);
// Resize adjoining divisions at the given side. If test is TRUE,
// Resize adjoining divisions at the given side. If test is true,
// just see whether it's possible for each adjoining region,
// returning FALSE if it's not.
// returning false if it's not.
bool ResizeAdjoining(int side, double newPos, bool test);
// Adjust a side, returning FALSE if it's not physically possible.
// Adjust a side, returning false if it's not physically possible.
bool AdjustLeft(double left, bool test);
bool AdjustTop(double top, bool test);
bool AdjustRight(double right, bool test);

View File

@@ -6,7 +6,7 @@
// Created: 12/07/98
// RCS-ID: $Id$
// Copyright: (c) Julian Smart
// Licence: wxWindows licence
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#ifndef _OGL_CONSTRNT_H_
@@ -69,7 +69,7 @@ class WXDLLIMPEXP_OGL wxOGLConstraint: public wxObject
wxOGLConstraint(int type, wxShape *constraining, wxList& constrained);
~wxOGLConstraint();
// Returns TRUE if anything changed
// Returns true if anything changed
bool Evaluate();
inline void SetSpacing(double x, double y) { m_xSpacing = x; m_ySpacing = y; };
bool Equals(double a, double b);

View File

@@ -6,7 +6,7 @@
// Created: 12/07/98
// RCS-ID: $Id$
// Copyright: (c) Julian Smart
// Licence: wxWindows licence
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#ifndef _OGL_DIVIDED_H_
@@ -39,7 +39,7 @@ class WXDLLIMPEXP_OGL wxDividedShape: public wxRectangleShape
void OnDraw(wxDC& dc);
void OnDrawContents(wxDC& dc);
void SetSize(double w, double h, bool recursive = TRUE);
void SetSize(double w, double h, bool recursive = true);
void MakeControlPoints();
void ResetControlPoints();

View File

@@ -6,7 +6,7 @@
// Created: 12/07/98
// RCS-ID: $Id$
// Copyright: (c) Julian Smart
// Licence: wxWindows licence
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#ifndef _OGL_DRAWN_H_
@@ -100,8 +100,8 @@ public:
virtual void SetClippingRect(const wxRect& rect);
virtual void DestroyClippingRect();
virtual void SetPen(wxPen* pen, bool isOutline = FALSE); // TODO: eventually, just store GDI object attributes, not actual
virtual void SetBrush(wxBrush* brush, bool isFill = FALSE); // pens/brushes etc.
virtual void SetPen(wxPen* pen, bool isOutline = false); // TODO: eventually, just store GDI object attributes, not actual
virtual void SetBrush(wxBrush* brush, bool isFill = false); // pens/brushes etc.
virtual void SetFont(wxFont* font);
virtual void SetTextColour(const wxColour& colour);
virtual void SetBackgroundColour(const wxColour& colour);
@@ -155,7 +155,7 @@ class WXDLLIMPEXP_OGL wxDrawnShape: public wxRectangleShape
// Get current rotation
inline double GetRotation() const { return m_rotation; }
void SetSize(double w, double h, bool recursive = TRUE);
void SetSize(double w, double h, bool recursive = true);
bool LoadFromMetaFile(const wxString& filename);
inline void SetSaveToFile(bool save) { m_saveToFile = save; }
@@ -188,8 +188,8 @@ class WXDLLIMPEXP_OGL wxDrawnShape: public wxRectangleShape
virtual void SetClippingRect(const wxRect& rect);
virtual void DestroyClippingRect();
virtual void SetDrawnPen(wxPen* pen, bool isOutline = FALSE); // TODO: eventually, just store GDI object attributes, not actual
virtual void SetDrawnBrush(wxBrush* brush, bool isFill = FALSE); // pens/brushes etc.
virtual void SetDrawnPen(wxPen* pen, bool isOutline = false); // TODO: eventually, just store GDI object attributes, not actual
virtual void SetDrawnBrush(wxBrush* brush, bool isFill = false); // pens/brushes etc.
virtual void SetDrawnFont(wxFont* font);
virtual void SetDrawnTextColour(const wxColour& colour);
virtual void SetDrawnBackgroundColour(const wxColour& colour);

View File

@@ -6,7 +6,7 @@
// Created: 12/07/98
// RCS-ID: $Id$
// Copyright: (c) Julian Smart
// Licence: wxWindows licence
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#ifndef _OGL_DRAWNP_H_
@@ -70,9 +70,9 @@ public:
#endif
inline int GetOp() const { return m_op; }
// Draw an outline using the current operation. By default, return FALSE (not drawn)
// Draw an outline using the current operation. By default, return false (not drawn)
virtual bool OnDrawOutline(wxDC& WXUNUSED(dc), double WXUNUSED(x), double WXUNUSED(y), double WXUNUSED(w), double WXUNUSED(h),
double WXUNUSED(oldW), double WXUNUSED(oldH)) { return FALSE; }
double WXUNUSED(oldW), double WXUNUSED(oldH)) { return false; }
// Get the perimeter point using this data
virtual bool GetPerimeterPoint(double WXUNUSED(x1), double WXUNUSED(y1),
@@ -80,7 +80,7 @@ public:
double *WXUNUSED(x3), double *WXUNUSED(y3),
double WXUNUSED(xOffset), double WXUNUSED(yOffset),
int WXUNUSED(attachmentMode))
{ return FALSE; }
{ return false; }
protected:
int m_op;

View File

@@ -6,7 +6,7 @@
// Created: 12/07/98
// RCS-ID: $Id$
// Copyright: (c) Julian Smart
// Licence: wxWindows licence
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#ifndef _OGL_LINES_H_
@@ -83,7 +83,7 @@ class WXDLLIMPEXP_OGL wxArrowHead: public wxObject
double m_spacing; // Spacing from the last arrowhead
double m_arrowSize; // Length of arrowhead
wxString m_arrowName; // Name of arrow
bool m_saveToFile; // TRUE if we want to save custom arrowheads to file.
bool m_saveToFile; // true if we want to save custom arrowheads to file.
wxPseudoMetaFile* m_metaFile; // Pseudo metafile if this is a custom arrowhead
long m_id; // identifier
};
@@ -102,14 +102,14 @@ class WXDLLIMPEXP_OGL wxLineShape: public wxShape
// correct position
// moveControlPoints must be disabled when a control point is being
// dragged.
void OnMoveLink(wxDC& dc, bool moveControlPoints = TRUE);
bool OnMovePre(wxDC& dc, double x, double y, double old_x, double old_y, bool display = TRUE);
void OnMoveLink(wxDC& dc, bool moveControlPoints = true);
bool OnMovePre(wxDC& dc, double x, double y, double old_x, double old_y, bool display = true);
void OnDraw(wxDC& dc);
void OnDrawContents(wxDC& dc);
void OnDrawControlPoints(wxDC& dc);
void OnEraseControlPoints(wxDC& dc);
void OnErase(wxDC& dc);
virtual bool OnMoveControlPoint(int WXUNUSED(which), double WXUNUSED(x), double WXUNUSED(y)) { return FALSE; }
virtual bool OnMoveControlPoint(int WXUNUSED(which), double WXUNUSED(x), double WXUNUSED(y)) { return false; }
virtual bool OnMoveMiddleControlPoint(wxDC& dc, wxLineControlPoint* lpt, const wxRealPoint& pt);
virtual bool OnLabelMovePre(wxDC& dc, wxLabelShape* labelShape, double x, double y, double old_x, double old_y, bool display);
void OnDrawOutline(wxDC& dc, double x, double y, double w, double h);
@@ -176,9 +176,9 @@ class WXDLLIMPEXP_OGL wxLineShape: public wxShape
virtual void OnSizingEndDragLeft(wxControlPoint* pt, double x, double y, int keys=0, int attachment = 0);
// Override select, to create/delete temporary label-moving objects
void Select(bool select = TRUE, wxDC* dc = NULL);
void Select(bool select = true, wxDC* dc = NULL);
// Set to spline (TRUE) or line (FALSE)
// Set to spline (true) or line (false)
inline void SetSpline(bool spl) { m_isSpline = spl; }
inline bool IsSpline() const { return m_isSpline; }
@@ -204,7 +204,7 @@ class WXDLLIMPEXP_OGL wxLineShape: public wxShape
// This is really to distinguish between lines and other images.
// For lines, want to pass drag to canvas, since lines tend to prevent
// dragging on a canvas (they get in the way.)
virtual bool Draggable() const { return FALSE; }
virtual bool Draggable() const { return false; }
// Does the copying for this object
void Copy(wxShape& copy);
@@ -221,7 +221,7 @@ class WXDLLIMPEXP_OGL wxLineShape: public wxShape
// E.g. reference list: a b c d e
// Current line list: a d
// Add c, then line list is: a c d
// If no legal arrowhead position, return FALSE.
// If no legal arrowhead position, return false.
// Assume reference list is for one end only, since it potentially defines
// the ordering for any one of the 3 positions. So we don't check
// the reference list for arrowhead position.

View File

@@ -6,7 +6,7 @@
// Created: 12/07/98
// RCS-ID: $Id$
// Copyright: (c) Julian Smart
// Licence: wxWindows licence
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#ifndef _OGL_LINESP_H_
@@ -68,7 +68,7 @@ class WXDLLIMPEXP_OGL wxLabelShape: public wxRectangleShape
void OnDragLeft(bool draw, double x, double y, int keys=0, int attachment = 0);
void OnBeginDragLeft(double x, double y, int keys=0, int attachment = 0);
void OnEndDragLeft(double x, double y, int keys=0, int attachment = 0);
bool OnMovePre(wxDC& dc, double x, double y, double old_x, double old_y, bool display = TRUE);
bool OnMovePre(wxDC& dc, double x, double y, double old_x, double old_y, bool display = true);
public:
wxLineShape* m_lineShape;

View File

@@ -7,7 +7,7 @@
// Created: 12/07/98
// RCS-ID: $Id$
// Copyright: (c) Julian Smart
// Licence: wxWindows licence
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#ifndef _MFUTILS_H_
@@ -21,253 +21,253 @@
#include <wx/metafile.h>
#ifndef GetRValue
#define GetRValue(rgb) ((unsigned char)(rgb))
#define GetGValue(rgb) ((unsigned char)(((int)(rgb)) >> 8))
#define GetBValue(rgb) ((unsigned char)((rgb)>>16))
#define GetRValue(rgb) ((unsigned char)(rgb))
#define GetGValue(rgb) ((unsigned char)(((int)(rgb)) >> 8))
#define GetBValue(rgb) ((unsigned char)((rgb)>>16))
#endif
/* Metafile Functions */
// some compilers have them in their include files
#ifndef META_SETBKCOLOR
#define META_SETBKCOLOR 0x0201
#define META_SETBKCOLOR 0x0201
#endif
#ifndef META_SETBKMODE
#define META_SETBKMODE 0x0102
#define META_SETBKMODE 0x0102
#endif
#ifndef META_SETMAPMODE
#define META_SETMAPMODE 0x0103
#define META_SETMAPMODE 0x0103
#endif
#ifndef META_SETROP2
#define META_SETROP2 0x0104
#define META_SETROP2 0x0104
#endif
#ifndef META_SETRELABS
#define META_SETRELABS 0x0105
#define META_SETRELABS 0x0105
#endif
#ifndef META_SETPOLYFILLMODE
#define META_SETPOLYFILLMODE 0x0106
#define META_SETPOLYFILLMODE 0x0106
#endif
#ifndef META_SETSTRETCHBLTMODE
#define META_SETSTRETCHBLTMODE 0x0107
#define META_SETSTRETCHBLTMODE 0x0107
#endif
#ifndef META_SETTEXTCHAREXTRA
#define META_SETTEXTCHAREXTRA 0x0108
#define META_SETTEXTCHAREXTRA 0x0108
#endif
#ifndef META_SETTEXTCOLOR
#define META_SETTEXTCOLOR 0x0209
#define META_SETTEXTCOLOR 0x0209
#endif
#ifndef META_SETTEXTJUSTIFICATION
#define META_SETTEXTJUSTIFICATION 0x020A
#define META_SETTEXTJUSTIFICATION 0x020A
#endif
#ifndef META_SETWINDOWORG
#define META_SETWINDOWORG 0x020B
#define META_SETWINDOWORG 0x020B
#endif
#ifndef META_SETWINDOWEXT
#define META_SETWINDOWEXT 0x020C
#define META_SETWINDOWEXT 0x020C
#endif
#ifndef META_SETVIEWPORTORG
#define META_SETVIEWPORTORG 0x020D
#define META_SETVIEWPORTORG 0x020D
#endif
#ifndef META_SETVIEWPORTEXT
#define META_SETVIEWPORTEXT 0x020E
#define META_SETVIEWPORTEXT 0x020E
#endif
#ifndef META_OFFSETWINDOWORG
#define META_OFFSETWINDOWORG 0x020F
#define META_OFFSETWINDOWORG 0x020F
#endif
#ifndef META_SCALEWINDOWEXT
#define META_SCALEWINDOWEXT 0x0410
#define META_SCALEWINDOWEXT 0x0410
#endif
#ifndef META_OFFSETVIEWPORTORG
#define META_OFFSETVIEWPORTORG 0x0211
#define META_OFFSETVIEWPORTORG 0x0211
#endif
#ifndef META_SCALEVIEWPORTEXT
#define META_SCALEVIEWPORTEXT 0x0412
#define META_SCALEVIEWPORTEXT 0x0412
#endif
#ifndef META_LINETO
#define META_LINETO 0x0213
#define META_LINETO 0x0213
#endif
#ifndef META_MOVETO
#define META_MOVETO 0x0214
#define META_MOVETO 0x0214
#endif
#ifndef META_EXCLUDECLIPRECT
#define META_EXCLUDECLIPRECT 0x0415
#define META_EXCLUDECLIPRECT 0x0415
#endif
#ifndef META_INTERSECTCLIPRECT
#define META_INTERSECTCLIPRECT 0x0416
#define META_INTERSECTCLIPRECT 0x0416
#endif
#ifndef META_ARC
#define META_ARC 0x0817
#define META_ARC 0x0817
#endif
#ifndef META_ELLIPSE
#define META_ELLIPSE 0x0418
#define META_ELLIPSE 0x0418
#endif
#ifndef META_FLOODFILL
#define META_FLOODFILL 0x0419
#define META_FLOODFILL 0x0419
#endif
#ifndef META_PIE
#define META_PIE 0x081A
#define META_PIE 0x081A
#endif
#ifndef META_RECTANGLE
#define META_RECTANGLE 0x041B
#define META_RECTANGLE 0x041B
#endif
#ifndef META_ROUNDRECT
#define META_ROUNDRECT 0x061C
#define META_ROUNDRECT 0x061C
#endif
#ifndef META_PATBLT
#define META_PATBLT 0x061D
#define META_PATBLT 0x061D
#endif
#ifndef META_SAVEDC
#define META_SAVEDC 0x001E
#define META_SAVEDC 0x001E
#endif
#ifndef META_SETPIXEL
#define META_SETPIXEL 0x041F
#define META_SETPIXEL 0x041F
#endif
#ifndef META_OFFSETCLIPRGN
#define META_OFFSETCLIPRGN 0x0220
#define META_OFFSETCLIPRGN 0x0220
#endif
#ifndef META_TEXTOUT
#define META_TEXTOUT 0x0521
#define META_TEXTOUT 0x0521
#endif
#ifndef META_BITBLT
#define META_BITBLT 0x0922
#define META_BITBLT 0x0922
#endif
#ifndef META_STRETCHBLT
#define META_STRETCHBLT 0x0B23
#define META_STRETCHBLT 0x0B23
#endif
#ifndef META_POLYGON
#define META_POLYGON 0x0324
#define META_POLYGON 0x0324
#endif
#ifndef META_POLYLINE
#define META_POLYLINE 0x0325
#define META_POLYLINE 0x0325
#endif
#ifndef META_ESCAPE
#define META_ESCAPE 0x0626
#define META_ESCAPE 0x0626
#endif
#ifndef META_RESTOREDC
#define META_RESTOREDC 0x0127
#define META_RESTOREDC 0x0127
#endif
#ifndef META_FILLREGION
#define META_FILLREGION 0x0228
#define META_FILLREGION 0x0228
#endif
#ifndef META_FRAMEREGION
#define META_FRAMEREGION 0x0429
#define META_FRAMEREGION 0x0429
#endif
#ifndef META_INVERTREGION
#define META_INVERTREGION 0x012A
#define META_INVERTREGION 0x012A
#endif
#ifndef META_PAINTREGION
#define META_PAINTREGION 0x012B
#define META_PAINTREGION 0x012B
#endif
#ifndef META_SELECTCLIPREGION
#define META_SELECTCLIPREGION 0x012C
#define META_SELECTCLIPREGION 0x012C
#endif
#ifndef META_SELECTOBJECT
#define META_SELECTOBJECT 0x012D
#define META_SELECTOBJECT 0x012D
#endif
#ifndef META_SETTEXTALIGN
#define META_SETTEXTALIGN 0x012E
#define META_SETTEXTALIGN 0x012E
#endif
#ifndef META_DRAWTEXT
#define META_DRAWTEXT 0x062F
#define META_DRAWTEXT 0x062F
#endif
#ifndef META_CHORD
#define META_CHORD 0x0830
#define META_CHORD 0x0830
#endif
#ifndef META_SETMAPPERFLAGS
#define META_SETMAPPERFLAGS 0x0231
#define META_SETMAPPERFLAGS 0x0231
#endif
#ifndef META_EXTTEXTOUT
#define META_EXTTEXTOUT 0x0a32
#define META_EXTTEXTOUT 0x0a32
#endif
#ifndef META_SETDIBTODEV
#define META_SETDIBTODEV 0x0d33
#define META_SETDIBTODEV 0x0d33
#endif
#ifndef META_SELECTPALETTE
#define META_SELECTPALETTE 0x0234
#define META_SELECTPALETTE 0x0234
#endif
#ifndef META_REALIZEPALETTE
#define META_REALIZEPALETTE 0x0035
#define META_REALIZEPALETTE 0x0035
#endif
#ifndef META_ANIMATEPALETTE
#define META_ANIMATEPALETTE 0x0436
#define META_ANIMATEPALETTE 0x0436
#endif
#ifndef META_SETPALENTRIES
#define META_SETPALENTRIES 0x0037
#define META_SETPALENTRIES 0x0037
#endif
#ifndef META_POLYPOLYGON
#define META_POLYPOLYGON 0x0538
#define META_POLYPOLYGON 0x0538
#endif
#ifndef META_RESIZEPALETTE
#define META_RESIZEPALETTE 0x0139
#define META_RESIZEPALETTE 0x0139
#endif
#ifndef META_DIBBITBLT
#define META_DIBBITBLT 0x0940
#define META_DIBBITBLT 0x0940
#endif
#ifndef META_DIBSTRETCHBLT
#define META_DIBSTRETCHBLT 0x0b41
#define META_DIBSTRETCHBLT 0x0b41
#endif
#ifndef META_DIBCREATEPATTERNBRUSH
#define META_DIBCREATEPATTERNBRUSH 0x0142
#define META_DIBCREATEPATTERNBRUSH 0x0142
#endif
#ifndef META_STRETCHDIB
#define META_STRETCHDIB 0x0f43
#define META_STRETCHDIB 0x0f43
#endif
#ifndef META_EXTFLOODFILL
#define META_EXTFLOODFILL 0x0548
#define META_EXTFLOODFILL 0x0548
#endif
#ifndef META_RESETDC
#define META_RESETDC 0x014C
#define META_RESETDC 0x014C
#endif
#ifndef META_STARTDOC
#define META_STARTDOC 0x014D
#define META_STARTDOC 0x014D
#endif
#ifndef META_STARTPAGE
#define META_STARTPAGE 0x004F
#define META_STARTPAGE 0x004F
#endif
#ifndef META_ENDPAGE
#define META_ENDPAGE 0x0050
#define META_ENDPAGE 0x0050
#endif
#ifndef META_ABORTDOC
#define META_ABORTDOC 0x0052
#define META_ABORTDOC 0x0052
#endif
#ifndef META_ENDDOC
#define META_ENDDOC 0x005E
#define META_ENDDOC 0x005E
#endif
#ifndef META_DELETEOBJECT
#define META_DELETEOBJECT 0x01f0
#define META_DELETEOBJECT 0x01f0
#endif
#ifndef META_CREATEPALETTE
#define META_CREATEPALETTE 0x00f7
#define META_CREATEPALETTE 0x00f7
#endif
#ifndef META_CREATEBRUSH
#define META_CREATEBRUSH 0x00F8
#define META_CREATEBRUSH 0x00F8
#endif
#ifndef META_CREATEPATTERNBRUSH
#define META_CREATEPATTERNBRUSH 0x01F9
#define META_CREATEPATTERNBRUSH 0x01F9
#endif
#ifndef META_CREATEPENINDIRECT
#define META_CREATEPENINDIRECT 0x02FA
#define META_CREATEPENINDIRECT 0x02FA
#endif
#ifndef META_CREATEFONTINDIRECT
#define META_CREATEFONTINDIRECT 0x02FB
#define META_CREATEFONTINDIRECT 0x02FB
#endif
#ifndef META_CREATEBRUSHINDIRECT
#define META_CREATEBRUSHINDIRECT 0x02FC
#define META_CREATEBRUSHINDIRECT 0x02FC
#endif
#ifndef META_CREATEBITMAPINDIRECT
#define META_CREATEBITMAPINDIRECT 0x02FD
#define META_CREATEBITMAPINDIRECT 0x02FD
#endif
#ifndef META_CREATEBITMAP
#define META_CREATEBITMAP 0x06FE
#define META_CREATEBITMAP 0x06FE
#endif
#ifndef META_CREATEREGION
#define META_CREATEREGION 0x06FF
#define META_CREATEREGION 0x06FF
#endif
/* Background Modes */
@@ -280,25 +280,25 @@
/* Pen Styles */
#ifndef PS_SOLID
#define PS_SOLID 0
#define PS_SOLID 0
#endif
#ifndef PS_DASH
#define PS_DASH 1
#define PS_DASH 1
#endif
#ifndef PS_DOT
#define PS_DOT 2
#define PS_DOT 2
#endif
#ifndef PS_DASHDOT
#define PS_DASHDOT 3
#define PS_DASHDOT 3
#endif
#ifndef PS_DASHDOTDOT
#define PS_DASHDOTDOT 4
#define PS_DASHDOTDOT 4
#endif
#ifndef PS_NULL
#define PS_NULL 5
#define PS_NULL 5
#endif
#ifndef PS_INSIDEFRAME
#define PS_INSIDEFRAME 6
#define PS_INSIDEFRAME 6
#endif
/* PitchAndFamily family values (high 4 bits) */
@@ -323,25 +323,25 @@
/* Brush Styles */
#ifndef BS_SOLID
#define BS_SOLID 0
#define BS_SOLID 0
#endif
#ifndef BS_NULL
#define BS_NULL 1
#define BS_NULL 1
#endif
#ifndef BS_HOLLOW
#define BS_HOLLOW BS_NULL
#define BS_HOLLOW BS_NULL
#endif
#ifndef BS_HATCHED
#define BS_HATCHED 2
#define BS_HATCHED 2
#endif
#ifndef BS_PATTERN
#define BS_PATTERN 3
#define BS_PATTERN 3
#endif
#ifndef BS_INDEXED
#define BS_INDEXED 4
#define BS_INDEXED 4
#endif
#ifndef BS_DIBPATTERN
#define BS_DIBPATTERN 5
#define BS_DIBPATTERN 5
#endif
/* Hatch Styles */

View File

@@ -6,7 +6,7 @@
// Created: 12/07/98
// RCS-ID: $Id$
// Copyright: (c) Julian Smart
// Licence: wxWindows licence
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#ifndef _OGL_MISC_H_

View File

@@ -6,7 +6,7 @@
// Created: 12/07/98
// RCS-ID: $Id$
// Copyright: (c) Julian Smart
// Licence: wxWindows licence
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#ifndef _OGL_OGL_H_

View File

@@ -6,7 +6,7 @@
// Created: 12/07/98
// RCS-ID: $Id$
// Copyright: (c) Julian Smart
// Licence: wxWindows licence
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#ifndef _OGL_OGLDIAG_H_

View File

@@ -1311,14 +1311,14 @@ public:
%pythonAppend wxStyledTextCtrl "self._setOORInfo(self)"
%pythonAppend wxStyledTextCtrl() ""
wxStyledTextCtrl(wxWindow *parent, wxWindowID id,
wxStyledTextCtrl(wxWindow *parent, wxWindowID id=wxID_ANY,
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize, long style = 0,
const wxString& name = wxPySTCNameStr);
%name(PreStyledTextCtrl) wxStyledTextCtrl();
#else
wxStyledTextCtrl(wxWindow *parent, wxWindowID id,
wxStyledTextCtrl(wxWindow *parent, wxWindowID id=wxID_ANY,
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize, long style = 0,
const wxString& name = wxSTCNameStr);
@@ -1327,7 +1327,7 @@ public:
#endif
void Create(wxWindow *parent, wxWindowID id,
void Create(wxWindow *parent, wxWindowID id=wxID_ANY,
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize, long style = 0,
const wxString& name = wxSTCNameStr);
@@ -2866,7 +2866,6 @@ BEGIN_DECLARE_EVENT_TYPES()
DECLARE_EXPORTED_EVENT_TYPE(WXDLLIMPEXP_STC, wxEVT_STC_MACRORECORD, 1660)
DECLARE_EXPORTED_EVENT_TYPE(WXDLLIMPEXP_STC, wxEVT_STC_MARGINCLICK, 1661)
DECLARE_EXPORTED_EVENT_TYPE(WXDLLIMPEXP_STC, wxEVT_STC_NEEDSHOWN, 1662)
DECLARE_EXPORTED_EVENT_TYPE(WXDLLIMPEXP_STC, wxEVT_STC_POSCHANGED, 1663)
DECLARE_EXPORTED_EVENT_TYPE(WXDLLIMPEXP_STC, wxEVT_STC_PAINTED, 1664)
DECLARE_EXPORTED_EVENT_TYPE(WXDLLIMPEXP_STC, wxEVT_STC_USERLISTSELECTION, 1665)
DECLARE_EXPORTED_EVENT_TYPE(WXDLLIMPEXP_STC, wxEVT_STC_URIDROPPED, 1666)
@@ -2895,7 +2894,6 @@ END_DECLARE_EVENT_TYPES()
wxEVT_STC_MACRORECORD,
wxEVT_STC_MARGINCLICK,
wxEVT_STC_NEEDSHOWN,
wxEVT_STC_POSCHANGED,
wxEVT_STC_PAINTED,
wxEVT_STC_USERLISTSELECTION,
wxEVT_STC_URIDROPPED,
@@ -2929,7 +2927,6 @@ typedef void (wxEvtHandler::*wxStyledTextEventFunction)(wxStyledTextEvent&);
#define EVT_STC_MACRORECORD(id, fn) DECLARE_EVENT_TABLE_ENTRY( wxEVT_STC_MACRORECORD, id, -1, (wxObjectEventFunction) (wxEventFunction) wxStaticCastEvent( wxStyledTextEventFunction, & fn ), (wxObject *) NULL ),
#define EVT_STC_MARGINCLICK(id, fn) DECLARE_EVENT_TABLE_ENTRY( wxEVT_STC_MARGINCLICK, id, -1, (wxObjectEventFunction) (wxEventFunction) wxStaticCastEvent( wxStyledTextEventFunction, & fn ), (wxObject *) NULL ),
#define EVT_STC_NEEDSHOWN(id, fn) DECLARE_EVENT_TABLE_ENTRY( wxEVT_STC_NEEDSHOWN, id, -1, (wxObjectEventFunction) (wxEventFunction) wxStaticCastEvent( wxStyledTextEventFunction, & fn ), (wxObject *) NULL ),
#define EVT_STC_POSCHANGED(id, fn) DECLARE_EVENT_TABLE_ENTRY( wxEVT_STC_POSCHANGED, id, -1, (wxObjectEventFunction) (wxEventFunction) wxStaticCastEvent( wxStyledTextEventFunction, & fn ), (wxObject *) NULL ),
#define EVT_STC_PAINTED(id, fn) DECLARE_EVENT_TABLE_ENTRY( wxEVT_STC_PAINTED, id, -1, (wxObjectEventFunction) (wxEventFunction) wxStaticCastEvent( wxStyledTextEventFunction, & fn ), (wxObject *) NULL ),
#define EVT_STC_USERLISTSELECTION(id, fn) DECLARE_EVENT_TABLE_ENTRY( wxEVT_STC_USERLISTSELECTION, id, -1, (wxObjectEventFunction) (wxEventFunction) wxStaticCastEvent( wxStyledTextEventFunction, & fn ), (wxObject *) NULL ),
#define EVT_STC_URIDROPPED(id, fn) DECLARE_EVENT_TABLE_ENTRY( wxEVT_STC_URIDROPPED, id, -1, (wxObjectEventFunction) (wxEventFunction) wxStaticCastEvent( wxStyledTextEventFunction, & fn ), (wxObject *) NULL ),

View File

@@ -24,7 +24,7 @@
class WXDLLIMPEXP_XRC wxGaugeXmlHandler : public wxXmlResourceHandler
{
DECLARE_DYNAMIC_CLASS(wxGaugeXmlHandler)
DECLARE_DYNAMIC_CLASS(wxGaugeXmlHandler)
enum
{
wxGAUGE_DEFAULT_RANGE = 100

View File

@@ -31,7 +31,7 @@ private:
class WXDLLIMPEXP_XRC wxMenuBarXmlHandler : public wxXmlResourceHandler
{
DECLARE_DYNAMIC_CLASS(wxMenuBarXmlHandler)
DECLARE_DYNAMIC_CLASS(wxMenuBarXmlHandler)
public:
wxMenuBarXmlHandler();
virtual wxObject *DoCreateResource();

View File

@@ -22,7 +22,7 @@
class WXDLLIMPEXP_XRC wxScrollBarXmlHandler : public wxXmlResourceHandler
{
DECLARE_DYNAMIC_CLASS(wxScrollBarXmlHandler)
DECLARE_DYNAMIC_CLASS(wxScrollBarXmlHandler)
enum
{
wxSL_DEFAULT_VALUE = 0,

View File

@@ -33,7 +33,7 @@ public:
private:
bool m_isInside;
bool m_isGBS;
wxSizer *m_parentSizer;
bool IsSizerNode(wxXmlNode *node);
@@ -52,7 +52,7 @@ private:
wxGBSpan GetGBSpan(const wxString& param);
wxSizerItem* MakeSizerItem();
void SetSizerItemAttributes(wxSizerItem* sitem);
void AddSizerItem(wxSizerItem* sitem);
void AddSizerItem(wxSizerItem* sitem);
};

View File

@@ -22,7 +22,7 @@
class WXDLLIMPEXP_XRC wxSliderXmlHandler : public wxXmlResourceHandler
{
DECLARE_DYNAMIC_CLASS(wxSliderXmlHandler)
DECLARE_DYNAMIC_CLASS(wxSliderXmlHandler)
enum
{
wxSL_DEFAULT_VALUE = 0,

View File

@@ -21,7 +21,7 @@
#if wxUSE_SPINBTN
class WXDLLIMPEXP_XRC wxSpinButtonXmlHandler : public wxXmlResourceHandler
{
DECLARE_DYNAMIC_CLASS(wxSpinButtonXmlHandler)
DECLARE_DYNAMIC_CLASS(wxSpinButtonXmlHandler)
enum
{
wxSP_DEFAULT_VALUE = 0,
@@ -39,7 +39,7 @@ public:
#if wxUSE_SPINCTRL
class WXDLLIMPEXP_XRC wxSpinCtrlXmlHandler : public wxXmlResourceHandler
{
DECLARE_DYNAMIC_CLASS(wxSpinCtrlXmlHandler)
DECLARE_DYNAMIC_CLASS(wxSpinCtrlXmlHandler)
enum
{
wxSP_DEFAULT_VALUE = 0,

View File

@@ -93,7 +93,8 @@ WX_DECLARE_USER_EXPORTED_OBJARRAY(wxXmlResourceDataRecord,
enum wxXmlResourceFlags
{
wxXRC_USE_LOCALE = 1,
wxXRC_NO_SUBCLASSING = 2
wxXRC_NO_SUBCLASSING = 2,
wxXRC_NO_RELOADING = 4
};
// This class holds XML resources from one or more .xml files
@@ -240,7 +241,7 @@ protected:
bool UpdateResources();
// Finds a resource (calls UpdateResources) and returns a node containing it.
wxXmlNode *FindResource(const wxString& name, const wxString& classname, bool recursive = FALSE);
wxXmlNode *FindResource(const wxString& name, const wxString& classname, bool recursive = false);
// Helper function: finds a resource (calls UpdateResources) and returns a node containing it.
wxXmlNode *DoFindResource(wxXmlNode *parent, const wxString& name, const wxString& classname, bool recursive);
@@ -329,8 +330,8 @@ public:
// were filled.
virtual wxObject *DoCreateResource() = 0;
// Returns TRUE if it understands this node and can create
// a resource from it, FALSE otherwise.
// Returns true if it understands this node and can create
// a resource from it, false otherwise.
virtual bool CanHandle(wxXmlNode *node) = 0;
// Sets the parent resource.
@@ -385,7 +386,7 @@ protected:
// - replaces \n, \r, \t by respective chars (according to C syntax)
// - replaces _ by & and __ by _ (needed for _File => &File because of XML)
// - calls wxGetTranslations (unless disabled in wxXmlResource)
wxString GetText(const wxString& param, bool translate = TRUE);
wxString GetText(const wxString& param, bool translate = true);
// Returns the XRCID.
int GetID();
@@ -393,8 +394,8 @@ protected:
// Returns the resource name.
wxString GetName();
// Gets a bool flag (1, t, yes, on, true are TRUE, everything else is FALSE).
bool GetBool(const wxString& param, bool defaultv = FALSE);
// Gets a bool flag (1, t, yes, on, true are true, everything else is false).
bool GetBool(const wxString& param, bool defaultv = false);
// Gets the integer value from the parameter.
long GetLong( const wxString& param, long defaultv = 0 );
@@ -428,7 +429,7 @@ protected:
void SetupWindow(wxWindow *wnd);
// Creates children.
void CreateChildren(wxObject *parent, bool this_hnd_only = FALSE);
void CreateChildren(wxObject *parent, bool this_hnd_only = false);
// Helper function.
void CreateChildrenPrivately(wxObject *parent, wxXmlNode *rootnode = NULL);

View File

@@ -93,7 +93,9 @@ bool MyApp::OnInit()
// Associate the menu bar with the frame
frame->SetMenuBar(menu_bar);
#if wxUSE_STATUSBAR
frame->CreateStatusBar();
#endif // wxUSE_STATUSBAR
frame->Show(TRUE);

View File

@@ -75,7 +75,7 @@ bool MyApp::OnInit(void)
m_mainFrame->Show(true);
SetTopWindow(m_mainFrame);
return true;
}
@@ -266,7 +266,7 @@ void MyApp::PropertyFormTest(bool useDialog)
panel->SetConstraints(c);
}
#endif
// Add items to the panel
wxButton *okButton = new wxButton(panel, wxID_OK, _T("OK"), wxDefaultPosition,
wxSize(80, 26), 0, wxDefaultValidator, _T("ok"));
@@ -306,8 +306,8 @@ void MyApp::PropertyFormTest(bool useDialog)
okButton->SetConstraints(c);
// The name of this text item matches the "fred" property
wxTextCtrl *text = new wxTextCtrl(panel, wxID_ANY, _T("Fred"), wxDefaultPosition,
wxSize( 200, wxDefaultSize.y), 0, wxDefaultValidator, _T("fred"));
wxTextCtrl *text = new wxTextCtrl(panel, wxID_ANY, _T("Fred"), wxDefaultPosition,
wxSize( 200, wxDefaultCoord), 0, wxDefaultValidator, _T("fred"));
c = new wxLayoutConstraints;
c->left.SameAs(panel, wxLeft, 4);

View File

@@ -103,12 +103,14 @@ bool MyApp::OnInit(void)
#endif
// Create the main frame window
frame = new MyFrame( (wxFrame *) NULL, -1,
frame = new MyFrame( (wxFrame *) NULL, wxID_ANY,
wxT("wxWidgets Resource Sample"),
wxPoint(-1, -1), wxSize(300, 250) );
wxDefaultPosition, wxSize(300, 250) );
#if wxUSE_STATUSBAR
// Give it a status line
frame->CreateStatusBar(2);
#endif // wxUSE_STATUSBAR
wxMenuBar *menu_bar = wxResourceCreateMenuBar(wxT("menu1"));
@@ -116,13 +118,13 @@ bool MyApp::OnInit(void)
frame->SetMenuBar(menu_bar);
// Make a panel
frame->panel = new MyPanel( frame, -1, wxPoint(0, 0), wxSize(400, 400),
frame->panel = new MyPanel( frame, wxID_ANY, wxPoint(0, 0), wxSize(400, 400),
0, wxT("MyMainFrame") );
frame->Show(TRUE);
frame->Show(true);
SetTopWindow(frame);
return TRUE;
return true;
}
MyApp::~MyApp()
@@ -179,7 +181,7 @@ void MyFrame::OnAbout( wxCommandEvent& WXUNUSED(event) )
void MyFrame::OnQuit( wxCommandEvent& WXUNUSED(event) )
{
Close(TRUE);
Close(true);
}
void MyFrame::OnTestDialog(wxCommandEvent& WXUNUSED(event) )
@@ -197,7 +199,7 @@ void MyFrame::OnTestDialog(wxCommandEvent& WXUNUSED(event) )
dialog->ShowModal();
}
dialog->Close(TRUE);
dialog->Close(true);
}
BEGIN_EVENT_TABLE(MyDialog, wxDialog)

View File

@@ -41,10 +41,12 @@ IMPLEMENT_APP(MyApp)
bool MyApp::OnInit()
{
// Create the main frame window
MyFrame* frame = new MyFrame(NULL, _T("Tree Test"), wxPoint(-1, -1), wxSize(400, 550));
MyFrame* frame = new MyFrame(NULL, _T("Tree Test"), wxDefaultPosition, wxSize(400, 550));
#if wxUSE_STATUSBAR
// Give it a status line
frame->CreateStatusBar(2);
#endif // wxUSE_STATUSBAR
// Give it an icon
#ifdef __WINDOWS__
@@ -83,12 +85,14 @@ bool MyApp::OnInit()
dc.SetFont(font);
TreeTest(*myTree, dc);
frame->Show(TRUE);
frame->Show(true);
#if wxUSE_STATUSBAR
frame->SetStatusText(_T("Hello, tree!"));
#endif // wxUSE_STATUSBAR
// Return the main frame window
return TRUE;
return true;
}
int MyApp::OnExit()
@@ -148,20 +152,20 @@ END_EVENT_TABLE()
// Define my frame constructor
MyFrame::MyFrame(wxWindow *parent, const wxString& title, const wxPoint& pos, const wxSize& size):
wxFrame(parent, -1, title, pos, size)
wxFrame(parent, wxID_ANY, title, pos, size)
{
}
void MyFrame::OnQuit(wxCommandEvent& WXUNUSED(event))
{
Close(TRUE);
Close(true);
}
void MyFrame::OnLeftRight(wxCommandEvent& WXUNUSED(event))
{
if (myTree)
{
myTree->SetOrientation(FALSE);
myTree->SetOrientation(false);
wxClientDC dc(canvas);
wxFont font(10, wxROMAN, wxNORMAL, wxBOLD);
dc.SetFont(font);
@@ -174,7 +178,7 @@ void MyFrame::OnTopBottom(wxCommandEvent& WXUNUSED(event))
{
if (myTree)
{
myTree->SetOrientation(TRUE);
myTree->SetOrientation(true);
wxClientDC dc(canvas);
wxFont font(10, wxROMAN, wxNORMAL, wxBOLD);
dc.SetFont(font);
@@ -199,7 +203,7 @@ END_EVENT_TABLE()
// Define a constructor for my canvas
MyCanvas::MyCanvas(wxWindow *parent):
wxScrolledWindow(parent, -1)
wxScrolledWindow(parent, wxID_ANY)
{
SetBackgroundColour(*wxWHITE);
}

View File

@@ -49,7 +49,7 @@
char wxDummyChar;
IMPLEMENT_APP (MyApp)
IMPLEMENT_APP (MyApp)
bool MyApp::OnInit(void)
{
@@ -69,9 +69,11 @@ bool MyApp::OnInit(void)
frame->SetMenuBar(menu_bar);
#if wxUSE_STATUSBAR
frame->CreateStatusBar(3);
#endif // wxUSE_STATUSBAR
frame->Show(TRUE);
frame->Show(true);
frame->mpClientWnd->Refresh();
@@ -83,7 +85,7 @@ The ONLY purpose is to demonstrate self-layouting toolbars,\nflat-bitmapped-butt
(cbRowDragPlugin & cbBarHintsPlugin)\n\n\
BTW, disabled images and label-text are rendered at run-time") );
return TRUE;
return true;
}
/***** Implementation for class MyFrame *****/
@@ -97,7 +99,7 @@ BEGIN_EVENT_TABLE( MyFrame, wxFrame )
END_EVENT_TABLE()
void MyFrame::OnLoad( wxCommandEvent& WXUNUSED(event) )
{
{
wxMessageBox(_T("Hey - you found a BIG question-mark !!"));
}
@@ -115,7 +117,7 @@ wxTextCtrl* MyFrame::CreateTextCtrl( const wxString& value )
{
wxTextCtrl* pCtrl =
new wxTextCtrl( this, -1, value,
new wxTextCtrl( this, wxID_ANY, value,
wxDefaultPosition, wxSize(0,0), wxTE_MULTILINE );
pCtrl->SetBackgroundColour( wxColour( 255,255,255 ) );
@@ -124,7 +126,7 @@ wxTextCtrl* MyFrame::CreateTextCtrl( const wxString& value )
}
MyFrame::MyFrame(wxFrame *frame)
: wxFrame( frame, -1, _("wxWidgets 2.0 wxFrameLayout Test Application"), wxDefaultPosition,
: wxFrame( frame, wxID_ANY, _("wxWidgets 2.0 wxFrameLayout Test Application"), wxDefaultPosition,
wxSize( 700, 500 ),
wxCLIP_CHILDREN | wxMINIMIZE_BOX | wxMAXIMIZE_BOX |
wxTHICK_FRAME | wxSYSTEM_MENU | wxCAPTION,
@@ -138,7 +140,7 @@ MyFrame::MyFrame(wxFrame *frame)
cbCommonPaneProperties props;
mpLayout->GetPaneProperties( props );
props.mRealTimeUpdatesOn = FALSE; // real-time OFF!!!
props.mRealTimeUpdatesOn = false; // real-time OFF!!!
mpLayout->SetPaneProperties( props, wxALL_PANES );
#endif
@@ -161,7 +163,7 @@ MyFrame::MyFrame(wxFrame *frame)
cbDimInfo sizes0( 200,45, // when docked horizontally
200,85, // when docked vertically
175,35, // when floated
FALSE, // the bar is not fixed-size
false, // the bar is not fixed-size
4, // vertical gap (bar border)
4 // horizontal gap (bar border)
);
@@ -169,7 +171,7 @@ MyFrame::MyFrame(wxFrame *frame)
cbDimInfo sizes1( 150,35, // when docked horizontally
150,85, // when docked vertically
175,35, // when floated
TRUE, // the bar is not fixed-size
true, // the bar is not fixed-size
4, // vertical gap (bar border)
4 // horizontal gap (bar border)
);
@@ -177,7 +179,7 @@ MyFrame::MyFrame(wxFrame *frame)
cbDimInfo sizes2( 195,35, // when docked horizontally
185,37, // when docked vertically
195,35, // when floated
TRUE, // the bar is not fixed-size
true, // the bar is not fixed-size
4, // vertical gap (bar border)
4, // horizontal gap (bar border)
new cbDynToolBarDimHandler()
@@ -188,7 +190,7 @@ MyFrame::MyFrame(wxFrame *frame)
0, // insert into 0th row (vert. position)
0, // offset from the start of row (in pixels)
_("InfoViewer1"), // name to refer in customization pop-ups
TRUE
true
);
mpLayout->AddBar( CreateTextCtrl(_("Bye")), // bar window
@@ -196,7 +198,7 @@ MyFrame::MyFrame(wxFrame *frame)
1, // insert into 0th row (vert. position)
0, // offset from the start of row (in pixels)
_("InfoViewer2"), // name to refer in customization pop-ups
TRUE
true
);
mpLayout->AddBar( CreateTextCtrl(_("Fixed0")), // bar window
@@ -204,12 +206,12 @@ MyFrame::MyFrame(wxFrame *frame)
0, // insert into 0th row (vert. position)
0, // offset from the start of row (in pixels)
_("ToolBar1"), // name to refer in customization pop-ups
TRUE
true
);
wxDynamicToolBar* pToolBar = new wxDynamicToolBar();
pToolBar->Create( this, -1 );
pToolBar->Create( this, wxID_ANY );
// 1001-1006 ids of command events fired by added tool-buttons
@@ -217,7 +219,9 @@ MyFrame::MyFrame(wxFrame *frame)
pToolBar->AddSeparator();
pToolBar->AddTool( 1002, wxString(wxT(BMP_DIR)) + wxT("open.bmp") );
pToolBar->AddTool( 1003, wxString(wxT(BMP_DIR)) + wxT("save.bmp") );
pToolBar->AddSeparator(new wxMySeparatorLine(pToolBar, -1));
#if wxUSE_STATLINE
pToolBar->AddSeparator(new wxMySeparatorLine(pToolBar, wxID_ANY));
#endif // wxUSE_STATLINE
pToolBar->AddTool( 1004, wxString(wxT(BMP_DIR)) + wxT("cut.bmp") );
pToolBar->AddTool( 1005, wxString(wxT(BMP_DIR)) + wxT("copy.bmp") );
pToolBar->AddTool( 1006, wxString(wxT(BMP_DIR)) + wxT("paste.bmp") );
@@ -228,10 +232,10 @@ MyFrame::MyFrame(wxFrame *frame)
0, // insert into 0th row (vert. position)
0, // offset from the start of row (in pixels)
wxT("ToolBar2"), // name to refer in customization pop-ups
FALSE
false
);
mpLayout->EnableFloating( TRUE ); // off, thinking about wxGtk...
mpLayout->EnableFloating( true ); // off, thinking about wxGtk...
}
MyFrame::~MyFrame()
@@ -241,6 +245,7 @@ MyFrame::~MyFrame()
}
#define LINE_SIZE 3
#if wxUSE_STATLINE
void wxMySeparatorLine::DoSetSize( int x, int y,
int width, int height,
int sizeFlags)
@@ -258,3 +263,4 @@ void wxMySeparatorLine::DoSetSize( int x, int y,
wxStaticLine::DoSetSize(x, y, width, height, sizeFlags);
}
#endif // wxUSE_STATLINE

View File

@@ -43,7 +43,7 @@ public:
MyFrame(wxFrame *frame);
virtual ~MyFrame();
bool OnClose(void) { Show(FALSE); return TRUE; }
bool OnClose(void) { Show(false); return true; }
void OnLoad( wxCommandEvent& event );
void OnSave( wxCommandEvent& event );
@@ -52,6 +52,7 @@ public:
DECLARE_EVENT_TABLE()
};
#if wxUSE_STATLINE
/*
* Quick example of your own Separator class...
*/
@@ -69,6 +70,7 @@ protected:
int width, int height,
int sizeFlags = wxSIZE_AUTO);
};
#endif // wxUSE_STATLINE
#endif

View File

@@ -96,7 +96,9 @@ bool MyApp::OnInit(void)
menu_bar->Append(file_menu, _("&File"));
menu_bar->Append(active_menu, _("Active &Layout"));
#if wxUSE_STATUSBAR
frame->CreateStatusBar(3);
#endif // wxUSE_STATUSBAR
frame->SetMenuBar(menu_bar);
@@ -203,7 +205,7 @@ MyFrame::MyFrame(wxFrame *frame, const wxChar *title, int x, int y, int w, int h
// Create all layouts
for( i = 0; i != MAX_LAYOUTS; ++i )
{
{
CreateLayout( i );
}
// hide others
@@ -489,17 +491,17 @@ wxTreeCtrl* MyFrame::CreateTreeCtrl( const wxString& label )
{
wxTreeCtrl* pTree = new wxTreeCtrl( mpInternalFrm, wxID_ANY );
const wxTreeItemId rootid = pTree->AppendItem( (long)0, label, 0);
const wxTreeItemId rootid = pTree->AddRoot(label);
if ( label[0] != 'X' )
if ( label.StartsWith(_T("X")) )
{
pTree->AppendItem(rootid, _("Leaf1"), 0);
pTree->AppendItem(rootid, _("Leaf2"), 0);
pTree->AppendItem(rootid, _("Scully"));
pTree->AppendItem(rootid, _("Mulder"));
}
else
{
pTree->AppendItem(rootid, _("Scully"), 0);
pTree->AppendItem(rootid, _("Mulder"), 0);
pTree->AppendItem(rootid, _("Leaf1"));
pTree->AppendItem(rootid, _("Leaf2"));
}
return pTree;
@@ -671,7 +673,7 @@ wxWindow* MyFrame::CreateDevLayout( wxFrameLayout& layout, wxWindow* pParent )
pClassView->AppendItem( rootId, _("serializer-classes (grabbed at run-time)"), 0 );
// now create "output" window
wxNotebook* pTabbedArea = new wxNotebook(pParent, wxID_ANY);
wxNotebook* pTabbedArea = new wxNotebook(pParent, wxID_ANY);
// SEB: originally here was a wxpp (wxWorkshop) class used
// wxPaggedWindow* pTabbedArea = new wxPaggedWindow();
// pTabbedArea->Create( pParent, wxID_ANY );

View File

@@ -6,7 +6,7 @@
// Created: 04/11/98
// RCS-ID: $Id$
// Copyright: (c) Aleksandras Gluchovas
// Licence: wxWindows license
// Licence: wxWindows license
/////////////////////////////////////////////////////////////////////////////
#ifndef __FLDEMO_G__
@@ -14,7 +14,7 @@
// ID for the menu commands
#define MINIMAL_QUIT 1
#define MINIMAL_QUIT 1
#define MINIMAL_ABOUT 102
#define ID_LOAD 103
@@ -25,7 +25,7 @@
#define ID_REMOVEALL 108
#define ID_RECREATE 109
#define ID_ACTIVATE 110
#define ID_FIRST 111
#define ID_FIRST 111
#define ID_SECOND 112
#define ID_THIRD 113
@@ -144,10 +144,10 @@ class StartButton95 : public wxPanel
wxBitmap m_DBmp;
public:
StartButton95(void) : m_bPressed(FALSE) {}
StartButton95(void) : m_bPressed(false) {}
StartButton95(wxWindow* parent)
: m_bPressed(FALSE) { wxPanel::Create(parent,-1); }
: m_bPressed(false) { wxPanel::Create(parent,wxID_ANY); }
void OnMouseDown( wxMouseEvent& event );
void OnMouseUp( wxMouseEvent& event );

View File

@@ -56,7 +56,7 @@ public:
void OnStore( wxCommandEvent& event );
void OnQuit( wxCommandEvent& event );
bool OnClose(void) { return TRUE; }
bool OnClose(void) { return true; }
DECLARE_EVENT_TABLE()
};
@@ -83,14 +83,16 @@ bool MyApp::OnInit(void)
menu_bar->Append(file_menu, _("&File"));
#if wxUSE_STATUSBAR
frame->CreateStatusBar(3);
#endif // wxUSE_STATUSBAR
frame->SetMenuBar(menu_bar);
frame->Show(TRUE);
frame->Show(true);
SetTopWindow(frame);
return TRUE;
return true;
}
/***** Immlementation for class MyFrame *****/
@@ -102,7 +104,7 @@ BEGIN_EVENT_TABLE(MyFrame, wxFrame)
END_EVENT_TABLE()
MyFrame::MyFrame( wxWindow* parent, const wxChar *title )
: wxFrame( parent, -1, title, wxDefaultPosition,
: wxFrame( parent, wxID_ANY, title, wxDefaultPosition,
wxSize( 700, 500 ),
wxCLIP_CHILDREN | wxMINIMIZE_BOX | wxMAXIMIZE_BOX |
wxTHICK_FRAME | wxSYSTEM_MENU | wxCAPTION,
@@ -122,7 +124,7 @@ MyFrame::MyFrame( wxWindow* parent, const wxChar *title )
cbCommonPaneProperties props;
mpLayout->GetPaneProperties( props );
props.mRealTimeUpdatesOn = FALSE; // off
props.mRealTimeUpdatesOn = false; // off
mpLayout->SetPaneProperties( props, wxALL_PANES );
#endif
@@ -134,7 +136,7 @@ MyFrame::MyFrame( wxWindow* parent, const wxChar *title )
cbDimInfo sizes( 80,65, // when docked horizontally
80,65, // when docked vertically
80,30, // when floated
TRUE, // the bar is fixed-size
true, // the bar is fixed-size
5, // vertical gap (bar border)
5 // horizontal gap (bar border)
);
@@ -169,7 +171,7 @@ MyFrame::~MyFrame()
wxTextCtrl* MyFrame::CreateTextCtrl( const wxString& value )
{
wxTextCtrl* pCtrl = new wxTextCtrl( mpInternalFrm, -1, value,
wxTextCtrl* pCtrl = new wxTextCtrl( mpInternalFrm, wxID_ANY, value,
wxPoint(0,0), wxSize(1,1), wxTE_MULTILINE );
pCtrl->SetBackgroundColour( wxColour( 255,255,255 ) );
@@ -189,8 +191,8 @@ void MyFrame::OnStore( wxCommandEvent& WXUNUSED(event) )
void MyFrame::OnQuit( wxCommandEvent& WXUNUSED(event) )
{
Show( FALSE ); // TRICK:: hide it, to avoid flickered destruction
Show( false ); // TRICK:: hide it, to avoid flickered destruction
Close(TRUE);
Close(true);
}

View File

@@ -57,7 +57,7 @@ public:
void OnStore( wxCommandEvent& event );
void OnQuit( wxCommandEvent& event );
bool OnClose(void) { return TRUE; }
bool OnClose(void) { return true; }
DECLARE_EVENT_TABLE()
};
@@ -84,14 +84,16 @@ bool MyApp::OnInit(void)
menu_bar->Append(file_menu, _("&File"));
#if wxUSE_STATUSBAR
frame->CreateStatusBar(3);
#endif // wxUSE_STATUSBAR
frame->SetMenuBar(menu_bar);
frame->Show(TRUE);
frame->Show(true);
SetTopWindow(frame);
frame->populateMyFrame();
return TRUE;
return true;
}
/***** Immlementation for class MyFrame *****/
@@ -103,7 +105,7 @@ BEGIN_EVENT_TABLE(MyFrame, wxFrame)
END_EVENT_TABLE()
MyFrame::MyFrame( wxWindow* parent, const wxChar *title )
: wxFrame( parent, -1, title, wxDefaultPosition,
: wxFrame( parent, wxID_ANY, title, wxDefaultPosition,
wxSize( 700, 500 ),
wxCLIP_CHILDREN | wxMINIMIZE_BOX | wxMAXIMIZE_BOX |
wxTHICK_FRAME | wxSYSTEM_MENU | wxCAPTION,
@@ -124,7 +126,7 @@ void MyFrame::populateMyFrame()
cbDimInfo sizes( 80,65, // when docked horizontally
80,165, // when docked vertically
180,30, // when floated
TRUE, // the bar is fixed-size
true, // the bar is fixed-size
5, // vertical gap (bar border)
5 // horizontal gap (bar border)
);
@@ -144,7 +146,7 @@ void MyFrame::populateMyFrame()
if ( !sizes.mIsFixed ) name += wxT(" (flexible)");
// mpLayout->AddBar( CreateTextCtrl(name),// bar window
mpLayout->AddBar( new wxTextCtrl(this, -1, name),// bar window
mpLayout->AddBar( new wxTextCtrl(this, wxID_ANY, name),// bar window
sizes, i % MAX_PANES,// alignment ( 0-top,1-bottom, etc)
0, // insert into 0th row (vert. position)
0, // offset from the start of row (in pixels)
@@ -167,7 +169,7 @@ MyFrame::~MyFrame()
wxTextCtrl* MyFrame::CreateTextCtrl( const wxString& value )
{
wxTextCtrl* pCtrl = new wxTextCtrl( this, -1, value,
wxTextCtrl* pCtrl = new wxTextCtrl( this, wxID_ANY, value,
wxPoint(0,0), wxSize(1,1), wxTE_MULTILINE );
pCtrl->SetBackgroundColour( wxColour( 255,255,255 ) );
@@ -187,8 +189,8 @@ void MyFrame::OnStore( wxCommandEvent& WXUNUSED(event) )
void MyFrame::OnQuit( wxCommandEvent& WXUNUSED(event) )
{
Show( FALSE ); // TRICK:: hide it, to avoid flickered destruction
Show( false ); // TRICK:: hide it, to avoid flickered destruction
Close(TRUE);
Close(true);
}

View File

@@ -61,7 +61,7 @@ public:
void OnButt( wxCommandEvent& event );
void OnButt2( wxCommandEvent& event );
bool OnClose(void) { return TRUE; }
bool OnClose(void) { return true; }
DECLARE_EVENT_TABLE()
};
@@ -88,13 +88,15 @@ bool MyApp::OnInit(void)
menu_bar->Append(file_menu, _("&File"));
#if wxUSE_STATUSBAR
frame->CreateStatusBar(3);
#endif // wxUSE_STATUSBAR
frame->SetMenuBar(menu_bar);
frame->Show(TRUE);
frame->Show(true);
SetTopWindow(frame);
return TRUE;
return true;
}
/***** Immlementation for class MyFrame *****/
@@ -108,14 +110,14 @@ BEGIN_EVENT_TABLE(MyFrame, wxFrame)
END_EVENT_TABLE()
MyFrame::MyFrame( wxWindow* parent, const wxChar *title )
: wxFrame( parent, -1, title, wxDefaultPosition,
: wxFrame( parent, wxID_ANY, title, wxDefaultPosition,
wxSize( 700, 500 ),
wxCLIP_CHILDREN | wxMINIMIZE_BOX | wxMAXIMIZE_BOX |
wxTHICK_FRAME | wxSYSTEM_MENU | wxCAPTION,
wxT("freimas") )
{
mpClientWnd = new wxWindow(this, -1);
mpClientWnd = new wxWindow(this, wxID_ANY);
mpLayout = new wxFrameLayout( this, mpClientWnd );
/// mpLayout->PushDefaultPlugins();
@@ -125,7 +127,7 @@ MyFrame::MyFrame( wxWindow* parent, const wxChar *title )
cbDimInfo sizes( 80,65, // when docked horizontally
80,165, // when docked vertically
180,30, // when floated
TRUE, // the bar is fixed-size
true, // the bar is fixed-size
5, // vertical gap (bar border)
5 // horizontal gap (bar border)
);
@@ -145,7 +147,7 @@ MyFrame::MyFrame( wxWindow* parent, const wxChar *title )
if ( !sizes.mIsFixed ) name += wxT(" (flexible)");
// mpLayout->AddBar( CreateTextCtrl(name),// bar window
if(i != 4 && i!= 5 && i!=11) {
mpLayout->AddBar( new wxTextCtrl(this, -1, name),// bar window
mpLayout->AddBar( new wxTextCtrl(this, wxID_ANY, name),// bar window
sizes,
i % MAX_PANES,// alignment ( 0-top,1-bottom, etc)
0, // insert into 0th row (vert. position)
@@ -153,8 +155,8 @@ MyFrame::MyFrame( wxWindow* parent, const wxChar *title )
name // name to refere in customization pop-ups
);
} else if(i==4){
mpLayout->AddBar( new wxTextCtrl(this, -1, name),// bar window
cbDimInfo( 100,100, 100,100, 100,100, TRUE, 5, 5),
mpLayout->AddBar( new wxTextCtrl(this, wxID_ANY, name),// bar window
cbDimInfo( 100,100, 100,100, 100,100, true, 5, 5),
i % MAX_PANES,// alignment ( 0-top,1-bottom, etc)
0, // insert into 0th row (vert. position)
0, // offset from the start of row (in pixels)
@@ -163,7 +165,7 @@ MyFrame::MyFrame( wxWindow* parent, const wxChar *title )
} else if(i==5) {
my_butt = new wxButton(this, ID_BUTT, name);
mpLayout->AddBar( my_butt,// bar window
cbDimInfo( 100,100, 200,200, 400,400, TRUE, 5, 5),
cbDimInfo( 100,100, 200,200, 400,400, true, 5, 5),
i % MAX_PANES,// alignment ( 0-top,1-bottom, etc)
0, // insert into 0th row (vert. position)
0, // offset from the start of row (in pixels)
@@ -171,7 +173,7 @@ MyFrame::MyFrame( wxWindow* parent, const wxChar *title )
);
} else if(i==11) {
mpLayout->AddBar( new wxButton(this, ID_BUTT2, name+wxT("_2")),
cbDimInfo( 100,100, 200,200, 400,400, TRUE, 5, 5),
cbDimInfo( 100,100, 200,200, 400,400, true, 5, 5),
i % MAX_PANES,// alignment ( 0-top,1-bottom, etc)
0, // insert into 0th row (vert. position)
0, // offset from the start of row (in pixels)
@@ -194,7 +196,7 @@ MyFrame::~MyFrame()
wxTextCtrl* MyFrame::CreateTextCtrl( const wxString& value )
{
wxTextCtrl* pCtrl = new wxTextCtrl( this, -1, value,
wxTextCtrl* pCtrl = new wxTextCtrl( this, wxID_ANY, value,
wxPoint(0,0), wxSize(1,1), wxTE_MULTILINE );
pCtrl->SetBackgroundColour( wxColour( 255,255,255 ) );
@@ -214,9 +216,9 @@ void MyFrame::OnStore( wxCommandEvent& WXUNUSED(event) )
void MyFrame::OnQuit( wxCommandEvent& WXUNUSED(event) )
{
Show( FALSE ); // TRICK:: hide it, to avoid flickered destruction
Show( false ); // TRICK:: hide it, to avoid flickered destruction
Close(TRUE);
Close(true);
}
void MyFrame::OnButt( wxCommandEvent& WXUNUSED(event) )
@@ -242,18 +244,18 @@ void MyFrame::OnButt( wxCommandEvent& WXUNUSED(event) )
{
if(i % 4 == 1)
{
mpLayout->SetBarState(x, wxCBAR_FLOATING, TRUE);
mpLayout->SetBarState(x, wxCBAR_FLOATING, true);
//mpLayout->RecalcLayout(true);
mpLayout->RepositionFloatedBar(x);
}
else
{
mpLayout->SetBarState(x, 0, TRUE);
mpLayout->SetBarState(x, 0, true);
//mpLayout->RecalcLayout(true);
//mpLayout->RepositionFloatedBar(x);
}
// // // x->mState = wxCBAR_FLOATING;
// // // mpLayout->ApplyBarProperties(x);
// // // x->mState = wxCBAR_FLOATING;
// // // mpLayout->ApplyBarProperties(x);
}
else
{
@@ -284,10 +286,10 @@ void MyFrame::OnButt2( wxCommandEvent& WXUNUSED(event) )
x->mDimInfo.mSizes[a].y = 200;
}
x->mpBarWnd->SetSize(200,200);
mpLayout->SetBarState(x, wxCBAR_FLOATING, TRUE); // HACK !!!
mpLayout->SetBarState(x, 0, TRUE); // HACK !!!
mpLayout->SetBarState(x, wxCBAR_FLOATING, true); // HACK !!!
mpLayout->SetBarState(x, 0, true); // HACK !!!
wxYield(); // HACK !!! needed to resize BEFORE redraw
mpLayout->RefreshNow( TRUE ); // HACK !!! needed to trigger redraw
mpLayout->RefreshNow( true ); // HACK !!! needed to trigger redraw
}
else
{
@@ -309,20 +311,20 @@ void MyFrame::OnButt2( wxCommandEvent& WXUNUSED(event) )
x->mDimInfo.mSizes[a].y = 10 + 2 + 2*x->mDimInfo.mVertGap;
}
x->mpBarWnd->SetSize(10,10);
mpLayout->SetBarState(x, wxCBAR_FLOATING, TRUE); // HACK !!!
mpLayout->SetBarState(x, 0, TRUE); // HACK !!!
mpLayout->SetBarState(x, wxCBAR_FLOATING, true); // HACK !!!
mpLayout->SetBarState(x, 0, true); // HACK !!!
wxYield(); // HACK !!! needed to resize BEFORE redraw
mpLayout->RefreshNow( TRUE ); // HACK !!! needed to trigger redraw
mpLayout->RefreshNow( true ); // HACK !!! needed to trigger redraw
// // mpLayout->SetBarState(x, wxCBAR_FLOATING, TRUE);
// // mpLayout->RecalcLayout(true);
// // // mpLayout->RepositionFloatedBar(x);
// // mpLayout->RecalcLayout(true);
// // mpLayout->RepositionFloatedBar(x);
// // mpLayout->SetBarState(x, 0, TRUE);
// // wxYield();
// // mpLayout->RefreshNow( TRUE );
// // mpLayout->RecalcLayout(true);
// // mpLayout->SetBarState(x, wxCBAR_FLOATING, true);
// // mpLayout->RecalcLayout(true);
// // mpLayout->RepositionFloatedBar(x);
// // mpLayout->RecalcLayout(true);
// // mpLayout->RepositionFloatedBar(x);
// // mpLayout->SetBarState(x, 0, true);
// // wxYield();
// // mpLayout->RefreshNow( true );
// // mpLayout->RecalcLayout(true);
}
else
{

View File

@@ -37,7 +37,7 @@ public:
class SashHtmlWindow : public wxHtmlWindow {
public:
SashHtmlWindow(wxWindow *parent, wxWindowID id = -1,
SashHtmlWindow(wxWindow *parent, wxWindowID id = wxID_ANY,
const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize,
long style = wxHW_SCROLLBAR_NEVER, const wxString& name = wxT("sashHtmlWindow"));
@@ -62,23 +62,23 @@ wxT("manages the scrollbars provided by <TT>wxDynamicSashWindow</TT> itself.");
bool Demo::OnInit() {
wxInitAllImageHandlers();
wxFrame *frame = new wxFrame(NULL, -1, wxT("Dynamic Sash Demo"));
wxFrame *frame = new wxFrame(NULL, wxID_ANY, wxT("Dynamic Sash Demo"));
frame->SetSize(480, 480);
wxDynamicSashWindow *sash = new wxDynamicSashWindow(frame, -1);
wxHtmlWindow *html = new SashHtmlWindow(sash, -1);
wxDynamicSashWindow *sash = new wxDynamicSashWindow(frame, wxID_ANY);
wxHtmlWindow *html = new SashHtmlWindow(sash, wxID_ANY);
html->SetPage(HTML_content);
frame->Show();
return TRUE;
return true;
}
SashHtmlWindow::SashHtmlWindow(wxWindow *parent, wxWindowID id,
const wxPoint& pos, const wxSize& size, long style, const wxString& name) :
wxHtmlWindow(parent, id, pos, size, style, name) {
Connect(-1, wxEVT_DYNAMIC_SASH_SPLIT, (wxObjectEventFunction)
Connect(wxID_ANY, wxEVT_DYNAMIC_SASH_SPLIT, (wxObjectEventFunction)
(wxEventFunction)
(wxDynamicSashSplitEventFunction)&SashHtmlWindow::OnSplit);
@@ -97,6 +97,6 @@ wxSize SashHtmlWindow::DoGetBestSize() const {
}
void SashHtmlWindow::OnSplit(wxDynamicSashSplitEvent& WXUNUSED(event)) {
wxHtmlWindow *html = new SashHtmlWindow(m_dyn_sash, -1);
wxHtmlWindow *html = new SashHtmlWindow(m_dyn_sash, wxID_ANY);
html->SetPage(HTML_content);
}

View File

@@ -65,14 +65,14 @@ IMPLEMENT_APP(SwitchDemo)
SwitchView::SwitchView(wxDynamicSashWindow *win) {
Create(win, -1);
Create(win, wxID_ANY);
m_dyn_sash = win;
m_bar = new wxWindow(this, -1, wxDefaultPosition, wxDefaultSize, wxRAISED_BORDER, wxT("bar"));
m_choice = new wxChoice(m_bar, -1);
m_bar = new wxWindow(this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxRAISED_BORDER, wxT("bar"));
m_choice = new wxChoice(m_bar, wxID_ANY);
m_choice->SetEventHandler(this);
m_view = new wxWindow(this, -1, wxDefaultPosition, wxDefaultSize, 0, wxT("view"));
m_view = new wxWindow(this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0, wxT("view"));
m_view->SetBackgroundColour(*wxWHITE);
m_view->SetEventHandler(this);
@@ -119,41 +119,41 @@ SwitchView::SwitchView(wxDynamicSashWindow *win) {
(wxEventFunction)
(wxPaintEventFunction)&SwitchView::OnPaint);
Connect(-1, wxEVT_SET_FOCUS, (wxObjectEventFunction)
Connect(wxID_ANY, wxEVT_SET_FOCUS, (wxObjectEventFunction)
(wxEventFunction)
(wxFocusEventFunction)&SwitchView::OnFocus);
Connect(-1, wxEVT_SCROLL_TOP, (wxObjectEventFunction)
Connect(wxID_ANY, wxEVT_SCROLL_TOP, (wxObjectEventFunction)
(wxEventFunction)
(wxScrollEventFunction)&SwitchView::OnScroll);
Connect(-1, wxEVT_SCROLL_BOTTOM, (wxObjectEventFunction)
Connect(wxID_ANY, wxEVT_SCROLL_BOTTOM, (wxObjectEventFunction)
(wxEventFunction)
(wxScrollEventFunction)&SwitchView::OnScroll);
Connect(-1, wxEVT_SCROLL_LINEUP, (wxObjectEventFunction)
Connect(wxID_ANY, wxEVT_SCROLL_LINEUP, (wxObjectEventFunction)
(wxEventFunction)
(wxScrollEventFunction)&SwitchView::OnScroll);
Connect(-1, wxEVT_SCROLL_LINEDOWN, (wxObjectEventFunction)
Connect(wxID_ANY, wxEVT_SCROLL_LINEDOWN, (wxObjectEventFunction)
(wxEventFunction)
(wxScrollEventFunction)&SwitchView::OnScroll);
Connect(-1, wxEVT_SCROLL_PAGEUP, (wxObjectEventFunction)
Connect(wxID_ANY, wxEVT_SCROLL_PAGEUP, (wxObjectEventFunction)
(wxEventFunction)
(wxScrollEventFunction)&SwitchView::OnScroll);
Connect(-1, wxEVT_SCROLL_PAGEDOWN, (wxObjectEventFunction)
Connect(wxID_ANY, wxEVT_SCROLL_PAGEDOWN, (wxObjectEventFunction)
(wxEventFunction)
(wxScrollEventFunction)&SwitchView::OnScroll);
Connect(-1, wxEVT_SCROLL_THUMBTRACK, (wxObjectEventFunction)
Connect(wxID_ANY, wxEVT_SCROLL_THUMBTRACK, (wxObjectEventFunction)
(wxEventFunction)
(wxScrollEventFunction)&SwitchView::OnScroll);
Connect(-1, wxEVT_SCROLL_THUMBRELEASE, (wxObjectEventFunction)
Connect(wxID_ANY, wxEVT_SCROLL_THUMBRELEASE, (wxObjectEventFunction)
(wxEventFunction)
(wxScrollEventFunction)&SwitchView::OnScroll);
Connect(-1, wxEVT_ERASE_BACKGROUND, (wxObjectEventFunction)
Connect(wxID_ANY, wxEVT_ERASE_BACKGROUND, (wxObjectEventFunction)
(wxEventFunction)
(wxEraseEventFunction)&SwitchView::OnErase);
Connect(-1, wxEVT_DYNAMIC_SASH_SPLIT, (wxObjectEventFunction)
Connect(wxID_ANY, wxEVT_DYNAMIC_SASH_SPLIT, (wxObjectEventFunction)
(wxEventFunction)
(wxDynamicSashSplitEventFunction)&SwitchView::OnSplit);
Connect(-1, wxEVT_DYNAMIC_SASH_UNIFY, (wxObjectEventFunction)
Connect(wxID_ANY, wxEVT_DYNAMIC_SASH_UNIFY, (wxObjectEventFunction)
(wxEventFunction)
(wxDynamicSashUnifyEventFunction)&SwitchView::OnUnify);
}
@@ -252,12 +252,12 @@ bool SwitchDemo::OnInit() {
wxFrame *frame;
wxDynamicSashWindow *dyn;
frame = new wxFrame(NULL, -1, wxT("Dynamic Sash Window Switch Demo"));
dyn = new wxDynamicSashWindow(frame, -1, wxDefaultPosition, wxDefaultSize, wxCLIP_CHILDREN);
frame = new wxFrame(NULL, wxID_ANY, wxT("Dynamic Sash Window Switch Demo"));
dyn = new wxDynamicSashWindow(frame, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxCLIP_CHILDREN);
new SwitchView(dyn);
frame->SetSize(480, 480);
frame->Show();
return TRUE;
return true;
}

View File

@@ -25,17 +25,17 @@ IMPLEMENT_APP(MyApp)
bool MyApp::OnInit()
{
wxDialog dlg(NULL, -1, _("Test dialog"), wxDefaultPosition, wxDefaultSize,
wxDialog dlg(NULL, wxID_ANY, _("Test dialog"), wxDefaultPosition, wxDefaultSize,
wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER);
wxSizer *sizer = new wxBoxSizer(wxVERTICAL);
sizer->Add(new wxEditableListBox(&dlg, -1, _("Match these wildcards:"),
sizer->Add(new wxEditableListBox(&dlg, wxID_ANY, _("Match these wildcards:"),
wxDefaultPosition,wxSize(300,200)),
1, wxEXPAND|wxALL, 10);
sizer->Add(5,5);
wxEditableListBox *lb = new wxEditableListBox(&dlg, -1, _("Except:"),
wxEditableListBox *lb = new wxEditableListBox(&dlg, wxID_ANY, _("Except:"),
wxDefaultPosition,wxSize(300,200));
wxArrayString ar;
ar.Add(_T("*.cpp"));
@@ -46,13 +46,12 @@ bool MyApp::OnInit()
sizer->Add(lb, 1, wxEXPAND|wxALL, 10);
sizer->Add(5,5);
sizer->Add(new wxButton(&dlg, wxID_OK, _("OK")), 0, wxALIGN_RIGHT | wxALL, 10);
dlg.SetAutoLayout(TRUE);
dlg.SetSizer(sizer);
sizer->Fit(&dlg);
dlg.Centre();
dlg.Centre();
dlg.ShowModal();
wxString res = _("'Except' contains these strings:\n\n");
@@ -60,6 +59,6 @@ bool MyApp::OnInit()
for (size_t i = 0; i < ar.GetCount(); i++)
res << ar[i] << _T("\n");
wxMessageBox(res);
return FALSE;
return false;
}

View File

@@ -165,12 +165,12 @@ bool MyApp::OnInit()
// and show it (the frames, unlike simple controls, are not shown when
// created initially)
frame->Show(TRUE);
frame->Show(true);
// success: wxApp::OnRun() will be called which will enter the main message
// loop and the application will run. If we returned FALSE here, the
// loop and the application will run. If we returned false here, the
// application would exit immediately.
return TRUE;
return true;
}
// ----------------------------------------------------------------------------
@@ -179,7 +179,7 @@ bool MyApp::OnInit()
// frame constructor
MyFrame::MyFrame(const wxString& title, const wxPoint& pos, const wxSize& size, long style)
: wxFrame(NULL, -1, title, pos, size, style)
: wxFrame(NULL, wxID_ANY, title, pos, size, style)
{
#if wxUSE_MENUS
// create a menu bar
@@ -202,7 +202,7 @@ MyFrame::MyFrame(const wxString& title, const wxPoint& pos, const wxSize& size,
editMenu->AppendSeparator();
editMenu->AppendCheckItem(LED_Edit_DrawFaded, _T("Draw &Faded\tCtrl-F"));
editMenu->Check(LED_Edit_DrawFaded, TRUE);
editMenu->Check(LED_Edit_DrawFaded, true);
// now append the freshly created menu to the menu bar...
wxMenuBar *menuBar = new wxMenuBar();
@@ -222,8 +222,8 @@ MyFrame::MyFrame(const wxString& title, const wxPoint& pos, const wxSize& size,
void MyFrame::OnQuit(wxCommandEvent& WXUNUSED(event))
{
// TRUE is to force the frame to close
Close(TRUE);
// true is to force the frame to close
Close(true);
}
void MyFrame::OnIncrement(wxCommandEvent& WXUNUSED(event))

View File

@@ -1,194 +1,196 @@
/*
* File: mtest.cpp
* Purpose: wxMultiCellSizer and wxMultiCellCanvas test
* Author: Alex Andruschak
* Created: 2000
* Updated:
* File: mtest.cpp
* Purpose: wxMultiCellSizer and wxMultiCellCanvas test
* Author: Alex Andruschak
* Created: 2000
* Updated:
* Copyright:
*/
static const char sccsid[] = "%W% %G%";
#if defined(__GNUG__) && !defined(__APPLE__)
#pragma implementation
#pragma interface
#pragma implementation
#pragma interface
#endif
#include "wx/wxprec.h"
#ifdef __BORLANDC__
#pragma hdrstop
#pragma hdrstop
#endif
#ifndef WX_PRECOMP
#include "wx/wx.h"
#include "wx/wx.h"
#endif
#include "wx/gizmos/multicell.h"
class MyApp: public wxApp
{public:
bool OnInit(void);
bool OnInit(void);
};
class MyFrame: public wxFrame
{
public:
MyFrame(int type, wxFrame *frame, const wxString& title, const wxPoint& pos, const wxSize& size);
MyFrame(int type, wxFrame *frame, const wxString& title, const wxPoint& pos, const wxSize& size);
void OnCloseWindow(wxCloseEvent& event);
void OnPaint(wxPaintEvent& event);
wxMultiCellSizer *sizer;
void OnCloseWindow(wxCloseEvent& event);
void OnPaint(wxPaintEvent& event);
wxMultiCellSizer *sizer;
DECLARE_EVENT_TABLE()
DECLARE_EVENT_TABLE()
};
IMPLEMENT_APP(MyApp)
bool MyApp::OnInit(void)
{
MyFrame *frame = new MyFrame(1, (wxFrame *) NULL, wxT("wxMultiCellSizer Sample"), wxPoint(50, 50), wxDefaultSize); //, wxSize(600, 500));
MyFrame *frame = new MyFrame(1, (wxFrame *) NULL, wxT("wxMultiCellSizer Sample"), wxPoint(50, 50), wxDefaultSize); //, wxSize(600, 500));
frame->Show(TRUE);
frame->Show(true);
SetTopWindow(frame);
frame = new MyFrame(2, (wxFrame *) NULL, wxT("wxMultiCellCanvas Sample"), wxPoint(100, 100), wxSize(600, 500));
SetTopWindow(frame);
frame = new MyFrame(2, (wxFrame *) NULL, wxT("wxMultiCellCanvas Sample"), wxPoint(100, 100), wxSize(600, 500));
frame->Show(TRUE);
frame->Show(true);
SetTopWindow(frame);
return TRUE;
SetTopWindow(frame);
return true;
}
MyFrame::MyFrame(int type, wxFrame *frame, const wxString& title, const wxPoint& pos, const wxSize& size):
wxFrame(frame, -1, title, pos, size, wxDEFAULT_FRAME_STYLE | wxVSCROLL | wxHSCROLL)
wxFrame(frame, wxID_ANY, title, pos, size, wxDEFAULT_FRAME_STYLE | wxVSCROLL | wxHSCROLL)
{
CreateStatusBar(1);
sizer = NULL;
if (type == 1)
{
// create sizer 4 columns 5 rows
wxSize aa(4,9);
sizer = new wxMultiCellSizer(aa);
sizer->SetDefaultCellSize(wxSize(15,15));
sizer->SetRowHeight(7,5,TRUE);
sizer->SetRowHeight(8,5,FALSE);
// add first row
sizer->Add(
new wxButton( this, -1,wxT( "B1 - 0,0, horizontal resizable")),
0, 0, 0, new wxMultiCellItemHandle(0,0,1,1, wxDefaultSize, wxHORIZONTAL_RESIZABLE, wxSize(2,2)));
sizer->Add(
new wxButton( this, -1, wxT("B2 - 0,1, vertical resizable")),
0, 0, 0, new wxMultiCellItemHandle(0,1,1,1, wxDefaultSize, wxVERTICAL_RESIZABLE, wxSize(2, 2)));
sizer->Add(
new wxButton( this, -1, wxT("B3 - 0,2")),
0, 0, 0, new wxMultiCellItemHandle(0,2,1,1, wxDefaultSize, wxNOT_RESIZABLE, wxSize(1,1), wxALIGN_CENTER_HORIZONTAL)); //, wxALIGN_CENTER));
sizer->Add(
new wxStaticText(this, -1, wxT("jbb 0,3, lower-right")),
0, 0, 0, new wxMultiCellItemHandle(0,3,1,1, wxDefaultSize, wxNOT_RESIZABLE, wxSize(1,1), wxALIGN_BOTTOM | wxALIGN_RIGHT));
#if wxUSE_STATUSBAR
CreateStatusBar(1);
#endif // wxUSE_STATUSBAR
sizer = NULL;
if (type == 1)
{
// create sizer 4 columns 5 rows
wxSize aa(4,9);
sizer = new wxMultiCellSizer(aa);
sizer->SetDefaultCellSize(wxSize(15,15));
sizer->SetRowHeight(7,5,true);
sizer->SetRowHeight(8,5,false);
// add first row
sizer->Add(
new wxButton( this, wxID_ANY, wxT( "B1 - 0,0, horizontal resizable")),
0, 0, 0, new wxMultiCellItemHandle(0,0,1,1, wxDefaultSize, wxHORIZONTAL_RESIZABLE, wxSize(2,2)));
sizer->Add(
new wxButton( this, wxID_ANY, wxT("B2 - 0,1, vertical resizable")),
0, 0, 0, new wxMultiCellItemHandle(0,1,1,1, wxDefaultSize, wxVERTICAL_RESIZABLE, wxSize(2, 2)));
sizer->Add(
new wxButton( this, wxID_ANY, wxT("B3 - 0,2")),
0, 0, 0, new wxMultiCellItemHandle(0,2,1,1, wxDefaultSize, wxNOT_RESIZABLE, wxSize(1,1), wxALIGN_CENTER_HORIZONTAL)); //, wxALIGN_CENTER));
sizer->Add(
new wxStaticText(this, wxID_ANY, wxT("jbb 0,3, lower-right")),
0, 0, 0, new wxMultiCellItemHandle(0,3,1,1, wxDefaultSize, wxNOT_RESIZABLE, wxSize(1,1), wxALIGN_BOTTOM | wxALIGN_RIGHT));
// add button for secord row
sizer->Add(
new wxTextCtrl(this, -1, wxT("Text control - 1,0, 4 cols wide")),
0, 0, 0, new wxMultiCellItemHandle(1,0,1,4));
// add button for secord row
sizer->Add(
new wxTextCtrl(this, wxID_ANY, wxT("Text control - 1,0, 4 cols wide")),
0, 0, 0, new wxMultiCellItemHandle(1,0,1,4));
// add buttons for next row
sizer->Add(
new wxButton( this, -1, wxT("B6 - 2,0, 2 cols wide")),
0, 0, 0, new wxMultiCellItemHandle(2,0,1,2));
sizer->Add(
new wxButton( this, -1, wxT("B7 - 2,3")),
0, 0, 0, new wxMultiCellItemHandle(2,3,1,1));
// add buttons for next row
sizer->Add(
new wxButton( this, wxID_ANY, wxT("B6 - 2,0, 2 cols wide")),
0, 0, 0, new wxMultiCellItemHandle(2,0,1,2));
sizer->Add(
new wxButton( this, wxID_ANY, wxT("B7 - 2,3")),
0, 0, 0, new wxMultiCellItemHandle(2,3,1,1));
// and last additions
sizer->Add(
new wxButton( this, -1, wxT("B8 - 3,0, 4 rows high, vert resizable")),
0, 0, 0, new wxMultiCellItemHandle(3,0,4,1,wxDefaultSize, wxVERTICAL_RESIZABLE));
sizer->Add(
new wxButton( this, -1, wxT("B9 - 3,2, 2 cols wide, vert resizable")),
0, 0, 0, new wxMultiCellItemHandle(3,2,1,2,wxDefaultSize, wxVERTICAL_RESIZABLE));
sizer->Add(
new wxButton( this, -1, wxT("B10 - 4,1, 3 cols wide, vert resizable")),
0, 0, 0, new wxMultiCellItemHandle(4,1,1,3,wxDefaultSize, wxVERTICAL_RESIZABLE));
// and last additions
sizer->Add(
new wxButton( this, wxID_ANY, wxT("B8 - 3,0, 4 rows high, vert resizable")),
0, 0, 0, new wxMultiCellItemHandle(3,0,4,1,wxDefaultSize, wxVERTICAL_RESIZABLE));
sizer->Add(
new wxButton( this, wxID_ANY, wxT("B9 - 3,2, 2 cols wide, vert resizable")),
0, 0, 0, new wxMultiCellItemHandle(3,2,1,2,wxDefaultSize, wxVERTICAL_RESIZABLE));
sizer->Add(
new wxButton( this, wxID_ANY, wxT("B10 - 4,1, 3 cols wide, vert resizable")),
0, 0, 0, new wxMultiCellItemHandle(4,1,1,3,wxDefaultSize, wxVERTICAL_RESIZABLE));
sizer->Add(
new wxButton( this, -1, wxT("B11 - 5,1, 3 cols wide")),
0, 0, 0, new wxMultiCellItemHandle(5,1,1,3));
sizer->Add(
new wxButton( this, wxID_ANY, wxT("B11 - 5,1, 3 cols wide")),
0, 0, 0, new wxMultiCellItemHandle(5,1,1,3));
sizer->Add(
new wxButton( this, -1, wxT("B12 - 6,1, 3 cols wide")),
0, 0, 0, new wxMultiCellItemHandle(6,1,1,3));
sizer->Add(
new wxButton( this, wxID_ANY, wxT("B12 - 6,1, 3 cols wide")),
0, 0, 0, new wxMultiCellItemHandle(6,1,1,3));
sizer->Add(
new wxButton( this, -1, wxT("B13 - 7,1, 2 cols wide")),
0, 0, 0, new wxMultiCellItemHandle(7,1,1,2));
sizer->Add(
new wxButton( this, wxID_ANY, wxT("B13 - 7,1, 2 cols wide")),
0, 0, 0, new wxMultiCellItemHandle(7,1,1,2));
sizer->Add(
new wxButton( this, -1, wxT("B14 - 8,1, 3 cols wide")),
0, 0, 0, new wxMultiCellItemHandle(8,1,1,3));
sizer->Add(
new wxButton( this, wxID_ANY, wxT("B14 - 8,1, 3 cols wide")),
0, 0, 0, new wxMultiCellItemHandle(8,1,1,3));
SetAutoLayout( TRUE );
// sizer->SetMinSize(sizer->CalcMin());
SetSizer( sizer );
wxSize s = sizer->CalcMin();
wxSize c = GetSize() - GetClientSize();
SetSizeHints(s.GetWidth() + c.GetWidth() , s.GetHeight() + c.GetHeight());
sizer->EnableGridLines(this);
}
else
{
// create sizer 4 columns 5 rows
wxMultiCellCanvas *sizer = new wxMultiCellCanvas(this, 5,5);
SetAutoLayout( true );
// sizer->SetMinSize(sizer->CalcMin());
SetSizer( sizer );
wxSize s = sizer->CalcMin();
wxSize c = GetSize() - GetClientSize();
SetSizeHints(s.GetWidth() + c.GetWidth() , s.GetHeight() + c.GetHeight());
sizer->EnableGridLines(this);
}
else
{
// create sizer 4 columns 5 rows
wxMultiCellCanvas *sizer = new wxMultiCellCanvas(this, 5,5);
// add first row
sizer->Add(
new wxButton( this, -1, wxT("Button 1")),
0, 0);
sizer->Add(
new wxButton( this, -1, wxT("Button 2")),
0, 1);
sizer->Add(
new wxButton( this, -1, wxT("Button 3")),
0, 2);
sizer->Add(
new wxStaticText(this, -1, wxT("jbb test")),
0, 3);
// add first row
sizer->Add(
new wxButton( this, wxID_ANY, wxT("Button 1")),
0, 0);
sizer->Add(
new wxButton( this, wxID_ANY, wxT("Button 2")),
0, 1);
sizer->Add(
new wxButton( this, wxID_ANY, wxT("Button 3")),
0, 2);
sizer->Add(
new wxStaticText(this, wxID_ANY, wxT("jbb test")),
0, 3);
sizer->Add(
new wxStaticText(this, -1, wxT("jbb test 2")),
0, 4);
sizer->Add(
new wxStaticText(this, wxID_ANY, wxT("jbb test 2")),
0, 4);
// add button for secord row
sizer->Add(
new wxTextCtrl(this, -1, wxT("Text control")),
1, 0);
// add button for secord row
sizer->Add(
new wxTextCtrl(this, wxID_ANY, wxT("Text control")),
1, 0);
// add buttons for next row
sizer->Add(
new wxButton( this, -1, wxT("Button 6")),
2, 0);
sizer->Add(
new wxButton( this, -1, wxT("Button 7")),
2, 3);
// add buttons for next row
sizer->Add(
new wxButton( this, wxID_ANY, wxT("Button 6")),
2, 0);
sizer->Add(
new wxButton( this, wxID_ANY, wxT("Button 7")),
2, 3);
// and last additions
sizer->Add(
new wxButton( this, -1, wxT("Button 8")),
3, 0);
sizer->Add(
new wxButton( this, -1, wxT("Button 9")),
3, 1);
sizer->Add(
new wxButton( this, -1, wxT("Button 10")),
4, 1);
// and last additions
sizer->Add(
new wxButton( this, wxID_ANY, wxT("Button 8")),
3, 0);
sizer->Add(
new wxButton( this, wxID_ANY, wxT("Button 9")),
3, 1);
sizer->Add(
new wxButton( this, wxID_ANY, wxT("Button 10")),
4, 1);
sizer->CalculateConstraints();
SetSizer( sizer );
SetAutoLayout( TRUE );
}
sizer->CalculateConstraints();
SetSizer( sizer );
SetAutoLayout( true );
}
}
// Define the repainting behaviour
@@ -200,16 +202,16 @@ BEGIN_EVENT_TABLE(MyFrame, wxFrame)
void MyFrame::OnPaint(wxPaintEvent& WXUNUSED(event) )
{
wxPaintDC dc(this);
wxPaintDC dc(this);
if (sizer)
{
sizer->OnPaint(dc);
}
if (sizer)
{
sizer->OnPaint(dc);
}
}
void MyFrame::OnCloseWindow(wxCloseEvent& WXUNUSED(event))
{
Destroy();
Destroy();
}

View File

@@ -138,12 +138,12 @@ bool MyApp::OnInit()
// and show it (the frames, unlike simple controls, are not shown when
// created initially)
frame->Show(TRUE);
frame->Show(true);
// success: wxApp::OnRun() will be called which will enter the main message
// loop and the application will run. If we returned FALSE here, the
// loop and the application will run. If we returned false here, the
// application would exit immediately.
return TRUE;
return true;
}
// ----------------------------------------------------------------------------
@@ -155,7 +155,7 @@ MyFrame::MyFrame(const wxString& title, const wxPoint& pos, const wxSize& size)
: wxFrame((wxFrame *)NULL, idMAIN_FRAME, title, pos, size)
{
m_splitter = NULL;
m_scrolledWindow = NULL;
m_scrolledWindow = NULL;
m_tree = NULL;
m_valueWindow = NULL;
#ifdef __WXMAC__
@@ -165,26 +165,26 @@ MyFrame::MyFrame(const wxString& title, const wxPoint& pos, const wxSize& size)
#endif
m_scrolledWindow = new wxSplitterScrolledWindow(this, idSCROLLED_WINDOW, wxDefaultPosition,
wxSize(300, 400), wxNO_BORDER | wxCLIP_CHILDREN | wxVSCROLL);
wxSize(300, 400), wxNO_BORDER | wxCLIP_CHILDREN | wxVSCROLL);
m_splitter = new wxThinSplitterWindow(m_scrolledWindow, idSPLITTER_WINDOW, wxDefaultPosition,
wxDefaultSize, wxSP_3DBORDER | wxCLIP_CHILDREN /* | wxSP_LIVE_UPDATE */);
m_splitter->SetSashSize(2);
wxDefaultSize, wxSP_3DBORDER | wxCLIP_CHILDREN /* | wxSP_LIVE_UPDATE */);
m_splitter->SetSashSize(2);
/* Note the wxTR_ROW_LINES style: draws horizontal lines between items */
/* Note the wxTR_ROW_LINES style: draws horizontal lines between items */
m_tree = new TestTree(m_splitter , idTREE_CTRL, wxDefaultPosition,
wxDefaultSize, wxTR_HAS_BUTTONS | wxTR_NO_LINES | wxNO_BORDER | wxTR_ROW_LINES );
wxDefaultSize, wxTR_HAS_BUTTONS | wxTR_NO_LINES | wxNO_BORDER | wxTR_ROW_LINES );
m_valueWindow = new TestValueWindow(m_splitter, idVALUE_WINDOW, wxDefaultPosition,
wxDefaultSize, wxNO_BORDER);
wxDefaultSize, wxNO_BORDER);
m_splitter->SplitVertically(m_tree, m_valueWindow);
//m_splitter->AdjustScrollbars();
m_splitter->SetSashPosition(200);
m_scrolledWindow->SetTargetWindow(m_tree);
//m_splitter->AdjustScrollbars();
m_splitter->SetSashPosition(200);
m_scrolledWindow->SetTargetWindow(m_tree);
m_scrolledWindow->EnableScrolling(FALSE, FALSE);
m_scrolledWindow->EnableScrolling(false, false);
// Let the two controls know about each other
m_valueWindow->SetTreeCtrl(m_tree);
m_tree->SetCompanionWindow(m_valueWindow);
// Let the two controls know about each other
m_valueWindow->SetTreeCtrl(m_tree);
m_tree->SetCompanionWindow(m_valueWindow);
// set the frame icon
SetIcon(wxICON(mondrian));
@@ -212,8 +212,8 @@ MyFrame::MyFrame(const wxString& title, const wxPoint& pos, const wxSize& size)
void MyFrame::OnQuit(wxCommandEvent& WXUNUSED(event))
{
// TRUE is to force the frame to close
Close(TRUE);
// true is to force the frame to close
Close(true);
}
void MyFrame::OnAbout(wxCommandEvent& WXUNUSED(event))
@@ -238,7 +238,7 @@ TestTree::TestTree(wxWindow* parent, wxWindowID id, const wxPoint& pt,
const wxSize& sz, long style):
wxRemotelyScrolledTreeCtrl(parent, id, pt, sz, style)
{
m_imageList = new wxImageList(16, 16, TRUE);
m_imageList = new wxImageList(16, 16, true);
#if !defined(__WXMSW__) // || wxUSE_XPM_IN_MSW
m_imageList->Add(wxIcon(icon1_xpm));
m_imageList->Add(wxIcon(icon2_xpm));
@@ -250,28 +250,28 @@ TestTree::TestTree(wxWindow* parent, wxWindowID id, const wxPoint& pt,
#endif
SetImageList(m_imageList);
// Add some dummy items
wxTreeItemId rootId = AddRoot(_("Root"), -1, -1);
int i;
for (i = 1; i <= 20; i++)
{
wxString label;
label.Printf(wxT("Item %d"), i);
wxTreeItemId id = AppendItem(rootId, label, 0);
//SetItemImage( id, 1, wxTreeItemIcon_Expanded );
int j;
for (j = 0; j < 10; j++)
AppendItem(id, _("Child"), 1);
}
Expand(rootId);
// Add some dummy items
wxTreeItemId rootId = AddRoot(_("Root"), -1, -1);
int i;
for (i = 1; i <= 20; i++)
{
wxString label;
label.Printf(wxT("Item %d"), i);
wxTreeItemId id = AppendItem(rootId, label, 0);
//SetItemImage( id, 1, wxTreeItemIcon_Expanded );
int j;
for (j = 0; j < 10; j++)
AppendItem(id, _("Child"), 1);
}
Expand(rootId);
}
TestTree::~TestTree()
{
SetImageList(NULL);
delete m_imageList;
SetImageList(NULL);
delete m_imageList;
}
/*
@@ -289,5 +289,5 @@ TestValueWindow::TestValueWindow(wxWindow* parent, wxWindowID id,
long style):
wxTreeCompanionWindow(parent, id, pos, sz, style)
{
SetBackgroundColour(* wxWHITE);
SetBackgroundColour(* wxWHITE);
}

View File

@@ -87,7 +87,7 @@ protected:
class TestValueWindow: public wxTreeCompanionWindow
{
public:
TestValueWindow(wxWindow* parent, wxWindowID id = -1,
TestValueWindow(wxWindow* parent, wxWindowID id = wxID_ANY,
const wxPoint& pos = wxDefaultPosition,
const wxSize& sz = wxDefaultSize,
long style = 0);

View File

@@ -245,7 +245,7 @@ void MMBoardSoundFile::SetPosition(MMBoardTime btime)
bool MMBoardSoundFile::NeedWindow()
{
return FALSE;
return false;
}
void MMBoardSoundFile::SetWindow(wxWindow *WXUNUSED(window))
@@ -310,17 +310,17 @@ wxString MMBoardSoundFile::GetStringInformation()
case wxSOUND_PCM: {
wxSoundFormatPcm *pcm_format = (wxSoundFormatPcm *)format;
info += wxString::Format(wxT("PCM %s %s\n"),
info += wxString::Format(wxT("PCM %s %s\n"),
pcm_format->Signed() ? wxT("signed") : wxT("unsigned"),
pcm_format->GetOrder() == wxLITTLE_ENDIAN ? wxT("little endian") : wxT("big endian"));
info += wxString::Format(wxT("Sampling rate: %d\n")
wxT("Bits per sample: %d\n")
wxT("Number of channels: %d\n"),
pcm_format->GetSampleRate(),
pcm_format->GetBPS(),
pcm_format->GetChannels());
break;
info += wxString::Format(wxT("Sampling rate: %d\n")
wxT("Bits per sample: %d\n")
wxT("Number of channels: %d\n"),
pcm_format->GetSampleRate(),
pcm_format->GetBPS(),
pcm_format->GetChannels());
break;
}
case wxSOUND_MSADPCM: {
wxSoundFormatMSAdpcm *adpcm_format = (wxSoundFormatMSAdpcm *)format;
@@ -334,13 +334,13 @@ wxString MMBoardSoundFile::GetStringInformation()
}
case wxSOUND_ULAW: {
wxSoundFormatUlaw *ulaw_format = (wxSoundFormatUlaw *)format;
info += wxT("ULAW\n");
info += wxString::Format(wxT("Sampling rate: %d\n"), ulaw_format->GetSampleRate());
break;
info += wxT("ULAW\n");
info += wxString::Format(wxT("Sampling rate: %d\n"), ulaw_format->GetSampleRate());
break;
}
default:
info += wxT("Unknown");
break;
break;
}
return info;
}
@@ -375,7 +375,7 @@ MMBoardVideoFile::~MMBoardVideoFile()
bool MMBoardVideoFile::NeedWindow()
{
return TRUE;
return true;
}
void MMBoardVideoFile::SetWindow(wxWindow *window)

View File

@@ -75,7 +75,7 @@ public:
MMBoardFrame(const wxString& title, const wxPoint& pos, const wxSize& size);
// dtor
~MMBoardFrame();
// event handlers
void OnQuit(wxCommandEvent& event);
void OnAbout(wxCommandEvent& event);
@@ -86,28 +86,28 @@ public:
void OnEject(wxCommandEvent& event);
void OnRefreshInfo(wxEvent& event);
void OnSetPosition(wxCommandEvent& event);
void OpenVideoWindow();
void CloseVideoWindow();
private:
// any class wishing to process wxWidgets events must use this macro
DECLARE_EVENT_TABLE()
private:
void UpdateMMedInfo();
void UpdateMMedInfo();
void UpdateInfoText();
MMBoardFile *m_opened_file;
wxSlider *m_positionSlider;
wxBitmapButton *m_playButton, *m_pauseButton, *m_stopButton, *m_ejectButton;
wxStaticText *m_fileType, *m_infoText;
wxWindow *m_video_window;
wxPanel *m_panel;
wxSizer *m_sizer;
wxTimer *m_refreshTimer;
};
@@ -142,7 +142,7 @@ BEGIN_EVENT_TABLE(MMBoardFrame, wxFrame)
EVT_BUTTON(MMBoard_PlayButton, MMBoardFrame::OnPlay)
EVT_BUTTON(MMBoard_StopButton, MMBoardFrame::OnStop)
EVT_BUTTON(MMBoard_PauseButton, MMBoardFrame::OnPause)
EVT_BUTTON(MMBoard_EjectButton, MMBoardFrame::OnEject)
EVT_BUTTON(MMBoard_EjectButton, MMBoardFrame::OnEject)
EVT_SLIDER(MMBoard_PositionSlider, MMBoardFrame::OnSetPosition)
EVT_CUSTOM(wxEVT_TIMER, MMBoard_RefreshInfo, MMBoardFrame::OnRefreshInfo)
END_EVENT_TABLE()
@@ -169,43 +169,43 @@ bool MMBoardApp::OnInit()
// and show it (the frames, unlike simple controls, are not shown when
// created initially)
frame->Show(TRUE);
frame->Show();
m_caps = TestMultimediaCaps();
if (!m_caps) {
wxMessageBox(_T("Your system has no multimedia capabilities. We are exiting now."), _T("Major error !"), wxOK | wxICON_ERROR, NULL);
return FALSE;
return false;
}
wxString msg;
msg.Printf(_T("Detected : %s%s%s"), (m_caps & MM_SOUND_OSS) ? _T("OSS ") : _T(""),
(m_caps & MM_SOUND_ESD) ? _T("ESD ") : _T(""),
(m_caps & MM_SOUND_WIN) ? _T("WIN") : _T(""));
(m_caps & MM_SOUND_ESD) ? _T("ESD ") : _T(""),
(m_caps & MM_SOUND_WIN) ? _T("WIN") : _T(""));
wxMessageBox(msg, _T("Good !"), wxOK | wxICON_INFORMATION, NULL);
// success: wxApp::OnRun() will be called which will enter the main message
// loop and the application will run. If we returned FALSE here, the
// loop and the application will run. If we returned false here, the
// application would exit immediately.
return TRUE;
return true;
}
wxUint8 MMBoardApp::TestMultimediaCaps()
{
wxSoundStream *dev;
wxUint8 caps;
caps = 0;
#ifdef __UNIX__
// We now test the ESD support
dev = new wxSoundStreamESD();
if (dev->GetError() == wxSOUND_NOERROR)
if (dev->GetError() == wxSOUND_NOERROR)
caps |= MM_SOUND_ESD;
delete dev;
// We test the OSS (Open Sound System) support.
// WARNING: There is a conflict between ESD and ALSA. We may be interrested
// in disabling the auto detection of OSS is ESD has been detected.
@@ -222,7 +222,7 @@ wxUint8 MMBoardApp::TestMultimediaCaps()
#endif
#endif
#ifdef __WIN32__
// We test the Windows sound support.
@@ -231,7 +231,7 @@ wxUint8 MMBoardApp::TestMultimediaCaps()
caps |= MM_SOUND_WIN;
delete dev;
#endif
return caps;
}
@@ -241,7 +241,7 @@ wxUint8 MMBoardApp::TestMultimediaCaps()
// frame constructor
MMBoardFrame::MMBoardFrame(const wxString& title, const wxPoint& pos, const wxSize& size)
: wxFrame((wxFrame *)NULL, -1, title, pos, size)
: wxFrame((wxFrame *)NULL, wxID_ANY, title, pos, size)
{
#ifdef __WXMAC__
// we need this in order to allow the about menu relocation, since ABOUT is
@@ -253,7 +253,7 @@ MMBoardFrame::MMBoardFrame(const wxString& title, const wxPoint& pos, const wxSi
SetIcon(wxICON(mondrian));
// create a menu bar
wxMenu *menuFile = new wxMenu(wxT(""), wxMENU_TEAROFF);
wxMenu *menuFile = new wxMenu(wxEmptyString, wxMENU_TEAROFF);
// the "About" item should be in the help menu
wxMenu *helpMenu = new wxMenu;
@@ -280,68 +280,76 @@ MMBoardFrame::MMBoardFrame(const wxString& title, const wxPoint& pos, const wxSi
// Misc variables
m_opened_file = NULL;
m_panel = new wxPanel(this, -1);
m_panel = new wxPanel(this, wxID_ANY);
// Initialize main slider
m_positionSlider = new wxSlider( m_panel, MMBoard_PositionSlider, 0, 0, 60,
wxDefaultPosition, wxSize(300, -1),
wxSL_HORIZONTAL | wxSL_AUTOTICKS);
wxDefaultPosition, wxSize(300, wxDefaultCoord),
wxSL_HORIZONTAL | wxSL_AUTOTICKS);
m_positionSlider->SetPageSize(60); // 60 secs
m_positionSlider->Enable(FALSE);
m_positionSlider->Disable();
// Initialize info panel
wxPanel *infoPanel = new wxPanel( m_panel, -1);
wxPanel *infoPanel = new wxPanel( m_panel, wxID_ANY);
infoPanel->SetBackgroundColour(*wxBLACK);
infoPanel->SetForegroundColour(*wxWHITE);
wxBoxSizer *infoSizer = new wxBoxSizer(wxVERTICAL);
m_fileType = new wxStaticText(infoPanel, -1, wxT(""));
wxStaticLine *line = new wxStaticLine(infoPanel, -1);
m_infoText = new wxStaticText(infoPanel, -1, _T(""));
m_fileType = new wxStaticText(infoPanel, wxID_ANY, wxEmptyString);
#if wxUSE_STATLINE
wxStaticLine *line = new wxStaticLine(infoPanel, wxID_ANY);
#endif // wxUSE_STATLINE
m_infoText = new wxStaticText(infoPanel, wxID_ANY, wxEmptyString);
UpdateInfoText();
infoSizer->Add(m_fileType, 0, wxGROW | wxALL, 1);
#if wxUSE_STATLINE
infoSizer->Add(line, 0, wxGROW | wxCENTRE, 20);
#endif // wxUSE_STATLINE
infoSizer->Add(m_infoText, 0, wxGROW | wxALL, 1);
infoPanel->SetSizer(infoSizer);
infoPanel->SetAutoLayout(TRUE);
// Bitmap button panel
wxBoxSizer *buttonSizer = new wxBoxSizer(wxHORIZONTAL);
wxBitmap play_bmp(play_back_xpm);
wxBitmap stop_bmp(stop_back_xpm);
wxBitmap eject_bmp(eject_xpm);
wxBitmap pause_bmp(pause_xpm);
m_playButton = new wxBitmapButton(m_panel, MMBoard_PlayButton, play_bmp);
m_playButton->Enable(FALSE);
m_playButton->Disable();
m_pauseButton = new wxBitmapButton(m_panel, MMBoard_PauseButton, pause_bmp);
m_pauseButton->Enable(FALSE);
m_pauseButton->Disable();
m_stopButton = new wxBitmapButton(m_panel, MMBoard_StopButton, stop_bmp);
m_stopButton->Enable(FALSE);
m_stopButton->Disable();
m_ejectButton = new wxBitmapButton(m_panel, MMBoard_EjectButton, eject_bmp);
m_ejectButton->Enable(FALSE);
m_ejectButton->Disable();
buttonSizer->Add(m_playButton, 0, wxALL, 2);
buttonSizer->Add(m_pauseButton, 0, wxALL, 2);
buttonSizer->Add(m_pauseButton, 0, wxALL, 2);
buttonSizer->Add(m_stopButton, 0, wxALL, 2);
buttonSizer->Add(m_ejectButton, 0, wxALL, 2);
// Top sizer
m_sizer = new wxBoxSizer(wxVERTICAL);
m_sizer->Add(new wxStaticLine(m_panel, -1), 0, wxGROW | wxCENTRE, 0);
#if wxUSE_STATLINE
m_sizer->Add(new wxStaticLine(m_panel, wxID_ANY), 0, wxGROW | wxCENTRE, 0);
#endif // wxUSE_STATLINE
m_sizer->Add(m_positionSlider, 0, wxCENTRE | wxGROW | wxALL, 2);
m_sizer->Add(new wxStaticLine(m_panel, -1), 0, wxGROW | wxCENTRE, 0);
#if wxUSE_STATLINE
m_sizer->Add(new wxStaticLine(m_panel, wxID_ANY), 0, wxGROW | wxCENTRE, 0);
#endif // wxUSE_STATLINE
m_sizer->Add(buttonSizer, 0, wxALL, 0);
m_sizer->Add(new wxStaticLine(m_panel, -1), 0, wxGROW | wxCENTRE, 0);
#if wxUSE_STATLINE
m_sizer->Add(new wxStaticLine(m_panel, wxID_ANY), 0, wxGROW | wxCENTRE, 0);
#endif // wxUSE_STATLINE
m_sizer->Add(infoPanel, 1, wxCENTRE | wxGROW, 0);
m_panel->SetSizer(m_sizer);
m_panel->SetAutoLayout(TRUE);
m_sizer->Fit(this);
m_sizer->SetSizeHints(this);
@@ -359,7 +367,7 @@ MMBoardFrame::~MMBoardFrame()
{
if (m_opened_file)
delete m_opened_file;
delete m_refreshTimer;
}
@@ -368,7 +376,7 @@ void MMBoardFrame::OpenVideoWindow()
if (m_video_window)
return;
m_video_window = new wxWindow(m_panel, -1, wxDefaultPosition, wxSize(200, 200));
m_video_window = new wxWindow(m_panel, wxID_ANY, wxDefaultPosition, wxSize(200, 200));
m_video_window->SetBackgroundColour(*wxBLACK);
m_sizer->Prepend(m_video_window, 2, wxGROW | wxSHRINK | wxCENTRE, 1);
@@ -391,8 +399,8 @@ void MMBoardFrame::CloseVideoWindow()
void MMBoardFrame::OnQuit(wxCommandEvent& WXUNUSED(event))
{
// TRUE is to force the frame to close
Close(TRUE);
// true is to force the frame to close
Close(true);
}
void MMBoardFrame::OnAbout(wxCommandEvent& WXUNUSED(event))
@@ -400,15 +408,15 @@ void MMBoardFrame::OnAbout(wxCommandEvent& WXUNUSED(event))
wxString msg;
msg.Printf( wxT("wxWidgets Multimedia board v1.0a, wxMMedia v2.0a:\n")
wxT("an example of the capabilities of the wxWidgets multimedia classes.\n")
wxT("Copyright 1999, 2000, Guilhem Lavaux.\n"));
wxT("Copyright 1999, 2000, Guilhem Lavaux.\n"));
wxMessageBox(msg, _T("About MMBoard"), wxOK | wxICON_INFORMATION, this);
}
void MMBoardFrame::OnOpen(wxCommandEvent& WXUNUSED(event))
{
wxString selected_file;
if (m_opened_file) {
if (!m_opened_file->IsStopped()) {
wxCommandEvent event2;
@@ -416,33 +424,35 @@ void MMBoardFrame::OnOpen(wxCommandEvent& WXUNUSED(event))
}
delete m_opened_file;
}
// select a file to be opened
selected_file = wxLoadFileSelector(_T("multimedia"), _T("*"), NULL, this);
if (selected_file.IsNull())
return;
m_opened_file = MMBoardManager::Open(selected_file);
// Change the range values of the slider.
MMBoardTime length;
length = m_opened_file->GetLength();
m_positionSlider->SetRange(0, length.hours * 3600 + length.minutes * 60 + length.seconds);
// Update misc info
UpdateMMedInfo();
#if wxUSE_STATUSBAR
SetStatusText(selected_file, 2);
#endif // wxUSE_STATUSBAR
// Update info text
UpdateInfoText();
// Enable a few buttons
m_playButton->Enable(TRUE);
m_ejectButton->Enable(TRUE);
m_positionSlider->Enable(TRUE);
m_playButton->Enable();
m_ejectButton->Enable();
m_positionSlider->Enable();
if (m_opened_file->NeedWindow()) {
OpenVideoWindow();
m_opened_file->SetWindow(m_video_window);
@@ -453,27 +463,26 @@ void MMBoardFrame::OnOpen(wxCommandEvent& WXUNUSED(event))
void MMBoardFrame::UpdateInfoText()
{
wxString infotext1, infotext2;
if (m_opened_file) {
infotext1 = wxT("File type:\n\t");
infotext1 += m_opened_file->GetStringType() + wxT("\n");
infotext2 = wxT("File informations:\n\n");
infotext2 += m_opened_file->GetStringInformation();
} else {
infotext1 = wxT("File type: \n\tNo file opened");
infotext2 = wxT("File informations:\nNo information\n\n\n\n\n");
}
m_fileType->SetLabel(infotext1);
m_infoText->SetLabel(infotext2);
}
void MMBoardFrame::UpdateMMedInfo()
{
wxString temp_string;
MMBoardTime current, length;
if (m_opened_file) {
current = m_opened_file->GetPosition();
length = m_opened_file->GetLength();
@@ -482,11 +491,16 @@ void MMBoardFrame::UpdateMMedInfo()
length = current;
}
#if wxUSE_STATUSBAR
// We refresh the status bar
wxString temp_string;
temp_string.Printf(wxT("%02d:%02d / %02d:%02d"), current.hours * 60 + current.minutes,
current.seconds, length.hours * 60 + length.minutes, length.seconds);
SetStatusText(temp_string, 1);
#else
wxUnusedVar(length);
#endif // wxUSE_STATUSBAR
// We set the slider position
m_positionSlider->SetValue(current.hours * 3600 + current.minutes * 60 + current.seconds);
}
@@ -497,33 +511,35 @@ void MMBoardFrame::UpdateMMedInfo()
void MMBoardFrame::OnRefreshInfo(wxEvent& WXUNUSED(event))
{
UpdateMMedInfo();
if (m_opened_file->IsStopped()) {
if (m_opened_file->IsStopped())
{
m_refreshTimer->Stop();
m_playButton->Enable(TRUE);
m_stopButton->Enable(FALSE);
m_pauseButton->Enable(FALSE);
m_playButton->Enable();
m_stopButton->Disable();
m_pauseButton->Disable();
}
}
void MMBoardFrame::OnPlay(wxCommandEvent& WXUNUSED(event))
{
m_stopButton->Enable(TRUE);
m_pauseButton->Enable(TRUE);
m_playButton->Enable(FALSE);
if (m_opened_file->IsPaused()) {
m_stopButton->Enable();
m_pauseButton->Enable();
m_playButton->Disable();
if (m_opened_file->IsPaused())
{
m_opened_file->Resume();
return;
}
m_refreshTimer->Start(1000, FALSE);
m_refreshTimer->Start(1000, false);
m_opened_file->Play();
m_stopButton->Enable(TRUE);
m_pauseButton->Enable(TRUE);
m_playButton->Enable(FALSE);
m_stopButton->Enable();
m_pauseButton->Enable();
m_playButton->Disable();
}
void MMBoardFrame::OnStop(wxCommandEvent& WXUNUSED(event))
@@ -531,18 +547,18 @@ void MMBoardFrame::OnStop(wxCommandEvent& WXUNUSED(event))
m_opened_file->Stop();
m_refreshTimer->Stop();
m_stopButton->Enable(FALSE);
m_playButton->Enable(TRUE);
m_stopButton->Disable();
m_playButton->Enable();
UpdateMMedInfo();
}
void MMBoardFrame::OnPause(wxCommandEvent& WXUNUSED(event))
{
m_opened_file->Pause();
m_playButton->Enable(TRUE);
m_pauseButton->Enable(FALSE);
m_playButton->Enable();
m_pauseButton->Disable();
}
void MMBoardFrame::OnEject(wxCommandEvent& WXUNUSED(event))
@@ -551,12 +567,12 @@ void MMBoardFrame::OnEject(wxCommandEvent& WXUNUSED(event))
delete m_opened_file;
m_opened_file = NULL;
m_playButton->Enable(FALSE);
m_pauseButton->Enable(FALSE);
m_stopButton->Enable(FALSE);
m_ejectButton->Enable(FALSE);
m_positionSlider->Enable(FALSE);
m_playButton->Disable();
m_pauseButton->Disable();
m_stopButton->Disable();
m_ejectButton->Disable();
m_positionSlider->Disable();
UpdateInfoText();
UpdateMMedInfo();
@@ -566,7 +582,7 @@ void MMBoardFrame::OnSetPosition(wxCommandEvent& WXUNUSED(event))
{
wxUint32 itime;
MMBoardTime btime;
itime = m_positionSlider->GetValue();
btime.seconds = itime % 60;
btime.minutes = (itime / 60) % 60;

View File

@@ -6,7 +6,7 @@
// Created: 12/07/98
// RCS-ID: $Id$
// Copyright: (c) Julian Smart
// Licence: wxWindows licence
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#ifdef __GNUG__
@@ -49,7 +49,7 @@ DiagramDocument::~DiagramDocument(void)
bool DiagramDocument::OnCloseDocument(void)
{
diagram.DeleteAllShapes();
return TRUE;
return true;
}
#if wxUSE_STD_IOSTREAM
@@ -130,7 +130,7 @@ wxInputStream& DiagramDocument::LoadObject(wxInputStream& stream)
DiagramCommand::DiagramCommand(const wxString& name, int command, DiagramDocument *ddoc, wxClassInfo *info, double xx, double yy,
bool sel, wxShape *theShape, wxShape *fs, wxShape *ts):
wxCommand(TRUE, name)
wxCommand(true, name)
{
doc = ddoc;
cmd = command;
@@ -143,11 +143,11 @@ DiagramCommand::DiagramCommand(const wxString& name, int command, DiagramDocumen
x = xx;
y = yy;
selected = sel;
deleteShape = FALSE;
deleteShape = false;
}
DiagramCommand::DiagramCommand(const wxString& name, int command, DiagramDocument *ddoc, wxBrush *backgroundColour, wxShape *theShape):
wxCommand(TRUE, name)
wxCommand(true, name)
{
doc = ddoc;
cmd = command;
@@ -157,14 +157,14 @@ DiagramCommand::DiagramCommand(const wxString& name, int command, DiagramDocumen
shapeInfo = NULL;
x = 0.0;
y = 0.0;
selected = FALSE;
deleteShape = FALSE;
selected = false;
deleteShape = false;
shapeBrush = backgroundColour;
shapePen = NULL;
}
DiagramCommand::DiagramCommand(const wxString& name, int command, DiagramDocument *ddoc, const wxString& lab, wxShape *theShape):
wxCommand(TRUE, name)
wxCommand(true, name)
{
doc = ddoc;
cmd = command;
@@ -174,8 +174,8 @@ DiagramCommand::DiagramCommand(const wxString& name, int command, DiagramDocumen
shapeInfo = NULL;
x = 0.0;
y = 0.0;
selected = FALSE;
deleteShape = FALSE;
selected = false;
deleteShape = false;
shapeBrush = NULL;
shapePen = NULL;
shapeLabel = lab;
@@ -198,9 +198,9 @@ bool DiagramCommand::Do(void)
{
if (shape)
{
deleteShape = TRUE;
deleteShape = true;
shape->Select(FALSE);
shape->Select(false);
// Generate commands to explicitly remove each connected line.
RemoveLines(shape);
@@ -214,7 +214,7 @@ bool DiagramCommand::Do(void)
}
shape->Unlink();
doc->Modify(TRUE);
doc->Modify(true);
doc->UpdateAllViews();
}
@@ -230,14 +230,14 @@ bool DiagramCommand::Do(void)
theShape = (wxShape *)shapeInfo->CreateObject();
theShape->AssignNewIds();
theShape->SetEventHandler(new MyEvtHandler(theShape, theShape, wxEmptyString));
theShape->SetCentreResize(FALSE);
theShape->SetCentreResize(false);
theShape->SetPen(wxBLACK_PEN);
theShape->SetBrush(wxCYAN_BRUSH);
theShape->SetSize(60, 60);
}
doc->GetDiagram()->AddShape(theShape);
theShape->Show(TRUE);
theShape->Show(true);
wxClientDC dc(theShape->GetCanvas());
theShape->GetCanvas()->PrepareDC(dc);
@@ -245,9 +245,9 @@ bool DiagramCommand::Do(void)
theShape->Move(dc, x, y);
shape = theShape;
deleteShape = FALSE;
deleteShape = false;
doc->Modify(TRUE);
doc->Modify(true);
doc->UpdateAllViews();
break;
}
@@ -276,7 +276,7 @@ bool DiagramCommand::Do(void)
fromShape->AddLine((wxLineShape *)theShape, toShape);
theShape->Show(TRUE);
theShape->Show(true);
wxClientDC dc(theShape->GetCanvas());
theShape->GetCanvas()->PrepareDC(dc);
@@ -287,9 +287,9 @@ bool DiagramCommand::Do(void)
toShape->Move(dc, toShape->GetX(), toShape->GetY());
shape = theShape;
deleteShape = FALSE;
deleteShape = false;
doc->Modify(TRUE);
doc->Modify(true);
doc->UpdateAllViews();
break;
}
@@ -305,7 +305,7 @@ bool DiagramCommand::Do(void)
shapeBrush = oldBrush;
shape->Draw(dc);
doc->Modify(TRUE);
doc->Modify(true);
doc->UpdateAllViews();
}
@@ -326,14 +326,14 @@ bool DiagramCommand::Do(void)
shape->FormatText(dc, /* (char*) (const char*) */ myHandler->label);
shape->Draw(dc);
doc->Modify(TRUE);
doc->Modify(true);
doc->UpdateAllViews();
}
break;
}
}
return TRUE;
return true;
}
bool DiagramCommand::Undo(void)
@@ -345,7 +345,7 @@ bool DiagramCommand::Undo(void)
if (shape)
{
doc->GetDiagram()->AddShape(shape);
shape->Show(TRUE);
shape->Show(true);
if (shape->IsKindOf(CLASSINFO(wxLineShape)))
{
@@ -354,11 +354,11 @@ bool DiagramCommand::Undo(void)
fromShape->AddLine(lineShape, toShape);
}
if (selected)
shape->Select(TRUE);
shape->Select(true);
deleteShape = FALSE;
deleteShape = false;
}
doc->Modify(TRUE);
doc->Modify(true);
doc->UpdateAllViews();
break;
}
@@ -370,12 +370,12 @@ bool DiagramCommand::Undo(void)
wxClientDC dc(shape->GetCanvas());
shape->GetCanvas()->PrepareDC(dc);
shape->Select(FALSE, &dc);
shape->Select(false, &dc);
doc->GetDiagram()->RemoveShape(shape);
shape->Unlink();
deleteShape = TRUE;
deleteShape = true;
}
doc->Modify(TRUE);
doc->Modify(true);
doc->UpdateAllViews();
break;
}
@@ -391,7 +391,7 @@ bool DiagramCommand::Undo(void)
shapeBrush = oldBrush;
shape->Draw(dc);
doc->Modify(TRUE);
doc->Modify(true);
doc->UpdateAllViews();
}
break;
@@ -411,20 +411,20 @@ bool DiagramCommand::Undo(void)
shape->FormatText(dc, /* (char*) (const char*) */ myHandler->label);
shape->Draw(dc);
doc->Modify(TRUE);
doc->Modify(true);
doc->UpdateAllViews();
}
break;
}
}
return TRUE;
return true;
}
// Remove each individual line connected to a shape by sending a command.
void DiagramCommand::RemoveLines(wxShape *shape)
{
wxNode *node = shape->GetLines().GetFirst();
wxObjectList::compatibility_iterator node = shape->GetLines().GetFirst();
while (node)
{
wxLineShape *line = (wxLineShape *)node->GetData();
@@ -448,14 +448,14 @@ void MyEvtHandler::OnLeftClick(double WXUNUSED(x), double WXUNUSED(y), int keys,
// Selection is a concept the library knows about
if (GetShape()->Selected())
{
GetShape()->Select(FALSE, &dc);
GetShape()->Select(false, &dc);
GetShape()->GetCanvas()->Redraw(dc); // Redraw because bits of objects will be are missing
}
else
{
// Ensure no other shape is selected, to simplify Undo/Redo code
bool redraw = FALSE;
wxNode *node = GetShape()->GetCanvas()->GetDiagram()->GetShapeList()->GetFirst();
bool redraw = false;
wxObjectList::compatibility_iterator node = GetShape()->GetCanvas()->GetDiagram()->GetShapeList()->GetFirst();
while (node)
{
wxShape *eachShape = (wxShape *)node->GetData();
@@ -463,13 +463,13 @@ void MyEvtHandler::OnLeftClick(double WXUNUSED(x), double WXUNUSED(y), int keys,
{
if (eachShape->Selected())
{
eachShape->Select(FALSE, &dc);
redraw = TRUE;
eachShape->Select(false, &dc);
redraw = true;
}
}
node = node->GetNext();
}
GetShape()->Select(TRUE, &dc);
GetShape()->Select(true, &dc);
if (redraw)
GetShape()->GetCanvas()->Redraw(dc);
}
@@ -480,7 +480,9 @@ void MyEvtHandler::OnLeftClick(double WXUNUSED(x), double WXUNUSED(y), int keys,
}
else
{
#if wxUSE_STATUSBAR
wxGetApp().frame->SetStatusText(label);
#endif // wxUSE_STATUSBAR
}
}
@@ -535,7 +537,7 @@ void MyEvtHandler::OnEndDragRight(double x, double y, int WXUNUSED(keys), int WX
{
canvas->view->GetDocument()->GetCommandProcessor()->Submit(
new DiagramCommand(_T("wxLineShape"), OGLEDIT_ADD_LINE, (DiagramDocument *)canvas->view->GetDocument(), CLASSINFO(wxLineShape),
0.0, 0.0, FALSE, NULL, GetShape(), otherShape));
0.0, 0.0, false, NULL, GetShape(), otherShape));
}
}
@@ -558,7 +560,7 @@ bool MyDiagram::OnShapeSave(wxExprDatabase& db, wxShape& shape, wxExpr& expr)
wxDiagram::OnShapeSave(db, shape, expr);
MyEvtHandler *handler = (MyEvtHandler *)shape.GetEventHandler();
expr.AddAttributeValueString(_T("label"), handler->label);
return TRUE;
return true;
}
bool MyDiagram::OnShapeLoad(wxExprDatabase& db, wxShape& shape, wxExpr& expr)
@@ -571,7 +573,7 @@ bool MyDiagram::OnShapeLoad(wxExprDatabase& db, wxShape& shape, wxExpr& expr)
if (label)
delete[] label;
return TRUE;
return true;
}
#endif

View File

@@ -6,7 +6,7 @@
// Created: 12/07/98
// RCS-ID: $Id$
// Copyright: (c) Julian Smart
// Licence: wxWindows licence
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#ifndef _OGLSAMPLE_DOC_H_
@@ -164,7 +164,7 @@ class DiagramCommand: public wxCommand
public:
// Multi-purpose constructor for creating, deleting shapes
DiagramCommand(const wxString& name, int cmd, DiagramDocument *ddoc, wxClassInfo *shapeInfo = NULL,
double x = 0.0, double y = 0.0, bool sel = FALSE, wxShape *theShape = NULL, wxShape *fs = NULL, wxShape *ts = NULL);
double x = 0.0, double y = 0.0, bool sel = false, wxShape *theShape = NULL, wxShape *fs = NULL, wxShape *ts = NULL);
// Property-changing command constructors
DiagramCommand(const wxString& name, int cmd, DiagramDocument *ddoc, wxBrush *backgroundColour, wxShape *theShape);

View File

@@ -6,7 +6,7 @@
// Created: 12/07/98
// RCS-ID: $Id$
// Copyright: (c) Julian Smart
// Licence: wxWindows licence
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#ifdef __GNUG__
@@ -118,12 +118,14 @@ bool MyApp::OnInit(void)
//// Associate the menu bar with the frame
frame->SetMenuBar(menu_bar);
#if wxUSE_STATUSBAR
frame->CreateStatusBar(1);
#endif // wxUSE_STATUSBAR
frame->Centre(wxBOTH);
frame->Show(TRUE);
frame->Show(true);
return TRUE;
return true;
}
int MyApp::OnExit(void)
@@ -147,7 +149,7 @@ END_EVENT_TABLE()
MyFrame::MyFrame(wxDocManager *manager, wxFrame *frame, const wxString& title,
const wxPoint& pos, const wxSize& size, long type):
wxDocParentFrame(manager, frame, -1, title, pos, size, type)
wxDocParentFrame(manager, frame, wxID_ANY, title, pos, size, type)
{
canvas = NULL;
palette = NULL;
@@ -197,7 +199,7 @@ MyCanvas *MyFrame::CreateCanvas(wxView *view, wxFrame *parent)
parent->GetClientSize(&width, &height);
// Non-retained canvas
MyCanvas *canvas = new MyCanvas(view, parent, -1, wxPoint(0, 0), wxSize(width, height), 0);
MyCanvas *canvas = new MyCanvas(view, parent, wxID_ANY, wxPoint(0, 0), wxSize(width, height), 0);
canvas->SetCursor(wxCursor(wxCURSOR_HAND));
// Give it scrollbars

View File

@@ -6,7 +6,7 @@
// Created: 12/07/98
// RCS-ID: $Id$
// Copyright: (c) Julian Smart
// Licence: wxWindows licence
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#if defined(__GNUG__) && !defined(__APPLE__)

View File

@@ -6,7 +6,7 @@
// Created: 12/07/98
// RCS-ID: $Id$
// Copyright: (c) Julian Smart
// Licence: wxWindows licence
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#ifdef __GNUG__
@@ -49,7 +49,7 @@
EditorToolPalette::EditorToolPalette(wxWindow* parent, const wxPoint& pos, const wxSize& size,
long style):
TOOLPALETTECLASS(parent, -1, pos, size, style)
TOOLPALETTECLASS(parent, wxID_ANY, pos, size, style)
{
currentlySelected = -1;
}
@@ -58,7 +58,7 @@ bool EditorToolPalette::OnLeftClick(int toolIndex, bool toggled)
{
// BEGIN mutual exclusivity code
if (toggled && (currentlySelected != -1) && (toolIndex != currentlySelected))
ToggleTool(currentlySelected, FALSE);
ToggleTool(currentlySelected, false);
if (toggled)
currentlySelected = toolIndex;
@@ -66,7 +66,7 @@ bool EditorToolPalette::OnLeftClick(int toolIndex, bool toggled)
currentlySelected = -1;
// END mutual exclusivity code
return TRUE;
return true;
}
void EditorToolPalette::OnMouseEnter(int WXUNUSED(toolIndex))
@@ -96,21 +96,21 @@ EditorToolPalette *MyApp::CreatePalette(wxFrame *parent)
wxBitmap PaletteArrow(arrow_xpm);
#endif
EditorToolPalette *palette = new EditorToolPalette(parent, wxPoint(0, 0), wxSize(-1, -1),
EditorToolPalette *palette = new EditorToolPalette(parent, wxPoint(0, 0), wxDefaultSize,
wxTB_VERTICAL);
palette->SetMargins(2, 2);
palette->SetToolBitmapSize(wxSize(22, 22));
palette->AddTool(PALETTE_ARROW, PaletteArrow, wxNullBitmap, TRUE, 0, -1, NULL, _T("Pointer"));
palette->AddTool(PALETTE_TOOL1, PaletteTool1, wxNullBitmap, TRUE, 0, -1, NULL, _T("Tool 1"));
palette->AddTool(PALETTE_TOOL2, PaletteTool2, wxNullBitmap, TRUE, 0, -1, NULL, _T("Tool 2"));
palette->AddTool(PALETTE_TOOL3, PaletteTool3, wxNullBitmap, TRUE, 0, -1, NULL, _T("Tool 3"));
palette->AddTool(PALETTE_TOOL4, PaletteTool4, wxNullBitmap, TRUE, 0, -1, NULL, _T("Tool 4"));
palette->AddTool(PALETTE_ARROW, PaletteArrow, wxNullBitmap, true, 0, wxDefaultCoord, NULL, _T("Pointer"));
palette->AddTool(PALETTE_TOOL1, PaletteTool1, wxNullBitmap, true, 0, wxDefaultCoord, NULL, _T("Tool 1"));
palette->AddTool(PALETTE_TOOL2, PaletteTool2, wxNullBitmap, true, 0, wxDefaultCoord, NULL, _T("Tool 2"));
palette->AddTool(PALETTE_TOOL3, PaletteTool3, wxNullBitmap, true, 0, wxDefaultCoord, NULL, _T("Tool 3"));
palette->AddTool(PALETTE_TOOL4, PaletteTool4, wxNullBitmap, true, 0, wxDefaultCoord, NULL, _T("Tool 4"));
palette->Realize();
palette->ToggleTool(PALETTE_ARROW, TRUE);
palette->ToggleTool(PALETTE_ARROW, true);
palette->currentlySelected = PALETTE_ARROW;
return palette;
}

View File

@@ -6,7 +6,7 @@
// Created: 12/07/98
// RCS-ID: $Id$
// Copyright: (c) Julian Smart
// Licence: wxWindows licence
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#ifndef _OGLSAMPLE_PALETTE_H_

View File

@@ -6,7 +6,7 @@
// Created: 12/07/98
// RCS-ID: $Id$
// Copyright: (c) Julian Smart
// Licence: wxWindows licence
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#ifdef __GNUG__
@@ -52,7 +52,7 @@ bool DiagramView::OnCreate(wxDocument *doc, long WXUNUSED(flags))
canvas->view = this;
SetFrame(frame);
Activate(TRUE);
Activate(true);
// Initialize the edit menu Undo and Redo items
doc->GetCommandProcessor()->SetEditMenu(((MyFrame *)frame)->editMenu);
@@ -63,10 +63,10 @@ bool DiagramView::OnCreate(wxDocument *doc, long WXUNUSED(flags))
shapeCanvas->SetDiagram(diagramDoc->GetDiagram());
diagramDoc->GetDiagram()->SetCanvas(shapeCanvas);
return TRUE;
return true;
}
#define CENTER FALSE // Place the drawing to the center of the page
#define CENTER false // Place the drawing to the center of the page
// Sneakily gets used for default print/preview
@@ -127,7 +127,7 @@ void DiagramView::OnDraw(wxDC *dc)
if (diagram_p->GetShapeList())
{
/* wxCursor *old_cursor = NULL; */
wxNode *current = diagram_p->GetShapeList()->GetFirst();
wxObjectList::compatibility_iterator current = diagram_p->GetShapeList()->GetFirst();
while (current) // Loop through the entire list of shapes
{
@@ -152,7 +152,7 @@ void DiagramView::OnUpdate(wxView *WXUNUSED(sender), wxObject *WXUNUSED(hint))
bool DiagramView::OnClose(bool WXUNUSED(deleteWindow))
{
if (!GetDocument()->Close())
return FALSE;
return false;
DiagramDocument *diagramDoc = (DiagramDocument *)GetDocument();
diagramDoc->GetDiagram()->SetCanvas(NULL);
@@ -168,27 +168,25 @@ bool DiagramView::OnClose(bool WXUNUSED(deleteWindow))
SetFrame(NULL);
Activate(FALSE);
Activate(false);
return TRUE;
return true;
}
wxShape *DiagramView::FindSelectedShape(void)
{
DiagramDocument *doc = (DiagramDocument *)GetDocument();
wxShape *theShape = NULL;
wxNode *node = doc->GetDiagram()->GetShapeList()->GetFirst();
wxObjectList::compatibility_iterator node = doc->GetDiagram()->GetShapeList()->GetFirst();
while (node)
{
wxShape *eachShape = (wxShape *)node->GetData();
if ((eachShape->GetParent() == NULL) && eachShape->Selected())
{
theShape = eachShape;
node = NULL;
return eachShape;
}
else node = node->GetNext();
}
return theShape;
return NULL;
}
void DiagramView::OnCut(wxCommandEvent& WXUNUSED(event))
@@ -197,7 +195,7 @@ void DiagramView::OnCut(wxCommandEvent& WXUNUSED(event))
wxShape *theShape = FindSelectedShape();
if (theShape)
doc->GetCommandProcessor()->Submit(new DiagramCommand(_T("Cut"), OGLEDIT_CUT, doc, NULL, 0.0, 0.0, TRUE, theShape));
doc->GetCommandProcessor()->Submit(new DiagramCommand(_T("Cut"), OGLEDIT_CUT, doc, NULL, 0.0, 0.0, true, theShape));
}
void DiagramView::OnChangeBackgroundColour(wxCommandEvent& WXUNUSED(event))
@@ -208,7 +206,7 @@ void DiagramView::OnChangeBackgroundColour(wxCommandEvent& WXUNUSED(event))
if (theShape)
{
wxColourData data;
data.SetChooseFull(TRUE);
data.SetChooseFull(true);
data.SetColour(theShape->GetBrush()->GetColour());
wxColourDialog *dialog = new wxColourDialog(frame, &data);

View File

@@ -6,7 +6,7 @@
// Created: 12/07/98
// RCS-ID: $Id$
// Copyright: (c) Julian Smart
// Licence: wxWindows licence
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#ifndef _OGLSAMPLE_VIEW_H_
@@ -26,7 +26,7 @@ class MyCanvas: public wxShapeCanvas
public:
wxView *view;
MyCanvas(wxView *view, wxWindow *parent = NULL, wxWindowID id = -1,
MyCanvas(wxView *view, wxWindow *parent = NULL, wxWindowID id = wxID_ANY,
const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize,
long style = wxRETAINED);
~MyCanvas(void);
@@ -62,7 +62,7 @@ class DiagramView: public wxView
bool OnCreate(wxDocument *doc, long flags);
void OnDraw(wxDC *dc);
void OnUpdate(wxView *sender, wxObject *hint = NULL);
bool OnClose(bool deleteWindow = TRUE);
bool OnClose(bool deleteWindow = true);
wxShape *FindSelectedShape(void);

View File

@@ -6,7 +6,7 @@
// Created: 12/07/98
// RCS-ID: $Id$
// Copyright: (c) Julian Smart
// Licence: wxWindows licence
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#ifdef __GNUG__
@@ -59,7 +59,7 @@ bool csEditorToolPalette::OnLeftClick(int toolIndex, bool toggled)
{
// BEGIN mutual exclusivity code
if (toggled && (m_currentlySelected != -1) && (toolIndex != m_currentlySelected))
ToggleTool(m_currentlySelected, FALSE);
ToggleTool(m_currentlySelected, false);
if (toggled)
m_currentlySelected = toolIndex;
@@ -67,11 +67,12 @@ bool csEditorToolPalette::OnLeftClick(int toolIndex, bool toggled)
m_currentlySelected = -1;
// END mutual exclusivity code
return TRUE;
return true;
}
void csEditorToolPalette::OnMouseEnter(int toolIndex)
{
#if wxUSE_STATUSBAR
wxString msg = wxEmptyString;
if (toolIndex == PALETTE_ARROW)
msg = _T("Pointer");
@@ -82,6 +83,9 @@ void csEditorToolPalette::OnMouseEnter(int toolIndex)
msg = symbol->GetName();
}
((wxFrame*) wxGetApp().GetTopWindow())->SetStatusText(msg);
#else
wxUnusedVar(toolIndex);
#endif // wxUSE_STATUSBAR
}
void csEditorToolPalette::SetSize(int x, int y, int width, int height, int sizeFlags)
@@ -93,10 +97,10 @@ void csEditorToolPalette::SetSelection(int sel)
{
if ((sel != m_currentlySelected) && (m_currentlySelected != -1))
{
ToggleTool(m_currentlySelected, FALSE);
ToggleTool(m_currentlySelected, false);
}
m_currentlySelected = sel;
ToggleTool(m_currentlySelected, TRUE);
ToggleTool(m_currentlySelected, true);
}
bool csApp::CreatePalette(wxFrame *parent)
@@ -107,11 +111,11 @@ bool csApp::CreatePalette(wxFrame *parent)
win->SetOrientation(wxLAYOUT_HORIZONTAL);
win->SetAlignment(wxLAYOUT_TOP);
win->SetBackgroundColour(wxSystemSettings::GetColour(wxSYS_COLOUR_3DFACE));
win->SetSashVisible(wxSASH_BOTTOM, TRUE);
win->SetSashVisible(wxSASH_BOTTOM, true);
m_diagramPaletteSashWindow = win;
m_diagramPaletteSashWindow->Show(FALSE);
m_diagramPaletteSashWindow->Show(false);
// Load palette bitmaps
#ifdef __WXMSW__
@@ -124,14 +128,14 @@ bool csApp::CreatePalette(wxFrame *parent)
wxSize toolBitmapSize(22, 22);
#endif
csEditorToolPalette *palette = new csEditorToolPalette(m_diagramPaletteSashWindow, ID_DIAGRAM_PALETTE, wxPoint(0, 0), wxSize(-1, -1), wxTB_HORIZONTAL|wxNO_BORDER);
csEditorToolPalette *palette = new csEditorToolPalette(m_diagramPaletteSashWindow, ID_DIAGRAM_PALETTE, wxPoint(0, 0), wxDefaultSize, wxTB_HORIZONTAL|wxNO_BORDER);
palette->SetMargins(2, 2);
palette->SetToolBitmapSize(toolBitmapSize);
palette->AddTool(PALETTE_ARROW, PaletteArrow, wxNullBitmap, TRUE, 0, -1, NULL, _T("Pointer"));
palette->AddTool(PALETTE_TEXT_TOOL, TextTool, wxNullBitmap, TRUE, 0, -1, NULL, _T("Text"));
palette->AddTool(PALETTE_ARROW, PaletteArrow, wxNullBitmap, true, 0, wxDefaultCoord, NULL, _T("Pointer"));
palette->AddTool(PALETTE_TEXT_TOOL, TextTool, wxNullBitmap, true, 0, wxDefaultCoord, NULL, _T("Text"));
wxChar** symbols = new wxChar*[20];
int noSymbols = 0;
@@ -171,7 +175,7 @@ bool csApp::CreatePalette(wxFrame *parent)
if (symbol)
{
wxBitmap* bitmap = GetSymbolDatabase()->CreateToolBitmap(symbol, toolBitmapSize);
palette->AddTool(symbol->GetToolId(), *bitmap, wxNullBitmap, TRUE, 0, -1, NULL, symbol->GetName());
palette->AddTool(symbol->GetToolId(), *bitmap, wxNullBitmap, true, 0, wxDefaultCoord, NULL, symbol->GetName());
delete bitmap;
}
@@ -185,7 +189,7 @@ bool csApp::CreatePalette(wxFrame *parent)
csSymbol* symbol = (csSymbol*) node->Data();
wxBitmap* bitmap = GetSymbolDatabase()->CreateToolBitmap(symbol, toolBitmapSize);
palette->AddTool(symbol->GetToolId(), *bitmap, wxNullBitmap, TRUE, 0, -1, NULL, symbol->GetName());
palette->AddTool(symbol->GetToolId(), *bitmap, wxNullBitmap, true, 0, wxDefaultCoord, NULL, symbol->GetName());
delete bitmap;
@@ -198,6 +202,6 @@ bool csApp::CreatePalette(wxFrame *parent)
palette->SetSelection(PALETTE_ARROW);
m_diagramPalette = palette;
return TRUE;
return true;
}

View File

@@ -6,7 +6,7 @@
// Created: 12/07/98
// RCS-ID: $Id$
// Copyright: (c) Julian Smart
// Licence: wxWindows licence
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#ifndef _STUDIO_CSPALETTE_H_
@@ -37,7 +37,7 @@ class csEditorToolPalette: public TOOLPALETTECLASS
{
public:
csEditorToolPalette(wxWindow *parent, wxWindowID id = -1, const wxPoint& pos = wxDefaultPosition,
csEditorToolPalette(wxWindow *parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
long style = wxTB_VERTICAL);

View File

@@ -6,7 +6,7 @@
// Created: 12/07/98
// RCS-ID: $Id$
// Copyright: (c) Julian Smart
// Licence: wxWindows licence
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#ifdef __GNUG__
@@ -45,14 +45,14 @@ bool wxDiagramClipboard::Copy(wxDiagram* diagram)
{
DeleteAllShapes();
return DoCopy(diagram, this, FALSE, NULL);
return DoCopy(diagram, this, false, NULL);
}
// Copy contents to the diagram, with new ids.
bool wxDiagramClipboard::Paste(wxDiagram* diagram, wxDC* dc, int offsetX, int offsetY)
{
return DoCopy(this, diagram, TRUE, dc, offsetX, offsetY);
return DoCopy(this, diagram, true, dc, offsetX, offsetY);
}
// Universal copy function (to or from clipboard).
@@ -70,7 +70,7 @@ bool wxDiagramClipboard::DoCopy(wxDiagram* diagramFrom, wxDiagram* diagramTo, bo
// First copy all node shapes.
wxList* shapeList = diagramFrom->GetShapeList();
wxNode* node = shapeList->GetFirst();
wxObjectList::compatibility_iterator node = shapeList->GetFirst();
while (node)
{
wxShape* shape = (wxShape*) node->GetData();
@@ -137,7 +137,7 @@ bool wxDiagramClipboard::DoCopy(wxDiagram* diagramFrom, wxDiagram* diagramTo, bo
// Make a list of all the new lines, in the same order as the old lines.
// Then apply the list of new lines to the shape.
wxList newLines;
wxNode* lineNode = shape->GetLines().GetFirst();
wxObjectList::compatibility_iterator lineNode = shape->GetLines().GetFirst();
while (lineNode)
{
wxLineShape* lineShape = (wxLineShape*) lineNode->GetData();
@@ -161,7 +161,7 @@ bool wxDiagramClipboard::DoCopy(wxDiagram* diagramFrom, wxDiagram* diagramTo, bo
OnEndCopy(diagramTo);
return TRUE;
return true;
}
#ifdef __WXMSW__
@@ -194,7 +194,7 @@ bool wxDiagramClipboard::CopyToClipboard(double scale)
wxChar buf[200];
wxSprintf(buf, _T("Sorry, could not allocate clipboard bitmap (%dx%d)"), (maxX+10), (maxY+10));
wxMessageBox(buf, _T("Clipboard copy problem"));
return FALSE;
return false;
}
wxMemoryDC memDC;
@@ -248,10 +248,10 @@ bool wxDiagramClipboard::OnAddShape(wxDiagram* diagramTo, wxShape* newShape, wxD
if (dc && (diagramTo != this))
{
newShape->Select(TRUE, dc);
newShape->Select(true, dc);
}
return TRUE;
return true;
}
/*
@@ -265,24 +265,24 @@ bool csDiagramClipboard::OnStartCopy(wxDiagram* diagramTo)
{
// Do nothing if copying to the clipboard
if (diagramTo == this)
return TRUE;
return true;
// Deselect all objects initially.
csDiagram* diagram = (csDiagram*) diagramTo;
csDiagramDocument* doc = diagram->GetDocument();
((csDiagramView*)doc->GetFirstView())->SelectAll(FALSE);
((csDiagramView*)doc->GetFirstView())->SelectAll(false);
m_currentCmd = new csDiagramCommand(_T("Paste"), doc);
return TRUE;
return true;
}
bool csDiagramClipboard::OnEndCopy(wxDiagram* diagramTo)
{
// Do nothing if copying to the clipboard
if (diagramTo == this)
return TRUE;
return true;
csDiagram* diagram = (csDiagram*) diagramTo;
csDiagramDocument* doc = diagram->GetDocument();
@@ -299,7 +299,7 @@ bool csDiagramClipboard::OnEndCopy(wxDiagram* diagramTo)
m_currentCmd = NULL;
}
}
return TRUE;
return true;
}
// Use the command framework to add the shapes, if we're copying to a diagram and
@@ -321,7 +321,7 @@ bool csDiagramClipboard::OnAddShape(wxDiagram* diagramTo, wxShape* newShape, wxD
m_currentCmd->AddState(new csCommandState(ID_CS_ADD_SHAPE_SELECT, newShape, NULL));
}
return TRUE;
return true;
}

View File

@@ -90,7 +90,7 @@ END_EVENT_TABLE()
// For 400x400 settings dialog, size your panels to about 375x325 in dialog editor
csSettingsDialog::csSettingsDialog(wxWindow* parent):
wxDialog(parent, -1, _T("Settings"), wxPoint(0, 0), wxSize(PROPERTY_DIALOG_WIDTH, PROPERTY_DIALOG_HEIGHT))
wxDialog(parent, wxID_ANY, _T("Settings"), wxPoint(0, 0), wxSize(PROPERTY_DIALOG_WIDTH, PROPERTY_DIALOG_HEIGHT))
{
m_generalSettings = NULL;
m_diagramSettings = NULL;
@@ -105,7 +105,7 @@ csSettingsDialog::csSettingsDialog(wxWindow* parent):
#endif
wxLoadFromResource(m_generalSettings, m_notebook, _T("general_settings_dialog"));
wxASSERT_MSG( (success), _T("Could not load general settings panel."));
m_notebook->AddPage(m_generalSettings, _T("General"), TRUE);
m_notebook->AddPage(m_generalSettings, _T("General"), true);
m_diagramSettings = new wxPanel;
@@ -181,7 +181,7 @@ bool csSettingsDialog::TransferDataToWindow()
str.Printf(_T("%d"), wxGetApp().GetGridSpacing());
gridSpacing->SetValue(str);
return TRUE;
return true;
}
bool csSettingsDialog::TransferDataFromWindow()
@@ -201,11 +201,11 @@ bool csSettingsDialog::TransferDataFromWindow()
if (wxGetApp().GetGridStyle() == csGRID_STYLE_DOTTED)
{
wxMessageBox(_T("Dotted grid style not yet implemented."), _T("Studio"), wxICON_EXCLAMATION);
return FALSE;
return false;
}
// Apply settings to all open diagram documents
wxNode* node = wxGetApp().GetDocManager()->GetDocuments().GetFirst();
wxObjectList::compatibility_iterator node = wxGetApp().GetDocManager()->GetDocuments().GetFirst();
while (node)
{
wxDocument* doc = (wxDocument*) node->GetData();
@@ -219,12 +219,12 @@ bool csSettingsDialog::TransferDataFromWindow()
{
case csGRID_STYLE_NONE:
{
diagram->SetSnapToGrid(FALSE);
diagram->SetSnapToGrid(false);
break;
}
case csGRID_STYLE_INVISIBLE:
{
diagram->SetSnapToGrid(TRUE);
diagram->SetSnapToGrid(true);
break;
}
case csGRID_STYLE_DOTTED:
@@ -237,7 +237,7 @@ bool csSettingsDialog::TransferDataFromWindow()
node = node->GetNext();
}
return TRUE;
return true;
}
/*
@@ -258,7 +258,7 @@ END_EVENT_TABLE()
csShapePropertiesDialog::csShapePropertiesDialog(wxWindow* parent, const wxString& title,
wxPanel* attributeDialog, const wxString& attributeDialogName):
wxDialog(parent, -1, title, wxPoint(0, 0), wxSize(SHAPE_PROPERTY_DIALOG_WIDTH, SHAPE_PROPERTY_DIALOG_HEIGHT))
wxDialog(parent, wxID_ANY, title, wxPoint(0, 0), wxSize(SHAPE_PROPERTY_DIALOG_WIDTH, SHAPE_PROPERTY_DIALOG_HEIGHT))
{
m_attributeDialog = attributeDialog;
m_alternativeAttributeDialog = NULL;
@@ -365,7 +365,7 @@ void csShapePropertiesDialog::SetDefaults()
if (!m_attributeDialog)
return;
wxWindowListNode* node = m_attributeDialog->GetChildren().GetFirst();
wxWindowList::compatibility_iterator node = m_attributeDialog->GetChildren().GetFirst();
while (node)
{
wxWindow* child = (wxWindow*) node->GetData();

View File

@@ -6,7 +6,7 @@
// Created: 12/07/98
// RCS-ID: $Id$
// Copyright: (c) Julian Smart
// Licence: wxWindows licence
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#ifdef __GNUG__
@@ -50,13 +50,13 @@ csDiagramDocument::~csDiagramDocument()
bool csDiagramDocument::OnCloseDocument()
{
m_diagram.DeleteAllShapes();
return TRUE;
return true;
}
bool csDiagramDocument::OnSaveDocument(const wxString& file)
{
if (file == wxEmptyString)
return FALSE;
return false;
if (!m_diagram.SaveFile(file))
{
@@ -68,18 +68,18 @@ bool csDiagramDocument::OnSaveDocument(const wxString& file)
(void)wxMessageBox(_T("Sorry, could not open this file for saving."), msgTitle, wxOK | wxICON_EXCLAMATION,
GetDocumentWindow());
return FALSE;
return false;
}
Modify(FALSE);
Modify(false);
SetFilename(file);
return TRUE;
return true;
}
bool csDiagramDocument::OnOpenDocument(const wxString& file)
{
if (!OnSaveModified())
return FALSE;
return false;
wxString msgTitle;
if (wxTheApp->GetAppName() != wxEmptyString)
@@ -92,15 +92,15 @@ bool csDiagramDocument::OnOpenDocument(const wxString& file)
{
(void)wxMessageBox(_T("Sorry, could not open this file."), msgTitle, wxOK|wxICON_EXCLAMATION,
GetDocumentWindow());
return FALSE;
return false;
}
SetFilename(file, TRUE);
Modify(FALSE);
SetFilename(file, true);
Modify(false);
UpdateAllViews();
return TRUE;
return true;
}
/*
* Implementation of drawing command
@@ -108,7 +108,7 @@ bool csDiagramDocument::OnOpenDocument(const wxString& file)
csDiagramCommand::csDiagramCommand(const wxString& name, csDiagramDocument *doc,
csCommandState* onlyState):
wxCommand(TRUE, name)
wxCommand(true, name)
{
m_doc = doc;
@@ -120,7 +120,7 @@ csDiagramCommand::csDiagramCommand(const wxString& name, csDiagramDocument *doc,
csDiagramCommand::~csDiagramCommand()
{
wxNode* node = m_states.GetFirst();
wxObjectList::compatibility_iterator node = m_states.GetFirst();
while (node)
{
csCommandState* state = (csCommandState*) node->GetData();
@@ -147,14 +147,14 @@ void csDiagramCommand::InsertState(csCommandState* state)
// Schedule all lines connected to the states to be cut.
void csDiagramCommand::RemoveLines()
{
wxNode* node = m_states.GetFirst();
wxObjectList::compatibility_iterator node = m_states.GetFirst();
while (node)
{
csCommandState* state = (csCommandState*) node->GetData();
wxShape* shape = state->GetShapeOnCanvas();
wxASSERT( (shape != NULL) );
wxNode *node1 = shape->GetLines().GetFirst();
wxObjectList::compatibility_iterator node1 = shape->GetLines().GetFirst();
while (node1)
{
wxLineShape *line = (wxLineShape *)node1->GetData();
@@ -172,7 +172,7 @@ void csDiagramCommand::RemoveLines()
csCommandState* csDiagramCommand::FindStateByShape(wxShape* shape)
{
wxNode* node = m_states.GetFirst();
wxObjectList::compatibility_iterator node = m_states.GetFirst();
while (node)
{
csCommandState* state = (csCommandState*) node->GetData();
@@ -185,30 +185,30 @@ csCommandState* csDiagramCommand::FindStateByShape(wxShape* shape)
bool csDiagramCommand::Do()
{
wxNode* node = m_states.GetFirst();
wxObjectList::compatibility_iterator node = m_states.GetFirst();
while (node)
{
csCommandState* state = (csCommandState*) node->GetData();
if (!state->Do())
return FALSE;
return false;
node = node->GetNext();
}
return TRUE;
return true;
}
bool csDiagramCommand::Undo()
{
// Undo in reverse order, so e.g. shapes get added
// back before the lines do.
wxNode* node = m_states.GetLast();
wxObjectList::compatibility_iterator node = m_states.GetLast();
while (node)
{
csCommandState* state = (csCommandState*) node->GetData();
if (!state->Undo())
return FALSE;
return false;
node = node->GetPrevious();
}
return TRUE;
return true;
}
csCommandState::csCommandState(int cmd, wxShape* savedState, wxShape* shapeOnCanvas)
@@ -264,8 +264,8 @@ bool csCommandState::Do()
m_linePositionTo = lineTo->GetLinePosition(lineShape);
}
m_shapeOnCanvas->Select(FALSE);
((csDiagramView*) m_doc->GetFirstView())->SelectShape(m_shapeOnCanvas, FALSE);
m_shapeOnCanvas->Select(false);
((csDiagramView*) m_doc->GetFirstView())->SelectShape(m_shapeOnCanvas, false);
m_shapeOnCanvas->Unlink();
@@ -288,7 +288,7 @@ bool csCommandState::Do()
lineTo->MoveLinks(dc);
}
m_doc->Modify(TRUE);
m_doc->Modify(true);
m_doc->UpdateAllViews();
break;
}
@@ -309,7 +309,7 @@ bool csCommandState::Do()
m_savedState = NULL;
m_doc->GetDiagram()->AddShape(m_shapeOnCanvas);
m_shapeOnCanvas->Show(TRUE);
m_shapeOnCanvas->Show(true);
wxClientDC dc(m_shapeOnCanvas->GetCanvas());
m_shapeOnCanvas->GetCanvas()->PrepareDC(dc);
@@ -321,11 +321,11 @@ bool csCommandState::Do()
if (m_cmd == ID_CS_ADD_SHAPE_SELECT)
{
m_shapeOnCanvas->Select(TRUE, &dc);
((csDiagramView*) m_doc->GetFirstView())->SelectShape(m_shapeOnCanvas, TRUE);
m_shapeOnCanvas->Select(true, &dc);
((csDiagramView*) m_doc->GetFirstView())->SelectShape(m_shapeOnCanvas, true);
}
m_doc->Modify(TRUE);
m_doc->Modify(true);
m_doc->UpdateAllViews();
break;
}
@@ -348,7 +348,7 @@ bool csCommandState::Do()
lineShape->GetFrom()->AddLine(lineShape, lineShape->GetTo(),
lineShape->GetAttachmentFrom(), lineShape->GetAttachmentTo());
lineShape->Show(TRUE);
lineShape->Show(true);
wxClientDC dc(lineShape->GetCanvas());
lineShape->GetCanvas()->PrepareDC(dc);
@@ -360,11 +360,11 @@ bool csCommandState::Do()
if (m_cmd == ID_CS_ADD_LINE_SELECT)
{
lineShape->Select(TRUE, &dc);
((csDiagramView*) m_doc->GetFirstView())->SelectShape(m_shapeOnCanvas, TRUE);
lineShape->Select(true, &dc);
((csDiagramView*) m_doc->GetFirstView())->SelectShape(m_shapeOnCanvas, true);
}
m_doc->Modify(TRUE);
m_doc->Modify(true);
m_doc->UpdateAllViews();
break;
}
@@ -401,7 +401,7 @@ bool csCommandState::Do()
bool isSelected = m_shapeOnCanvas->Selected();
if (isSelected)
m_shapeOnCanvas->Select(FALSE, & dc);
m_shapeOnCanvas->Select(false, & dc);
if (m_cmd == ID_CS_SIZE || m_cmd == ID_CS_ROTATE_CLOCKWISE || m_cmd == ID_CS_ROTATE_ANTICLOCKWISE ||
m_cmd == ID_CS_CHANGE_LINE_ORDERING || m_cmd == ID_CS_CHANGE_LINE_ATTACHMENT)
@@ -454,11 +454,11 @@ bool csCommandState::Do()
m_shapeOnCanvas->SetSize(width, height);
m_shapeOnCanvas->Move(dc, m_shapeOnCanvas->GetX(), m_shapeOnCanvas->GetY());
m_shapeOnCanvas->Show(TRUE);
m_shapeOnCanvas->Show(true);
// Recursively redraw links if we have a composite.
if (m_shapeOnCanvas->GetChildren().GetCount() > 0)
m_shapeOnCanvas->DrawLinks(dc, -1, TRUE);
m_shapeOnCanvas->DrawLinks(dc, -1, true);
m_shapeOnCanvas->GetEventHandler()->OnEndSize(width, height);
}
@@ -474,15 +474,15 @@ bool csCommandState::Do()
}
if (isSelected)
m_shapeOnCanvas->Select(TRUE, & dc);
m_shapeOnCanvas->Select(true, & dc);
m_doc->Modify(TRUE);
m_doc->Modify(true);
m_doc->UpdateAllViews();
break;
}
}
return TRUE;
return true;
}
bool csCommandState::Undo()
@@ -514,9 +514,9 @@ bool csCommandState::Undo()
lineShape->GetTo()->MoveLinks(dc);
}
m_shapeOnCanvas->Show(TRUE);
m_shapeOnCanvas->Show(true);
m_doc->Modify(TRUE);
m_doc->Modify(true);
m_doc->UpdateAllViews();
break;
}
@@ -547,8 +547,8 @@ bool csCommandState::Undo()
wxClientDC dc(m_shapeOnCanvas->GetCanvas());
m_shapeOnCanvas->GetCanvas()->PrepareDC(dc);
m_shapeOnCanvas->Select(FALSE, &dc);
((csDiagramView*) m_doc->GetFirstView())->SelectShape(m_shapeOnCanvas, FALSE);
m_shapeOnCanvas->Select(false, &dc);
((csDiagramView*) m_doc->GetFirstView())->SelectShape(m_shapeOnCanvas, false);
m_doc->GetDiagram()->RemoveShape(m_shapeOnCanvas);
m_shapeOnCanvas->Unlink(); // Unlinks the line, if it is a line
@@ -564,7 +564,7 @@ bool csCommandState::Undo()
m_savedState = m_shapeOnCanvas;
m_shapeOnCanvas = NULL;
m_doc->Modify(TRUE);
m_doc->Modify(true);
m_doc->UpdateAllViews();
break;
}
@@ -591,6 +591,6 @@ bool csCommandState::Undo()
}
}
return TRUE;
return true;
}

View File

@@ -6,7 +6,7 @@
// Created: 12/07/98
// RCS-ID: $Id$
// Copyright: (c) Julian Smart
// Licence: wxWindows licence
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#ifndef _STUDIO_DOC_H_

View File

@@ -52,8 +52,7 @@ BEGIN_EVENT_TABLE(csFrame, wxDocMDIParentFrame)
END_EVENT_TABLE()
// Define my frame constructor
csFrame::csFrame(wxDocManager* manager, wxFrame *parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size,
long style):
csFrame::csFrame(wxDocManager* manager, wxFrame *parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style):
wxDocMDIParentFrame(manager, parent, id, title, pos, size, style, _T("frame"))
{
CreateToolBar(wxNO_BORDER|wxTB_FLAT|wxTB_HORIZONTAL);
@@ -73,7 +72,10 @@ csFrame::csFrame(wxDocManager* manager, wxFrame *parent, wxWindowID id, const wx
void csFrame::OnHelp(wxCommandEvent& WXUNUSED(event))
{
wxGetApp().GetHelpController().DisplayContents();
wxHelpControllerBase* help;
help = wxGetApp().GetHelpController();
if (help)
help->DisplayContents();
}
void csFrame::OnSettings(wxCommandEvent& WXUNUSED(event))
@@ -85,7 +87,7 @@ void csFrame::OnSettings(wxCommandEvent& WXUNUSED(event))
void csFrame::OnQuit(wxCommandEvent& WXUNUSED(event))
{
Close(TRUE);
Close(true);
}
void csFrame::OnAbout(wxCommandEvent& WXUNUSED(event))
@@ -155,24 +157,24 @@ void csFrame::OnIdle(wxIdleEvent& event)
wxSashLayoutWindow* diagramToolBarWin = wxGetApp().GetDiagramToolBarSashWindow();
if (!paletteWin || !diagramToolBarWin)
return;
bool doLayout = FALSE;
bool doLayout = false;
if (GetActiveChild())
{
if (!paletteWin->IsShown() || !diagramToolBarWin->IsShown())
{
paletteWin->Show(TRUE);
diagramToolBarWin->Show(TRUE);
paletteWin->Show(true);
diagramToolBarWin->Show(true);
doLayout = TRUE;
doLayout = true;
}
}
else
{
if (paletteWin->IsShown() || diagramToolBarWin->IsShown())
{
paletteWin->Show(FALSE);
diagramToolBarWin->Show(FALSE);
doLayout = TRUE;
paletteWin->Show(false);
diagramToolBarWin->Show(false);
doLayout = true;
}
}
if (doLayout)
@@ -206,7 +208,7 @@ void csFrame::OnIdle(wxIdleEvent& event)
// General handler for disabling items
void csFrame::OnUpdateDisable(wxUpdateUIEvent& event)
{
event.Enable(FALSE);
event.Enable(false);
}
void csFrame::OnSaveUpdate(wxUpdateUIEvent& event)

View File

@@ -31,8 +31,7 @@ BEGIN_EVENT_TABLE(csProjectTreeCtrl, wxTreeCtrl)
END_EVENT_TABLE()
// Define my frame constructor
csProjectTreeCtrl::csProjectTreeCtrl(wxWindow *parent, const wxWindowID id, const wxPoint& pos, const wxSize& size,
long style):
csProjectTreeCtrl::csProjectTreeCtrl(wxWindow *parent, const wxWindowID id, const wxPoint& pos, const wxSize& size, long style):
wxTreeCtrl(parent, id, pos, size, style),
m_imageList(16, 16)
@@ -58,7 +57,7 @@ bool csApp::CreateProjectWindow(wxFrame *WXUNUSED(parent))
win->SetOrientation(wxLAYOUT_VERTICAL);
win->SetAlignment(wxLAYOUT_LEFT);
win->SetBackgroundColour(wxSystemSettings::GetColour(wxSYS_COLOUR_3DFACE));
win->SetSashVisible(wxSASH_RIGHT, TRUE);
win->SetSashVisible(wxSASH_RIGHT, true);
win->SetExtraBorderSize(5);
m_projectSashWindow = win;
@@ -67,10 +66,10 @@ bool csApp::CreateProjectWindow(wxFrame *WXUNUSED(parent))
wxDefaultSize, wxTR_HAS_BUTTONS|wxTR_LINES_AT_ROOT|wxDOUBLE_BORDER);
// For now, hide the window
m_projectSashWindow->Show(FALSE);
m_projectSashWindow->Show(false);
#endif
return TRUE;
return true;
}
// Fill out the project tree control

View File

@@ -6,7 +6,7 @@
// Created: 12/07/98
// RCS-ID: $Id$
// Copyright: (c) Julian Smart
// Licence: wxWindows licence
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#ifdef __GNUG__
@@ -130,7 +130,7 @@ void csEvtHandler::OnLeftClick(double WXUNUSED(x), double WXUNUSED(y), int keys,
// If the shape was selected, deselect it and vice versa.
bool selected = GetShape()->Selected();
view->SelectAll(FALSE);
view->SelectAll(false);
selected = !selected;
@@ -143,13 +143,13 @@ void csEvtHandler::OnLeftClick(double WXUNUSED(x), double WXUNUSED(y), int keys,
{
if (GetShape()->Selected())
{
GetShape()->Select(FALSE, &dc);
view->SelectShape(GetShape(), FALSE);
GetShape()->Select(false, &dc);
view->SelectShape(GetShape(), false);
}
else
{
GetShape()->Select(TRUE, &dc);
view->SelectShape(GetShape(), TRUE);
GetShape()->Select(true, &dc);
view->SelectShape(GetShape(), true);
}
GetShape()->GetCanvas()->Redraw(dc); // Redraw because bits of objects will be missing
}
@@ -159,7 +159,9 @@ void csEvtHandler::OnLeftClick(double WXUNUSED(x), double WXUNUSED(y), int keys,
}
else
{
#if wxUSE_STATUSBAR
((wxFrame*)wxGetApp().GetTopWindow())->SetStatusText(m_label);
#endif // wxUSE_STATUSBAR
}
}
@@ -299,7 +301,7 @@ void csEvtHandler::OnDragLeft(bool draw, double x, double y, int keys, int attac
GetShape()->GetEventHandler()->OnDrawOutline(dc, xx, yy, w, h);
// Draw bounding box for other selected shapes
wxNode* node = GetShape()->GetCanvas()->GetDiagram()->GetShapeList()->GetFirst();
wxObjectList::compatibility_iterator node = GetShape()->GetCanvas()->GetDiagram()->GetShapeList()->GetFirst();
while (node)
{
wxShape* shape = (wxShape*) node->GetData();
@@ -358,7 +360,7 @@ void csEvtHandler::OnBeginDragLeft(double x, double y, int keys, int attachment)
GetShape()->GetEventHandler()->OnDrawOutline(dc, xx, yy, w, h);
// Draw bounding box for other selected shapes
wxNode* node = GetShape()->GetCanvas()->GetDiagram()->GetShapeList()->GetFirst();
wxObjectList::compatibility_iterator node = GetShape()->GetCanvas()->GetDiagram()->GetShapeList()->GetFirst();
while (node)
{
wxShape* shape = (wxShape*) node->GetData();
@@ -413,7 +415,7 @@ void csEvtHandler::OnEndDragLeft(double x, double y, int keys, int attachment)
new csCommandState(ID_CS_MOVE, newShape, GetShape()));
// Move line points
wxNode* node = GetShape()->GetCanvas()->GetDiagram()->GetShapeList()->GetFirst();
wxObjectList::compatibility_iterator node = GetShape()->GetCanvas()->GetDiagram()->GetShapeList()->GetFirst();
while (node)
{
wxShape* shape = (wxShape*) node->GetData();
@@ -427,7 +429,7 @@ void csEvtHandler::OnEndDragLeft(double x, double y, int keys, int attachment)
{
wxLineShape* newLineShape = (wxLineShape*) lineShape->CreateNewCopy();
wxNode *node1 = newLineShape->GetLineControlPoints()->GetFirst();
wxObjectList::compatibility_iterator node1 = newLineShape->GetLineControlPoints()->GetFirst();
while (node1)
{
wxRealPoint *point = (wxRealPoint *)node1->GetData();
@@ -477,7 +479,7 @@ void csEvtHandler::OnSizingEndDragLeft(wxControlPoint* pt, double x, double y, i
wxClientDC dc(canvas);
canvas->PrepareDC(dc);
shape->SetDisableLabel(FALSE);
shape->SetDisableLabel(false);
if (lpt->m_type == CONTROL_POINT_LINE)
{
@@ -529,7 +531,7 @@ void csEvtHandler::OnSizingEndDragLeft(wxControlPoint* pt, double x, double y, i
shape->Recompute();
shape->ResetControlPoints();
if (!pt->m_eraseObject)
shape->Show(FALSE);
shape->Show(false);
*/
wxShape* newShape = shape->CreateNewCopy();
@@ -612,7 +614,7 @@ bool csEvtHandler::EditProperties()
// For now, no line property editing
if (shape->IsKindOf(CLASSINFO(wxLineShape)))
return FALSE;
return false;
csDiagramView* view = ((csCanvas*)shape->GetCanvas())->GetView();
@@ -677,7 +679,7 @@ bool csEvtHandler::EditProperties()
else
{
wxMessageBox(_T("Unrecognised shape."), _T("Studio"), wxICON_EXCLAMATION);
return FALSE;
return false;
}
csShapePropertiesDialog* dialog = new csShapePropertiesDialog(shape->GetCanvas()->GetParent(), title, attributeDialog, attributeDialogName);
@@ -685,7 +687,7 @@ bool csEvtHandler::EditProperties()
if (dialog->ShowModal() == wxID_CANCEL)
{
dialog->Destroy();
return FALSE;
return false;
}
wxString newLabel = dialog->GetGeneralPropertiesDialog()->GetShapeLabel();
@@ -699,7 +701,7 @@ bool csEvtHandler::EditProperties()
view->GetDocument()->GetCommandProcessor()->Submit(new csDiagramCommand(_T("Edit properties"), (csDiagramDocument*) view->GetDocument(),
new csCommandState(ID_CS_EDIT_PROPERTIES, newShape, shape)));
return TRUE;
return true;
}
/*
@@ -711,7 +713,7 @@ bool csDiagram::OnShapeSave(wxExprDatabase& db, wxShape& shape, wxExpr& expr)
wxDiagram::OnShapeSave(db, shape, expr);
csEvtHandler *handler = (csEvtHandler *)shape.GetEventHandler();
expr.AddAttributeValueString(_T("label"), handler->m_label);
return TRUE;
return true;
}
bool csDiagram::OnShapeLoad(wxExprDatabase& db, wxShape& shape, wxExpr& expr)
@@ -722,7 +724,7 @@ bool csDiagram::OnShapeLoad(wxExprDatabase& db, wxShape& shape, wxExpr& expr)
csEvtHandler *handler = new csEvtHandler(&shape, &shape, label);
shape.SetEventHandler(handler);
return TRUE;
return true;
}
IMPLEMENT_DYNAMIC_CLASS(csThinRectangleShape, wxDrawnShape)
@@ -741,7 +743,7 @@ csThinRectangleShape::csThinRectangleShape()
SetAttachmentMode(ATTACHMENT_MODE_BRANCHING);
SetBranchStyle(BRANCHING_ATTACHMENT_NORMAL|BRANCHING_ATTACHMENT_BLOB);
SetCentreResize(FALSE);
SetCentreResize(false);
}
IMPLEMENT_DYNAMIC_CLASS(csWideRectangleShape, wxDrawnShape)
@@ -760,7 +762,7 @@ csWideRectangleShape::csWideRectangleShape()
SetAttachmentMode(ATTACHMENT_MODE_BRANCHING);
SetBranchStyle(BRANCHING_ATTACHMENT_NORMAL|BRANCHING_ATTACHMENT_BLOB);
SetCentreResize(FALSE);
SetCentreResize(false);
}
IMPLEMENT_DYNAMIC_CLASS(csTriangleShape, wxDrawnShape)
@@ -814,7 +816,7 @@ csTriangleShape::csTriangleShape()
SetAttachmentMode(ATTACHMENT_MODE_BRANCHING);
SetBranchStyle(BRANCHING_ATTACHMENT_NORMAL|BRANCHING_ATTACHMENT_BLOB);
SetCentreResize(FALSE);
SetCentreResize(false);
}
IMPLEMENT_DYNAMIC_CLASS(csSemiCircleShape, wxDrawnShape)
@@ -911,7 +913,7 @@ csSemiCircleShape::csSemiCircleShape()
SetAttachmentMode(ATTACHMENT_MODE_BRANCHING);
SetBranchStyle(BRANCHING_ATTACHMENT_NORMAL|BRANCHING_ATTACHMENT_BLOB);
SetCentreResize(FALSE);
SetCentreResize(false);
}
IMPLEMENT_DYNAMIC_CLASS(csCircleShape, wxCircleShape)
@@ -926,7 +928,7 @@ csCircleShape::csCircleShape()
SetAttachmentMode(ATTACHMENT_MODE_BRANCHING);
SetBranchStyle(BRANCHING_ATTACHMENT_NORMAL|BRANCHING_ATTACHMENT_BLOB);
SetCentreResize(FALSE);
SetCentreResize(false);
}
IMPLEMENT_DYNAMIC_CLASS(csCircleShadowShape, wxCircleShape)
@@ -941,7 +943,7 @@ csCircleShadowShape::csCircleShadowShape()
SetAttachmentMode(ATTACHMENT_MODE_BRANCHING);
SetBranchStyle(BRANCHING_ATTACHMENT_NORMAL|BRANCHING_ATTACHMENT_BLOB);
SetCentreResize(FALSE);
SetCentreResize(false);
SetShadowMode(SHADOW_RIGHT);
}
@@ -971,7 +973,7 @@ csOctagonShape::csOctagonShape()
SetAttachmentMode(ATTACHMENT_MODE_BRANCHING);
SetBranchStyle(BRANCHING_ATTACHMENT_NORMAL|BRANCHING_ATTACHMENT_BLOB);
SetCentreResize(FALSE);
SetCentreResize(false);
}
// This is a transparent shape for drawing around other shapes.
@@ -983,7 +985,7 @@ csGroupShape::csGroupShape()
SetBrush(wxTRANSPARENT_BRUSH);
SetSize(csSTANDARD_SHAPE_WIDTH, csSTANDARD_SHAPE_WIDTH);
SetCentreResize(FALSE);
SetCentreResize(false);
}
void csGroupShape::OnDraw(wxDC& dc)
@@ -1013,20 +1015,20 @@ bool csGroupShape::HitTest(double x, double y, int* attachment, double* distance
if (x >= x1 && x <= x2)
{
if ((y >= y1 - edgeTolerance) && (y <= y1 + edgeTolerance))
return TRUE;
return true;
if ((y <= y2 + edgeTolerance) && (y >= y2 - edgeTolerance))
return TRUE;
return true;
}
// Left/right edges
if (y >= y1 && y <= y2)
{
if ((x >= x1 - edgeTolerance) && (x <= x1 + edgeTolerance))
return TRUE;
return true;
if ((x <= x2 + edgeTolerance) && (x >= x2 - edgeTolerance))
return TRUE;
return true;
}
return FALSE;
return false;
}
IMPLEMENT_DYNAMIC_CLASS(csTextBoxShape, wxRectangleShape)
@@ -1040,7 +1042,7 @@ csTextBoxShape::csTextBoxShape()
SetAttachmentMode(ATTACHMENT_MODE_NONE);
SetBranchStyle(BRANCHING_ATTACHMENT_NORMAL|BRANCHING_ATTACHMENT_BLOB);
SetCentreResize(FALSE);
SetCentreResize(false);
}
IMPLEMENT_DYNAMIC_CLASS(csLineShape, wxLineShape)
@@ -1066,7 +1068,7 @@ bool csLineShape::OnMoveMiddleControlPoint(wxDC& WXUNUSED(dc), wxLineControlPoin
view->GetDocument()->GetCommandProcessor()->Submit(new csDiagramCommand(_T("Move line point"), (csDiagramDocument*) view->GetDocument(),
new csCommandState(ID_CS_MOVE_LINE_POINT, newShape, this)));
return TRUE;
return true;
}
wxLabelShape* csLineShape::OnCreateLabelShape(wxLineShape *parent, wxShapeRegion *region, double w, double h)
@@ -1085,7 +1087,7 @@ bool csLineShape::OnLabelMovePre(wxDC& dc, wxLabelShape* labelShape, double x, d
view->GetDocument()->GetCommandProcessor()->Submit(new csDiagramCommand("Move label", (csDiagramDocument*) view->GetDocument(),
new csCommandState(ID_CS_MOVE_LABEL, newShape, this)));
return TRUE;
return true;
}
#endif

View File

@@ -73,8 +73,8 @@ public:
// Overridables
// Start/end copying
virtual bool OnStartCopy(wxDiagram* WXUNUSED(diagramTo)) { return TRUE; };
virtual bool OnEndCopy(wxDiagram* WXUNUSED(diagramTo)) { return TRUE; };
virtual bool OnStartCopy(wxDiagram* WXUNUSED(diagramTo)) { return true; };
virtual bool OnEndCopy(wxDiagram* WXUNUSED(diagramTo)) { return true; };
// Override this to e.g. have the shape added through a Do/Undo command system.
// By default, we'll just add it directly to the destination diagram, and

Some files were not shown because too many files have changed in this diff Show More