Commit Graph

15354 Commits

Author SHA1 Message Date
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
Robin Dunn
8ae4f08661 Set minsize and implement DoGetBestSize
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28763 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-11 18:11:30 +00:00
Václav Slavík
b65ee6fd83 fixed typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28762 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-11 08:54:10 +00:00
Václav Slavík
86afa786d4 reverted my last change, pch problem is deeper and needs to be solved in Bakefile first
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28761 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-11 08:49:43 +00:00
Václav Slavík
597ee16421 assert if conversion ctors are used incorrectly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28760 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-11 08:18:37 +00:00
Václav Slavík
e2c8075b72 don't use precompiled headers for gsocket code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28755 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-10 18:44:10 +00:00
Włodzimierz Skiba
a290fa5a7d Cleaning of sources (Univ related files). -1/TRUE/FALSE/wxIDY_ANY/wxDefaultCoord/whitespaces/!! issues.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28748 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-10 13:08:43 +00:00
Robin Dunn
b6a20a20d0 Give wxListBox a GetClassDefaultAttributes so wxCalendarCtrl (and
others) can use the right set of attributes


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28746 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-10 04:07:32 +00:00
Robin Dunn
610c50a239 Convert EOLs in pasted or DnD'd text to match what is in the current document.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28735 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-09 23:40:26 +00:00
Robin Dunn
04b6e2f0c1 All wxScrolledWindows shoudl have wxHSCROLL|wxVSCROLL now.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28731 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-09 23:08:20 +00:00
Robin Dunn
c22edec9fc Still can't do "if (flags & wxSOUND_SYNC)..." because it will always
be zero.  This is the 2nd or 3rd time I've fixed this, please stop
changing it back!

Fixes to allow ASYNC sounds to continue after the sound object has
been deleted, and so there won't be a crash the next time an async
sound is played.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28730 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-09 23:04:22 +00:00
Stefan Csomor
688b3ae896 socket c++ adaptions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28728 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-09 18:08:58 +00:00
Włodzimierz Skiba
9da89d3100 We need one float argument to perform floating point division.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28726 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-09 17:10:18 +00:00
Václav Slavík
defc0789c1 really fixed wxMenuBar::Remove (bug 610850): reverted incorrect patch 649599 and fixed data corruption and leaks in GTK+ structures
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28725 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-09 16:08:20 +00:00
Julian Smart
9c479d40d8 Must specify wxHSCROLL/wxVSCROLL now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28724 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-09 15:40:06 +00:00
Stefan Csomor
7f0b95bbe1 unicode fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28722 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-09 12:55:24 +00:00