Commit Graph

15354 Commits

Author SHA1 Message Date
Vadim Zeitlin
5c2ddebecd use correct way to get a pointer to vector elements in DoGetPartialTextExtents()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25827 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-15 19:12:54 +00:00
Robert Roebling
3d78043440 Fix warning.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25826 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-15 18:38:36 +00:00
Stefan Neis
d37bb826ef Added accelerator handling for buttons and infrastructure to do the same for
other controls (patch 893580).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25825 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-15 18:00:27 +00:00
Stefan Neis
3a7c125370 Fixed separator handling for menus.
Extracted common code for handling translation of labels containing
        accelerators from wxWindows representation to native representation.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25823 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-15 17:33:26 +00:00
Vadim Zeitlin
eeacbb8c4f removed unused variable
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25822 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-15 16:56:15 +00:00
Vadim Zeitlin
13dd924a3f fail WC2MB conversion in wxCSConv if we can't be sure that we don't lose information
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25821 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-15 15:44:07 +00:00
Robert Roebling
ca06ee0df7 wxGPE updates to HEAD.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25818 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-15 15:31:39 +00:00
Robert Roebling
16c587ca76 This should work on SuSE and Mandrake icon themes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25815 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-15 13:15:50 +00:00
Robert Roebling
1027433607 Slightly less hacky way to get the KDE icon theme name.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25814 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-15 12:57:23 +00:00
Robert Roebling
7dfdce6b02 This allows white space to be in the name
of a key (as KDE ini files allow it).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25813 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-15 12:55:35 +00:00
David Elliott
c3255f5fba Bakefile 0.1.3
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25810 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-15 02:14:15 +00:00
Robert Roebling
1d529ef7ee Updates to MIME-types and wxFileDialog code for better
native looking image handling.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25809 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-15 00:35:16 +00:00
Julian Smart
38106243a0 Now sends an exit command to the app so Quit behaves as it should
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25804 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-14 23:19:53 +00:00
Stefan Csomor
d8c5974799 corrected system condition for panther
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25801 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-14 05:22:14 +00:00
Dimitri Schoolwerth
78ca56690e Simplified OS X Panther detection code.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25797 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-14 02:40:59 +00:00
Robin Dunn
04ebdf400c Oops, took out too much...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25796 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-14 02:29:01 +00:00
Robin Dunn
d13ea3aa4f Fix the off-by-one a little differently, and correct a refresh problem
on wxMac


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25795 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-14 02:22:03 +00:00
Robin Dunn
0fcf2b15da Fixed an off-by-one error
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25794 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-13 23:05:20 +00:00
Robin Dunn
b6bfd8e8f4 Call Skip from the focus handlers so wxGTK can still do it's internal housekeeping
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25784 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-13 19:06:02 +00:00
Robin Dunn
3795cdba1b Fixed to use wxNcPaintEvent types where needed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25777 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-12 19:45:40 +00:00
Julian Smart
51b62c2431 Some more string concatenations
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25775 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-12 19:19:29 +00:00
Vadim Zeitlin
b2b1371c97 set argc/argv properly in Unicode build (fixes bug 878002)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25774 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-12 18:42:39 +00:00
Vadim Zeitlin
6819fb9bef don't override GetSize(), this doesn't work (bug 732758)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25773 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-12 18:19:12 +00:00
Vadim Zeitlin
6341d8249f fix yet another assert when the initial combo box value was empty (replaces patch 895470)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25771 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-12 16:45:28 +00:00
Vadim Zeitlin
15475ced88 suppress triple clicks generation completely for GTK2 as it makes long click series generate exactly the same events as under other ports (patch 895564)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25770 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-12 16:41:59 +00:00
Vadim Zeitlin
5e7718a281 corrected wxTreeCtrl::Select() broken by previously applied patch in single select mode
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25768 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-12 16:33:33 +00:00
Julian Smart
bdbcded6a3 String corrections
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25767 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-12 13:29:55 +00:00
Julian Smart
a0d924c696 Infinite recursion fix
Viktor Voroshylo:
I did not put it in __WXWINCE__ defines as it looks like just another safeguard that will work on regular windows as well. The problem was that wxWindowMSW::MSWOnScroll is calling itself forever under winCE for wxListCtrl object.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25766 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-12 09:29:19 +00:00
Stefan Csomor
89a69c601d patch applied for clearing m_data object upon closing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25765 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-12 07:16:44 +00:00
Vadim Zeitlin
7330bb53dc compilation fix for strict(er) compilers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25757 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-12 01:04:38 +00:00
Vadim Zeitlin
fe16045d95 compilation fix (PASCAL should be inside the parenthesis in typedef declaration)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25755 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-12 01:00:38 +00:00
Robin Dunn
553aa032f2 Added wxDC::GetPartialTextExtents
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25754 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-12 00:25:49 +00:00
Robin Dunn
0919e93e52 Added wxDC:GetPartialTextExtents
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25753 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-11 23:49:43 +00:00
Robin Dunn
d1558f3d53 Use extraFontFlag to specify if anti-aliased fonts should be used.
Use GetPartialTextExtents.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25751 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-11 22:42:01 +00:00
Robin Dunn
e0e5663fe4 Allow an extra flag to be given to Font::Create
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25749 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-11 22:35:11 +00:00
Robin Dunn
75c60b3e65 Use wxStaticCast
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25748 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-11 22:13:12 +00:00
Václav Slavík
7b56015f90 make it possible to override translatable status of text entry
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25746 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-11 20:10:56 +00:00
Václav Slavík
fb2e90c174 load wsock32.dll dynamically, so that wxCore has no dependency on it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25745 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-11 20:03:48 +00:00
Stefan Csomor
75dd6ce410 corrected sleep
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25744 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-11 15:22:14 +00:00
Stefan Csomor
ac86379e2a non-unicode fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25743 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-11 15:19:23 +00:00
Stefan Csomor
e71800ba3a cleanup and fix of double disposal (thanks to Steve Hartwell)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25742 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-11 15:15:42 +00:00
Stefan Csomor
79a73b4f86 conversion corrections
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25741 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-11 15:13:53 +00:00
Stefan Csomor
439ddeba9d removing unreached code (overriden)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25740 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-11 15:13:03 +00:00
Stefan Csomor
63ff6f538e common code, cleanup of measurement
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25739 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-11 15:11:55 +00:00
Stefan Csomor
7a21e692d2 added condition for DARWIN (thanks to Steve Hartwell)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25737 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-11 15:08:47 +00:00
Chris Elliott
8dfb846e80 try to fix D Mars compilation for Unicode
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25736 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-11 14:34:22 +00:00
Václav Slavík
2a536376ec added public methods to select parts of displayed page
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25735 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-11 12:14:40 +00:00
Stefan Csomor
4a6a2972a2 turning off sound, movies and images for textctrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25733 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-11 06:50:10 +00:00
Robin Dunn
864db5de61 Fixed a compliation error, event args should not be const.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25726 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-10 23:40:59 +00:00
Vadim Zeitlin
244e5e34c2 allow generating PS on an output stream and not only a FILE (patch 876362)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25724 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-10 22:46:12 +00:00