Commit Graph

32944 Commits

Author SHA1 Message Date
Mart Raudsepp
41e9579283 OnGetLineHeight and OnGetLinesHint are virtual, so document them as such. Closes bug #1445485
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38060 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-14 00:36:44 +00:00
Włodzimierz Skiba
8e25c1981b wxComboBox with SmartphoneCE has different members due to differnt wxChoice.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38059 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-14 00:35:05 +00:00
Mart Raudsepp
0902898a15 Docs: Escape underscores
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38058 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-14 00:24:53 +00:00
Robin Dunn
226de48a85 Dtor for wxHtmlCell
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38057 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-13 23:11:35 +00:00
Julian Smart
c6b81cebf1 If we processed a command event, return true, or we could end up processing
it again.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38054 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-13 15:11:14 +00:00
Włodzimierz Skiba
caf6e6dee8 TRUE/FALSE source cleaning.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38053 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-13 10:04:15 +00:00
Włodzimierz Skiba
b7e37e558d Init() does not belong to public.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38052 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-13 09:37:23 +00:00
Włodzimierz Skiba
61373fa8f3 Warning fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38051 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-13 09:21:30 +00:00
Włodzimierz Skiba
cfb6676306 Make wxListCtrl changes ported from 2.6 branch complete (fix for long list of errors at wxTinderbox).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38050 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-13 09:18:22 +00:00
Vadim Zeitlin
7891b4d450 don't send weird colours for different controls, this looks really bad under some platforms (such as Mac) and makes the text unreadable under the others; there is widgets sample now for testing whether the colour setting works interactively
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38047 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-12 20:58:21 +00:00
Vadim Zeitlin
361484a8db create a non readonly combobox
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38045 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-12 20:55:12 +00:00
Julian Smart
107ff6689a Added context menu
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38044 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-12 20:54:13 +00:00
Vadim Zeitlin
7d90194ccb fixed event generation for wxComboBox to be consistent with the other platforms and also simplified the code by using the existing wxChoice logic instead of reimplementing it in a broken way
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38043 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-12 20:53:27 +00:00
Vadim Zeitlin
c11f04122f fixed event generation for wxChoice: it now sends one and exactly one wxEVT_COMMAND_CHOICE_SELECTED irrespectively of how the item was chosen and only does it after the dropdown is closed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38042 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-12 20:20:16 +00:00
Vadim Zeitlin
d77d8c0719 don't send EVT_CHOICE events while the dropdown is opened for consistency with the other platforms
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38041 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-12 19:43:27 +00:00
Vadim Zeitlin
bc50a2ae95 log wxChoice events in the same format as wxComboBox ones to make it simpler to compare them
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38040 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-12 19:16:35 +00:00
Vadim Zeitlin
9ae1959972 use the sizer to layout the main window/panel (this allows to give more size to the log window by resizing the main frame while before it was pretty difficult to see anything in it)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38038 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-12 17:04:23 +00:00
Vadim Zeitlin
985f824c2b fixed printf format warnings for all platforms (previous fix for Darwin broke it for Linux)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38037 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-12 16:51:43 +00:00
Vadim Zeitlin
f87ab3cca3 don't set cursor coords to (0, 0) which could be invalid coordinates (in an empty grid)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38036 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-12 15:44:44 +00:00
Vadim Zeitlin
937f314d3f native implementation of wxDirDialog for wxCocoa (patch 1403780)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38035 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-12 15:30:52 +00:00
Włodzimierz Skiba
71ac8ec3c8 IsValid() is now in base class.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38034 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-12 15:25:58 +00:00
Włodzimierz Skiba
0360340068 Line-up interfaces to use size_t for GetCount()s (and count related api).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38033 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-12 15:14:12 +00:00
Vadim Zeitlin
5d0d3e6d72 use %lu and not %d print format for size_t arguments
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38032 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-12 15:14:00 +00:00
Vadim Zeitlin
31e57091f2 non virtual dtors warning fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38031 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-12 15:10:23 +00:00
Włodzimierz Skiba
43f06cfda1 Line-up interfaces to use size_t for GetCount()s (and count related api).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38030 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-12 14:49:25 +00:00
Vadim Zeitlin
e5efa97ec1 regenerated after changes in configure.in in revisions 1.1116 and 1.1117
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38029 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-12 14:44:43 +00:00
Włodzimierz Skiba
a862f3cc19 Make wxTinderbox pass dialup sample for DOS cross-build.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38028 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-12 14:34:31 +00:00
Vadim Zeitlin
2e1f50128a support mnemonics for wxStatic/RadioBox and made it easier to add support for more controls by virtualizing the mnemonics support logic (patch 1448178)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38027 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-12 14:21:19 +00:00
Vadim Zeitlin
186344760d support underlined fonts (patch 1448089)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38026 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-12 14:14:59 +00:00
Vadim Zeitlin
01c54165d1 don't require multimon.h any more now (patch 1446030); enable wxUSE_DISPLAY by default
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38025 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-12 13:49:21 +00:00
Vadim Zeitlin
b931e275f5 remove dead code from wxMatchWild (patch 1445809)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38024 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-12 13:39:41 +00:00
Vadim Zeitlin
20aa779e3e define size() in terms of length(), not vice versa, to make the code somewhat faster in non-optimized builds + some typo fixes in comments (patch 1440237)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38023 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-12 13:37:56 +00:00
Włodzimierz Skiba
9eb5cd3b1f wxCore build fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38022 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-12 13:35:59 +00:00
Vadim Zeitlin
0aa7c44136 don't require at least 8 bytes of sound data (patch 1340767); do check that we have enough data before reading it (and crashing)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38021 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-12 13:29:05 +00:00
Włodzimierz Skiba
cceed0407f wxBase build fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38020 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-12 13:28:55 +00:00
Włodzimierz Skiba
3b38e2a022 Line-up interfaces to use size_t for GetCount()s.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38019 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-12 13:15:53 +00:00
Włodzimierz Skiba
78fc4e5509 Line-up interfaces to use size_t for GetCount()s.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38018 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-12 13:08:24 +00:00
Włodzimierz Skiba
02e05e7e40 wxTinderbox build fix (!PCH support).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38017 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-12 13:03:40 +00:00
Włodzimierz Skiba
30d5f9f54e More wxMSW specific headers in precompiled headers.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38016 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-12 13:00:35 +00:00
Vadim Zeitlin
e894be201b GetNumberOfLines() now returns the number of physical, not logical, lines in the control in wxGTK2 as under the other platforms (patch 1438117)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38015 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-12 12:46:58 +00:00
Vadim Zeitlin
c01359d9d5 more accurate best size calculation logic (use the current date format)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38009 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-12 01:22:43 +00:00
Vadim Zeitlin
7fce89b944 deal with the situation when a (dynamic) event handler disconnects itself during its execution (and skips the event, too): this is used to crash but there is no reason it should
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38008 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-11 21:50:44 +00:00
David Surovell
2e91d506b2 minor cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38007 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-11 21:13:28 +00:00
Włodzimierz Skiba
f30f25b559 WXUNUSED is our coding standard.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38004 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-11 18:42:10 +00:00
Stefan Neis
6433b7f48a Removed -fno-strict-aliasing for OS/2 (not supported by all supported gcc versions).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38003 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-11 18:02:38 +00:00
Julian Smart
692ebda6c7 Applied patch [ 1372332 ] Support for WX_RESCOMP to allow MSYS+wx-config to work
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38001 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-11 14:51:45 +00:00
Julian Smart
32ceccf56f Fix crash caused by last change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38000 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-11 14:49:23 +00:00
Julian Smart
c4709ea55c Applied patch [ 1428990 ] wxUniv: patch for toolbar button remain in pressed status
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37999 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-11 14:40:41 +00:00
Julian Smart
de63b922ca Applied patch [ 1443707 ] kill "cast truncates constant value" warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37998 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-11 14:33:25 +00:00
Julian Smart
388aa6e289 Applied patch [ 1435340 ] Add support of wxToggleButton to wxGenericValidator
With precomp header fix


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37997 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-11 14:28:00 +00:00