Commit Graph

21519 Commits

Author SHA1 Message Date
Dimitri Schoolwerth
1904aa72f0 Fixed compilation for !wxUSE_IMAGE as well as !wxUSE_TOOLBAR.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25838 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-16 23:27:54 +00:00
Dimitri Schoolwerth
05e4fd64c4 Added config checks for wxUSE_IMAGE = 0.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25837 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-16 23:24:23 +00:00
Robert Roebling
f8b043e78f Added better visual feedback for tree control
triangles. They now have a sort of prelight
    status like they have under GTK2.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25836 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-16 23:12:33 +00:00
Dimitri Schoolwerth
67e489c5cf Removed c++ style comments.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25835 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-16 22:38:43 +00:00
Dimitri Schoolwerth
f517634c46 Included required wx/image.h and added wxUSE_IMAGE guard.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25834 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-16 21:35:54 +00:00
Dimitri Schoolwerth
b126fe3ae2 Fixed unreferenced function 'CutEmptyBorders' warning (MSVC6).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25833 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-16 20:57:17 +00:00
Vadim Zeitlin
a96b8d39fb fixed IsOk() for root directory paths
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25832 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-16 18:30:18 +00:00
Julian Smart
a4411ee220 Added instructions for running Applescript scripts.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25831 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-16 17:41:58 +00:00
David Elliott
42352409bc Remove superfluous call to CocoaRemoveFromParent (it's done in ~wxWindow)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25830 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-16 03:40:26 +00:00
Dimitri Schoolwerth
08158721a1 Cosmetic cleanup (TRUE/FALSE, tabs, ...).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25829 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-15 21:56:40 +00:00
Dimitri Schoolwerth
25c46fda57 Extended maximum tooltip length (in non-Unicode comctl32 4.70+ mode) from (MSW limited) 39 chars to 512 chars (customizable).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25828 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-15 21:38:22 +00:00
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
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