Commit Graph

13669 Commits

Author SHA1 Message Date
Václav Slavík
4fab71288e 1. added support for bitmaps with alpha channel
2. use GtkImage instead of deprecated GtkPixmap with GTK2
3. create bogus pixmap instead of GtkLabel in wxStaticBitmap with invalid bitmap


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28849 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-21 22:41:04 +00:00
Václav Slavík
e95f0d7986 removed warning-hiding cast, previous revision removed the warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28845 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-21 15:42:56 +00:00
Dimitri Schoolwerth
d2ab06160e updated to reflect socket and stock button changes; disabled Traceback Tables in Release modes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28844 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-21 13:35:37 +00:00
Václav Slavík
8f2b21e474 threshold is pixel value, it should use unsigned char
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28843 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-21 11:54:31 +00:00
Václav Slavík
7e559cd8f4 updated license info: Remstar gace permission to change it to wxWindows License with no strings attached
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28842 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-21 11:49:18 +00:00
Václav Slavík
04cc1e93ed fix for hot keys in menu items (patch 1013082)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28841 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-20 20:31:37 +00:00
Włodzimierz Skiba
afd23c224a Removed obsolete (Open) Watcom conditions.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28840 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-20 13:24:48 +00:00
Włodzimierz Skiba
02b7b6b072 Source cleaning: whitespaces, -1/wxDefaultCoord, TRUE/true, FALSE/false.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28839 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-20 12:03:08 +00:00
Włodzimierz Skiba
e567515efd Warning fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28838 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-20 11:53:52 +00:00
Włodzimierz Skiba
fcf90ee1b1 Source cleaning: whitespaces,-1/wxID_ANY,TRUE/true,FALSE/false.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28836 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-19 17:39:28 +00:00
Václav Slavík
853bbd9e35 wxUniv compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28832 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-18 22:27:42 +00:00
Stefan Csomor
30a936ee4e SetValue is not adding a line if values does not exist
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28831 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-18 19:00:56 +00:00
Stefan Csomor
78eeb09597 wxOVERWRITE_PROMPT support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28830 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-18 18:59:42 +00:00
Dimitri Schoolwerth
6bc3b8e968 fixes for CW8 Mac Classic compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28829 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-18 15:37:01 +00:00
Włodzimierz Skiba
fd7b70bd79 wxApp::GetComCtl32Version seems possible and works now with DMC.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28828 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-18 11:34:38 +00:00
Włodzimierz Skiba
77c46f00b5 Source cleaning.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28827 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-18 09:22:14 +00:00
Włodzimierz Skiba
b081046a66 Fix for the undocumented holes in spiner sizes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28826 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-18 09:15:49 +00:00
Robert Roebling
81e88f5bc8 Applied Andreas patch for applying the widget style
to a wxRadioBox's GtkFrame.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28824 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-17 20:53:29 +00:00
Stefan Csomor
c2bc1e2abb setting the wx title as well
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28823 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-17 04:42:33 +00:00
Dimitri Schoolwerth
94406a493c MSVC6 return warning fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28821 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-16 15:32:07 +00:00
Dimitri Schoolwerth
ba623ba295 doc typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28819 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-16 14:38:41 +00:00
Václav Slavík
4b5966d720 more warnings fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28818 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-16 13:55:49 +00:00
Václav Slavík
098937b044 fixed handlers registration in DoPopupMenu (patch 1009949)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28816 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-16 13:13:30 +00:00
Włodzimierz Skiba
b39a4e8300 break after return makes 'Unreachable code' warnings.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28815 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-16 12:51:48 +00:00
Włodzimierz Skiba
b31ce22480 Unused parameter warning fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28814 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-16 12:49:48 +00:00
Włodzimierz Skiba
0a0e6a5baf TRUE/true, FALSE/false, whitespace cleaning.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28812 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-16 12:45:46 +00:00
Václav Slavík
a29b55cdf6 fixed wxImage->wxBitmap conversion for images with alpha channel
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28811 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-16 12:31:42 +00:00
Václav Slavík
ff5ad79411 added wxImage::ConvertAlphaToMask
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28810 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-16 12:31:08 +00:00
Václav Slavík
bc88f66f5f minor polishing of user-visible messages
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28809 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-16 11:32:51 +00:00
Chris Elliott
b039ef1d48 fixes bug when closing mdi frame with >5 children
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28808 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-16 11:18:04 +00:00
David Elliott
f5d5bd1ddc Provide implementation for GSocket_new
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28806 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-16 02:43:04 +00:00
Václav Slavík
72b1ad5c2e accept files in wxHtmlEasyPrinting::{Print,Preview}File, not only URLs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28803 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-15 21:38:26 +00:00
Václav Slavík
bc0eb46c01 more GetDefaultAttributesFromGTKWidget fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28802 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-15 20:36:04 +00:00
Václav Slavík
8334c5b958 another fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28800 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-15 19:48:05 +00:00
Václav Slavík
9dc579b3c5 all windows can use wxCLIP_CHILDREN
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28798 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-15 19:37:49 +00:00
Václav Slavík
c20889abf8 fixes for stock items not known to some GTK+ versions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28797 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-15 19:08:22 +00:00
Václav Slavík
a650b927da compilation fix for GTK2 < 2.4
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28796 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-15 18:39:25 +00:00
Václav Slavík
66d8fe7712 style obtained from a widget not associated with screen may be wrong; we must create toplevel window and insert the widget into it to get correct style
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28795 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-15 16:03:06 +00:00
Václav Slavík
401e3b6e5f added stock buttons support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28793 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-15 15:56:56 +00:00
Václav Slavík
c50e42a122 use stock buttons in generic dialogs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28792 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-15 15:48:44 +00:00
Václav Slavík
4fa87bd948 1. added stock buttons support
2. fixed wxButton::GetDefaultSize to return realistic values
3. fixed DoGetBestSize to don't create buttons smaller than standard GTK+2 buttons w/o wxBU_EXACTFIT


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28791 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-15 15:44:43 +00:00
Václav Slavík
583d7e555e font affects best size, invalidate cache if it changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28789 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-15 11:50:48 +00:00
Václav Slavík
6dd18972d5 invalidate best size cache when GTK style changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28788 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-15 11:49:42 +00:00
Václav Slavík
61721d057e reverted accidentally committed changes in previous revision
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28786 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-14 22:54:11 +00:00
Václav Slavík
40bab631d2 attributes inheritance fix; apply style to both m_wxwindow and m_widget (patch 984858)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28785 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-14 22:42:23 +00:00
Václav Slavík
97357eecf1 gtk notebook page style fixes (patch 984864)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28784 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-14 22:08:04 +00:00
Václav Slavík
f20d1100cc [ 1008799 ] Traverse hidden directories only if hidden flag set
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28776 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-13 21:56:11 +00:00
Kevin Ollivier
c11d9cb85d Added a flag to enable selecting .app bundles (programs) from the file open dialog.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28775 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-13 15:49:24 +00:00
Jouk Jansen
ac87906548 Committing in .
OpenVMS updates

 Modified Files:
 	wxWidgets/src/gtk/descrip.mms wxWidgets/src/motif/descrip.mms
 	wxWidgets/src/unix/descrip.mms
 ----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28773 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-12 08:11:12 +00:00
Włodzimierz Skiba
822e690b22 Warning fixes, source cleaning.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28766 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-11 19:53:56 +00:00