Commit Graph

22005 Commits

Author SHA1 Message Date
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
Vadim Zeitlin
4f09729dfb added tech note about writing unit tests
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25820 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-15 15:43:42 +00:00
Vadim Zeitlin
2cc0718168 added (draft of) a unit test for wxMBConv
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25819 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-15 15:43:21 +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
Stefan Neis
31414f4c19 Do a configure test whether or not to include -I/usr/local/include in
wx-config --c*flags instead of never doing it for gcc.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25817 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-15 14:14:03 +00:00
Stefan Neis
a36036203f Do _not_ test for strcasecmp on OS/2 (where stricmp is the function to be used).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25816 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-15 14:09:59 +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
Vadim Zeitlin
86132a69bc added wrapper header for CppUnit headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25812 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-15 02:58:56 +00:00
Vadim Zeitlin
e2473d4c48 include stdlib.h to get malloc/free decl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25811 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-15 02:57:43 +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
Robert Roebling
6d7184953a InitAsNeeded no longer inline in the header.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25808 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-15 00:32:45 +00:00
Robert Roebling
a96f1024e3 Updated exefile and default file icons to newer look.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25807 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-15 00:31:47 +00:00
Robert Roebling
013e1feecd The file dialog needs to be able to read images (mostly PNG).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25806 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-15 00:30:44 +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
Mattia Barbon
c539731c41 Updated italian translation.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25803 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-14 14:25:14 +00:00
Vadim Zeitlin
8280918daf don't truncate filenames by default (why?)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25802 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-14 11:35:26 +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
Robin Dunn
f32fc4bc1b Oops, used the wrong script to generate the metadata...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25800 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-14 03:24:18 +00:00
Robin Dunn
98e665d3b0 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25799 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-14 03:17:53 +00:00
Robin Dunn
856bf319b5 Added some docstrings.
Added wx.DefaultDateTime.
Fixed CalendarCtrl.HitTest


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25798 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-14 03:11:36 +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
Vadim Zeitlin
f567fcfadc DMC compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25793 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-13 22:33:02 +00:00
Robin Dunn
c3eb6258e8 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25792 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-13 21:30:56 +00:00
Robin Dunn
1b35fec738 Gave wxWindow.GetHandle something to do on wxMac, although it won't
have exactly the same meaning as the other platforms.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25791 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-13 20:24:47 +00:00
Robin Dunn
33adb15261 Fixed a compile error on wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25790 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-13 20:23:40 +00:00
Robin Dunn
0ffb2aa6e4 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25789 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-13 20:23:25 +00:00
Robin Dunn
8492b560bf Add some ownerdraw methods to ListBox for MSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25788 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-13 20:21:47 +00:00
Robin Dunn
0482c494d3 Make all wxMask constructors use the C++ (bitmap, colour) ctor, and
then just default in BLACK to simulate the default (monobitmap)
behaviour.  It's too tricky to make true monochome bitmaps in a
platform independent way from the Python wrappers.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25787 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-13 20:09:55 +00:00
Robin Dunn
ccc6783c50 Tweaks for when using some new tex2rtf options
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25786 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-13 19:07:41 +00:00
Robin Dunn
11926a7837 Typo fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25785 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-13 19:06:55 +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
Patrick K. O'Brien
6513628384 Fix test broken by change in package name from PyCrust to py.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25783 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-13 02:52:06 +00:00
Patrick K. O'Brien
578b389d6e The truth is out there.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25782 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-13 02:47:59 +00:00
Vadim Zeitlin
b62e750df9 added /usr/lib and lib32 to SEARCH_LIB (trying to fix IRIX compilation)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25781 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-13 00:03:46 +00:00
Václav Slavík
6f97a409ca added description of environment variables that affect wxWin programs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25780 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-12 22:50:18 +00:00
Václav Slavík
e6a0295cdd fixed bug in .hhp's FILES section creation introduced in previous revision
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25779 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-12 20:13:28 +00:00
Julian Smart
439e20bb71 DMC doesn't have #warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25778 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-12 19:47:58 +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
Václav Slavík
66828481aa don't use numbers in URLs if truncateFilenames=no
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25776 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-12 19:29:48 +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