Commit Graph

19113 Commits

Author SHA1 Message Date
Paul Cornett
db60c20db8 revert unintended changes in previous commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39771 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-18 06:54:05 +00:00
Paul Cornett
2796f657c9 build fix for older gtk2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39770 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-18 06:42:24 +00:00
Paul Cornett
4f558e23ff build fix for older gtk2, second attempt
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39769 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-18 03:37:24 +00:00
Paul Cornett
086b047624 build fix for older gtk2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39768 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-17 21:09:53 +00:00
Paul Cornett
a0f81e9f15 use AllocExclusive in wxImage
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39766 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-17 19:09:28 +00:00
Vadim Zeitlin
cb5bc9b7e2 don't loop needlessly in OnHelp() if the event comes from the bookctrl itself
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39765 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-16 12:48:54 +00:00
Jouk Jansen
1fe0a566bb Committing in .
Update OpenVMS makefiles to support wxAUI

 Modified Files:
	wxWidgets/descrip.mms
 Added Files:
 	wxWidgets/samples/aui/descrip.mms
 	wxWidgets/src/aui/descrip.mms
 ----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39761 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-16 07:20:31 +00:00
Włodzimierz Skiba
b3a44e057b Include wx/region.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39760 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-16 07:14:51 +00:00
Włodzimierz Skiba
32c62191d7 Final fix for Bug #1472688 'wxString::Trim() is broken'
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39758 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-15 23:21:28 +00:00
Włodzimierz Skiba
db53c6ea2e [ 1506733 ] wxOwnerDrawnComboBox::SetPopupControl argument type check.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39751 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-15 21:10:58 +00:00
Michael Wetherell
af1a6227cc Make wxMouseState's alt and meta match those in events
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39750 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-15 20:33:38 +00:00
Paul Cornett
c668531784 1. more accurate conversion from 8-bit wx color to 16-bit GDK color
2. eliminate possiblity of wxColour RGB values changing depending on colormap
3. don't allow non-const pointer access to internal GdkColor


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39748 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-15 19:29:08 +00:00
Michael Wetherell
06414d99a7 Implement wxGetMouseState
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39747 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-15 18:51:35 +00:00
Włodzimierz Skiba
18680f8651 Include wx/math.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39745 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-15 17:58:49 +00:00
Vadim Zeitlin
0d1c8f39ba bitmap button size was too small when uxtheme functions were used to get the margins
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39744 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-15 16:01:17 +00:00
Michael Wetherell
0cbc5287be Implement wxGetMouseState
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39741 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-15 13:57:45 +00:00
Włodzimierz Skiba
48a1108eb8 Include wx/font.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39734 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-14 19:51:14 +00:00
Włodzimierz Skiba
54a6176249 [ 1495131 ] wxODComboBox const methods to work prior to SetPopupControl.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39733 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-14 19:32:32 +00:00
Włodzimierz Skiba
40b26d752d [ 1492053 ] Add wxVListBox style callbacks to wxOwnerDrawnComboBox.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39730 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-14 18:38:47 +00:00
Vadim Zeitlin
ec09e18d35 more fixes to OnHelp() to avoid infinite recursion when handling help events
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39729 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-14 18:37:48 +00:00
Vadim Zeitlin
dc134969ef let wxFRAME_EX_CONTEXTHELP override wxM{IN|AX}IMIZE_BOX as the latter are included in the default style and getting rid of them manually requires writing ugly wxDEFAULT_FRAME_STYLE & ~(wxMINIMIZE_BOX | wxMAXIMIZE_BOX) while this is almost always what we need
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39726 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-14 18:27:55 +00:00
Vadim Zeitlin
392c5133ff show native-looking (with 3D shadow) help tooltips for context help, if possible, using wxCHMHelpController
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39725 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-14 17:46:51 +00:00
Włodzimierz Skiba
7cf41a5d66 Include wx/colour.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39724 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-14 17:09:39 +00:00
Włodzimierz Skiba
d4d02bd565 Code symetry for both directions of trimming towards fixing bug #1472688.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39723 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-14 16:42:35 +00:00
Julian Smart
36043052e8 Compile fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39721 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-14 16:31:40 +00:00
Vadim Zeitlin
9aa21ba171 fixed wrong return value and child creation login in GetWindowChild() (includes patch 1506083)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39720 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-14 15:55:43 +00:00
Vadim Zeitlin
d0a84b6338 fill in flags parameter of HitTest() for all book controls; added new wxNB_HITTEST_ONPAGE bit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39719 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-14 15:54:24 +00:00
Julian Smart
5637cc3551 Fix for wrong combobox/height being reported if set size is pending
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39717 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-14 13:11:53 +00:00
Vadim Zeitlin
be0e5d699f made wxTree/ListCtrl::HitTest() const
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39716 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-14 12:00:57 +00:00
Julian Smart
028285e4af wxCalendarCtrl workaround for occasional wrong combobox height reporting on wxMSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39715 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-14 11:42:01 +00:00
Vadim Zeitlin
fc4c80b8c0 fix for the last printf format warning fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39714 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-14 10:33:06 +00:00
Włodzimierz Skiba
3458e408ba Source cleaning.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39713 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-14 10:19:14 +00:00
Włodzimierz Skiba
696978ee96 Whitespaces lined up.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39712 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-14 10:14:13 +00:00
Włodzimierz Skiba
b836b6ea08 Don't create uneeded variables.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39711 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-14 10:10:53 +00:00
Włodzimierz Skiba
0bca037363 Include wx/bitmap.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39710 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-14 10:02:19 +00:00
Włodzimierz Skiba
1832043f93 Include wx/toplevel.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39701 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-13 20:44:51 +00:00
Robin Dunn
7da1b5f9c1 Ctrl-letter --> ascii(1..26) for EVT_CHAR events now also works when
CAPS-LOCK is on.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39696 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-13 18:52:28 +00:00
Włodzimierz Skiba
2d4ec36258 wxWinCE build fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39695 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-13 11:34:36 +00:00
Włodzimierz Skiba
aaa6d89a0d Include wx/arrstr.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39694 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-13 11:30:40 +00:00
Włodzimierz Skiba
2760de09d0 Removed unused files.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39693 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-13 11:05:18 +00:00
Vadim Zeitlin
1ed403dc4c we don't need to manually propagate wxHelpEvents upwards, they're already wxCommandEvents and so propagate by default
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39688 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-12 23:59:42 +00:00
Vadim Zeitlin
ab3eae34cc fix wxFindWindowAtPoint for radiobox buttons, it didn't return the radiobox when mouse was clicked inside it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39686 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-12 23:55:40 +00:00
Vadim Zeitlin
b6b4695492 redirect to the page only the help events coming from this control itself to avoid infinite recursion when we get a help event originally sent to the page
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39684 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-12 13:32:56 +00:00
Vadim Zeitlin
7bd6bf45ad update the real window flags when extended flags change and not only the normal ones
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39679 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-11 22:44:53 +00:00
Vadim Zeitlin
af266e5bf7 added possibility to specify modules dependencies
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39677 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-11 22:19:12 +00:00
Vadim Zeitlin
dc26eeb36a make it possible to associate context help text with individual radiobox items
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39676 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-11 21:13:13 +00:00
Vadim Zeitlin
dc6588e771 made it possible to associate context help to a region of a window
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39675 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-11 21:10:32 +00:00
Vadim Zeitlin
a9c11b71e3 don't send wxHelpEvent generated for WM_HELP to all window parents, wxHelpEvent is already propagated upwards implicitely anyhow so in fact we should prevent the default behaviour for it from taking place
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39674 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-11 21:08:53 +00:00
Kevin Hock
5f3742c2ff Fix socket crash in wxURL by safely Destroying the socket rather than deleting it [ patch 1502964 ]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39672 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-11 18:54:07 +00:00
Stefan Csomor
3a2a17cd5d functions may return a CFStringRef that is null, so we make this conversion always return an empty string (crashes otherwise)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39670 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-11 06:32:45 +00:00
Stefan Csomor
fce161de8a numpad keys didn't trigger an update (reason for bug ID1503745)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39662 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-10 14:31:08 +00:00
Robin Dunn
f73cd00f01 Prevent assert and crash if an attempt is made to make a bitmap with
dimensions < 1


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39658 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-09 23:28:28 +00:00
Vadim Zeitlin
0e9c99232f gcc printf format warning fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39657 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-09 22:06:19 +00:00
Włodzimierz Skiba
264cb7f5f3 Include wx/validate.h and wx/valtext.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39656 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-09 21:21:53 +00:00
Włodzimierz Skiba
949c9f74c3 Include wx/choicdlg.h, wx/textdlg.h and wx/filedlg.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39651 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-09 17:50:46 +00:00
Vadim Zeitlin
7fdf414082 added the cast to wxFontMapperBase erroneously removed by the last change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39647 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-09 11:22:24 +00:00
Włodzimierz Skiba
3304646d06 Include wx/statusbr.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39646 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-09 09:51:39 +00:00
Włodzimierz Skiba
59cf2e4999 Include wx/mdi.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39644 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-08 20:19:29 +00:00
Stefan Csomor
df39467f88 missing else
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39638 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-08 18:53:29 +00:00
Robin Dunn
258b2ca681 Applied Patch #1502801: Missing Clone() functions from some events
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39637 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-08 18:27:44 +00:00
Robin Dunn
8d1c5c3f57 Add 1 to the width returned by DoGetBestSize in order to work around a
GTK issue where it sometimes wrapps the text needlessly


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39636 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-08 18:15:56 +00:00
Włodzimierz Skiba
895cc20597 Use bottom flat notebook on PocketPC by default.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39635 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-08 13:12:20 +00:00
Włodzimierz Skiba
5b56bffb33 Include wx/memory.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39634 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-08 12:51:01 +00:00
Włodzimierz Skiba
9a6384ca1e Improvements for building minimal builds and new ports: wxUSE_* usage and minor cleaning.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39633 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-08 11:25:30 +00:00
Robert Roebling
b1d8cb4417 Compilo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39632 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-08 10:17:00 +00:00
Robert Roebling
a84f5f39b8 Correct compilation for GTK < 2.4.
Remove double testing for __WXMGL__ and __WXX11__
    after testing for __UNIVERSAL__


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39631 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-08 10:05:42 +00:00
Julian Smart
da452b9eec Missing dereference caused wrong wxString ctor to be used, leading to
memory errors


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39628 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-08 08:09:27 +00:00
Włodzimierz Skiba
ed2fbeb835 Include wx/sizer.h and wx/layout.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39627 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-08 06:57:39 +00:00
Paul Cornett
c918b2cda2 use "event-after" signal to send thumb release event
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39626 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-08 05:16:25 +00:00
Włodzimierz Skiba
a5bbd1cc91 Include wx/combobox.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39625 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-07 22:01:12 +00:00
Vadim Zeitlin
d5bfbd9ab8 1. renamed wxFontMapper::IsWxFontMapper() to IsDummy() (with reverse semantics)
2. added wxFontMapper::Reset() to only do the cast needed when deleting
   the font mapper object once
3. reset the dummy font mapper created during the app initialization in
   wxFontMapperModule and not in init.cpp


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39624 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-07 17:49:27 +00:00
Włodzimierz Skiba
4e3e485bc8 Include wx/toolbar.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39623 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-07 17:46:13 +00:00
Włodzimierz Skiba
658ff7f1d8 [ 1502010 ] Cast to wrong type.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39622 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-07 17:12:57 +00:00
Włodzimierz Skiba
7ce30d0b41 [ 1502016 ] wxImage::ConvertToGreyscale should retain alpha channel.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39621 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-07 17:02:08 +00:00
Włodzimierz Skiba
54a7425b81 Minor source cleaning.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39616 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-07 13:57:10 +00:00
Włodzimierz Skiba
19bc15143a wxBLACK usage.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39615 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-07 13:26:00 +00:00
Julian Smart
110ffa1637 Alternative implementation for process termination detection on Intel, since task_for_pid
doesn't work on Intel Macs.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39614 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-07 13:07:17 +00:00
Włodzimierz Skiba
1ab440bc20 Include wx/scrolwin.h and wx/dirdlg.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39613 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-07 11:44:19 +00:00
Robin Dunn
06f23ff937 Added an implementation for wxPickerBase::SetInternalMargin
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39609 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-07 02:23:40 +00:00
Włodzimierz Skiba
9d2c19f136 Include wx/gauge.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39607 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-06 22:02:01 +00:00
Włodzimierz Skiba
b2e178485a AUI under wxMGL build fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39606 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-06 21:44:39 +00:00
Włodzimierz Skiba
3a7458677b AUI under wxOS2 build fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39605 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-06 21:07:42 +00:00
Robin Dunn
d618ed9b67 Compilation fix for Mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39603 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-06 18:24:16 +00:00
Włodzimierz Skiba
f4da9a9431 Include wx/slider.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39600 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-06 16:28:58 +00:00
Włodzimierz Skiba
be66f18ee1 Source cleaning, wxW headers, whitespaces and improved PCH support.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39598 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-06 15:39:16 +00:00
Julian Smart
9db1b54074 Fix for wxX11
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39597 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-06 15:20:30 +00:00
Julian Smart
530b74d7c6 Fixes for Mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39594 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-06 14:31:59 +00:00
Julian Smart
08469b1f18 Compile corrections
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39591 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-06 14:05:11 +00:00
Julian Smart
50acee04cd Initial commit of wxAUI
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39589 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-06 13:12:07 +00:00
Julian Smart
90f9b8ef0c Reverted last wxBookCtrl change and added alignment check to notebook
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39588 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-06 12:53:31 +00:00
Julian Smart
926395e16b Each book control should say what its default orientation. Use this info
if no alignment style, otherwise assertion will happen in GetPageRect.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39587 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-06 11:05:22 +00:00
Julian Smart
dd61c39df2 Suppress assertion when the array is sorted
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39586 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-06 11:03:31 +00:00
Julian Smart
62ad77afbd If a base font mapper object was created prematurely before the traints
object was created, delete it.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39585 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-06 11:02:09 +00:00
Włodzimierz Skiba
fec9cc08e7 Include wx/textctrl.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39583 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-06 07:23:19 +00:00
Stefan Neis
90075c0892 Removed some focus handling that was to general and did break e.g. combobox.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39577 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-05 19:35:08 +00:00
Michael Wetherell
08f30494b0 Fix alignment issue.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39576 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-05 19:07:26 +00:00
Stefan Neis
c9ab2da6f8 Fixed brush realization as suggested by Franz Bakan.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39575 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-05 18:47:22 +00:00
Stefan Neis
da51aebeec Improved error handling.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39573 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-05 18:08:40 +00:00
Mart Raudsepp
5503a51cac Do not set the wmclass for toplevels. This MUST be unique across the application, and GTK takes care of it for us
- don't screw it over.
Change it to set_role instead, but #if 0 out for now until some discussion about potential affect of this to
existing applications.
Toplevels that have a role set can be handled by the window manager, and store the positiong and size for them,
and restore it on later occasion. If apps do stupid things like don't have unique motif names set for different
toplevels, then this can cause problems with backwards compatibility. I am in favor of doing set_role, but it
needs a little discussion and testing.
Setting WM_CLASS is definately wrong, so just get rid of that till then.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39571 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-05 17:57:37 +00:00
Michael Wetherell
a9b4774c05 Build fix for motif.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39569 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-05 17:12:45 +00:00
Vadim Zeitlin
a893b65e62 fixed memory leak introduced by dynamic wxMimeTypesManagerImpl creation (rev. 1.44 of mimecmn.cpp) changes; also renamed wxMimeTypesManagerFactory::Get/SetFactory() to just Get/Set()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39568 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-05 17:01:46 +00:00
Włodzimierz Skiba
b0b5881aea Include wx/radiobut.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39567 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-05 16:46:15 +00:00
Paul Cornett
fb18afdd86 avoid gtk assert on negative window size
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39553 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-04 21:18:45 +00:00
Vadim Zeitlin
3e0630be8a use wxImage to load icons in non-native formats
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39551 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-04 15:51:39 +00:00
Vadim Zeitlin
852b6c3ce7 silence gcc warnings about values not handled in switch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39546 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-04 14:55:10 +00:00
Vadim Zeitlin
3b6da0a258 printf format spec warning fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39545 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-04 14:51:10 +00:00
Vadim Zeitlin
d4cd85a064 on some systems PBT_APMRESUMESUSPEND is not sent on resume but PBT_APMRESUMEAUTOMATIC is
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39544 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-04 14:27:06 +00:00
Paul Cornett
a2a7ad6ccd build fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39542 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-04 06:19:33 +00:00
Vadim Zeitlin
eaba6eba3a wxArrayString::Sort() wasn't MT-safe even though it tried to
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39541 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-03 22:32:36 +00:00
Paul Cornett
c757b5fee0 correct access for virtuals, unneeded includes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39538 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-03 19:20:23 +00:00
Paul Cornett
8ea30e3603 don't generate a scroll event when setting scroll position from scroll event handler
fix setting scroll position from thumb release event handler


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39536 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-03 18:35:29 +00:00
Stefan Csomor
333026dcb0 Fixes and XCode 2.3 update
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39532 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-02 15:27:13 +00:00
Michael Wetherell
556151f5ff Commit pickers-fixes.patch added to 1472329 (Francesco Montorsi)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39528 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-02 12:00:30 +00:00
Michael Wetherell
7ba03e3cd2 Revert previous commit.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39527 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-02 10:20:13 +00:00
Michael Wetherell
9a8362297a Lazy creation of the picker dialogs (Francesco).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39526 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-02 08:17:23 +00:00
Jouk Jansen
cc57f388d7 Updated OpenVMS compile support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39525 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-02 06:39:13 +00:00
Włodzimierz Skiba
3700569251 uxtheme.h provides symbols regardless wxUSE_UXTHEME flag.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39522 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-01 23:56:23 +00:00
Włodzimierz Skiba
cc11cc6918 Include wx/radiobox.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39517 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-01 20:52:09 +00:00
Włodzimierz Skiba
f18ad9c64b Build fix after PCH changes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39515 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-01 15:19:53 +00:00
Michael Wetherell
5b34e14106 Compile fixes for GTK 2.4
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39512 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-01 12:31:56 +00:00
Włodzimierz Skiba
7c808858c9 Warning fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39510 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-01 10:58:28 +00:00
Michael Wetherell
3aa077cebc Build fix for systems linux where va_list is an array type.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39508 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-01 09:44:35 +00:00
Włodzimierz Skiba
4ce7b1e43f Minor source cleaning.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39507 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-01 09:16:06 +00:00
Włodzimierz Skiba
2a673eb1c9 Include wx/listbox.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39505 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-01 08:23:42 +00:00
Vadim Zeitlin
d417574519 added possibility to reorder columns by dragging them (patch 1409677)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39498 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-01 00:13:19 +00:00
Vadim Zeitlin
ec376c8fd9 added wx{Colour|File|Dir|Font}PickerCtrl (patch 1472329 by Francesco)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39495 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-31 23:57:54 +00:00
Vadim Zeitlin
96aed0cd6b don't assert if neither wxFD_OPEN nor wxFD_SAVE is given; wxFD_OPEN is the default
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39493 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-31 23:37:36 +00:00
Vadim Zeitlin
f36630afc9 use gtk_window_set_modal(TRUE/FALSE) instead of gtk_grab_add/remove() (part of patch 1472329)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39492 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-31 22:48:22 +00:00
Robin Dunn
4e9da8b79e Forward port of changes for using themed drawing of owner-drawn buttons.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39488 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-31 21:26:39 +00:00
Włodzimierz Skiba
876cd6f7e3 Include wx/statbox.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39487 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-31 18:27:51 +00:00
Włodzimierz Skiba
370efbe741 [ 1498016 ] 'Add wxUniv toolbar support wxTB_TEXT style' - with modifications.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39486 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-31 18:15:42 +00:00
Paul Cornett
cf26ac62e3 threads fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39485 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-31 17:22:38 +00:00
Włodzimierz Skiba
66b9f7f7e4 Various dummy.cpp centralized in common/dummy.cpp. Build rebaked.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39482 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-31 11:48:45 +00:00
Włodzimierz Skiba
e267406e11 Include wx/statbmp.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39481 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-31 09:34:05 +00:00
Stefan Csomor
42cc0b316e changing scrollbars (hiding/showing) triggers a size event.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39480 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-31 05:38:46 +00:00
Włodzimierz Skiba
ccdc11bbaf Include wx/stattext.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39479 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-30 17:39:22 +00:00
Vadim Zeitlin
a31746c7de fixes for wxVsnprintf() in Unicode build (2nd part of patch 1462778)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39477 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-30 17:14:35 +00:00
Włodzimierz Skiba
851dee09b5 Include wx/scrolbar.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39476 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-30 13:43:18 +00:00
Włodzimierz Skiba
a9e8bf2dd9 [ 1494561 ] wxComboCtrl vertical size fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39472 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-30 09:17:45 +00:00
Włodzimierz Skiba
2bd6022f1c Include commctrl.h properly.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39471 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-30 07:43:05 +00:00
Włodzimierz Skiba
b36e08d086 Include wx/choice.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39470 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-30 07:34:30 +00:00
Włodzimierz Skiba
e031f1df56 wxFD_* constants without 2.6 compatibility (heavily extended and modified patch #1497305).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39469 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-30 07:25:35 +00:00
Włodzimierz Skiba
4c9a69c19a Smartphone build fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39468 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-29 23:49:43 +00:00
Włodzimierz Skiba
dbc74bccc9 wxWinCE power build fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39467 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-29 23:24:02 +00:00
Robin Dunn
511bec9640 Avoid an assert if no alignment style is specified
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39465 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-29 22:43:14 +00:00
Włodzimierz Skiba
9a8fc68d92 Build fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39464 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-29 21:45:52 +00:00
Włodzimierz Skiba
e6e839336c Include wx/checklst.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39463 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-29 21:26:35 +00:00
Robin Dunn
aeeaf3eaf0 wxWakeUpIdle seems unnecessary here
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39459 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-29 20:54:57 +00:00
Robin Dunn
efe0d228f7 Provide a wxDirSelectorPromptStr
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39454 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-29 20:27:19 +00:00
Paul Cornett
6ef708cde1 revert removal of gtk1 code from common file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39444 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-29 16:32:22 +00:00
Vadim Zeitlin
8ad31f9dfd call gtk_toolbar_set_tooltips() from GtkSetStyle(); removed erroneous wxTB_TOOLTIPS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39442 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-29 16:06:04 +00:00
Vadim Zeitlin
a130bb4e75 removed spurious #endif
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39441 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-29 16:04:23 +00:00
Włodzimierz Skiba
33f9f48e20 Build fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39439 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-29 14:23:26 +00:00
Włodzimierz Skiba
9e6aca686c Keep FindString in sync with wxControlWithItems base class.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39438 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-29 13:11:40 +00:00
Włodzimierz Skiba
344ff08345 Unused variable removal.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39437 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-29 13:07:27 +00:00
Vadim Zeitlin
f7b06c8ce1 use a filename, not URL, when quering its modification time
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39435 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-29 11:56:48 +00:00
Włodzimierz Skiba
7456f3828a Fail for assert(0,...).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39434 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-29 11:17:17 +00:00
Włodzimierz Skiba
3cb3b8b84d NO_GCC_PRAGMA removed from hyperlink code. Clipboard markup added.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39433 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-29 11:14:34 +00:00
Włodzimierz Skiba
ff7d9066da Warning fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39432 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-29 10:11:45 +00:00
Włodzimierz Skiba
7bd236e6da Fail for assert(0,...).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39431 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-29 10:10:37 +00:00
Włodzimierz Skiba
06ec4d9c0f Typo fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39430 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-29 10:09:00 +00:00
Vadim Zeitlin
649cfca1ce don't include statbox.h from the header, move wxStaticBoxSizer dtor to .cpp file instead
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39429 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-29 09:58:53 +00:00
Włodzimierz Skiba
ab1ce969df Include wx/checkbox.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39428 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-29 08:13:19 +00:00
Włodzimierz Skiba
98159dd8b6 Source cleaning for new features.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39423 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-29 07:31:24 +00:00
Włodzimierz Skiba
2858324691 Source cleaning for new features.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39421 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-29 07:23:02 +00:00
Paul Cornett
706e740f50 build fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39420 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-29 06:53:31 +00:00
Paul Cornett
f79f1604a0 revert forward declaration of hashmap, it doesn't work with STL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39419 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-29 06:52:46 +00:00
Włodzimierz Skiba
8d3ba63b1e Build fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39417 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-29 06:39:40 +00:00
Vadim Zeitlin
85ab460e7d miscellaneous wxFont enhancements (patch 1496606):
- made SetFaceName() bool and return false if the face name is not available
- corrected To/FromUserString() to complement each other


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39411 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-29 00:03:36 +00:00
Vadim Zeitlin
7aa7d2d407 oops, typo in last commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39410 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-29 00:01:30 +00:00
Vadim Zeitlin
f395a825a9 added CollapsePath() (patch 1494638)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39408 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-28 23:54:28 +00:00
Vadim Zeitlin
bd00fe32fb implemented notifications of the child process termination (patch 1494439)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39407 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-28 23:51:23 +00:00
Vadim Zeitlin
622eb78696 don't offset the position for toplevel windows in wxFindWindowAtPoint() (patch 1491559)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39406 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-28 23:47:59 +00:00
Vadim Zeitlin
8b713759b6 correct painting of the items with custom colours in TVIS_DROPHILITED state (patch 1491478)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39405 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-28 23:45:39 +00:00
Vadim Zeitlin
b5b0a35d6b don't crash when destroying a not initialized socket (patch 1489095)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39404 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-28 23:38:11 +00:00
Vadim Zeitlin
ff3e84ffdc File/dir dialog styles and other changes (patch 1488371):
- check invalid combinations of styles in wxFileDialogBase::Create()
- use wxFD_XXX naming convention for wxFileDialog styles
- replaces wxDD_NEW_DIR_BUTTON with wxDD_DIR_MUST_EXIST
- removes #ifdef __WXGTK24__ / #endif blocks from wxGTK code
- removes wxFileDialogBase::Get/SetStyle and wxFileDialogBase::m_fileName
- renames wxDirDialogGTK to wxDirDialog


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39402 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-28 23:32:12 +00:00
Vadim Zeitlin
c5d7205ca2 don't strip &s from tooltips (patch 1488318)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39400 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-28 23:15:01 +00:00
Włodzimierz Skiba
34deaa9362 Build fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39399 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-28 23:08:31 +00:00
Vadim Zeitlin
1c756ac814 allow specifying the style for wxHtmlHelpController used as fallback by wxBestHelpController (patch 1485669)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39398 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-28 23:07:02 +00:00
Vadim Zeitlin
a552d1201f fix the bug which prevented the same wxFile/DirDialog object from being used twice (patch 1485127)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39397 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-28 23:01:21 +00:00
Vadim Zeitlin
fd0bab4353 use dynamic array for the page breaks positions (patch 1483976)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39396 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-28 22:56:28 +00:00
Vadim Zeitlin
db759dde87 use GetPath() instead of GetFullPath() in the directory-oriented functions (patch 1482016)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39395 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-28 22:44:04 +00:00
Vadim Zeitlin
5613bc20ed check for ERROR_NO_MORE_FILES error code from FindFirstFile() as it's not really an error (patch 1481895)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39394 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-28 22:40:37 +00:00
Vadim Zeitlin
234fedd2d3 added support for CMYK JPEGs loading (patch 1476078)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39392 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-28 20:08:39 +00:00
Michael Wetherell
3fa2676fc3 Take account of the numlock when mapping mgl virtual keycodes to wx ones.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39389 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-28 19:23:44 +00:00
Michael Wetherell
27d98837f3 Use the posix S_ISREG instead of S_IFREG if it is defined. Fixes wxFileExists
on DJGPP where S_IFREG is defined as 0.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39386 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-28 18:58:12 +00:00
Vadim Zeitlin
164a797204 added wxListCtrl::GetSubItemRect() and subitem hit testing (patch 1476971)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39385 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-28 18:10:10 +00:00
Vadim Zeitlin
17e914373a added wxHyperlinkCtrl (patch 1476781 from Francesco)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39384 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-28 17:41:09 +00:00
Michael Wetherell
5de959df83 Compile fixes: gcc seems to need pbt.h including, and PBT_APMRESUMEAUTOMATIC
isn't in the headers for most compilers (the other PBT_* macros are there).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39382 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-28 17:36:30 +00:00
Vadim Zeitlin
2f0add5ae0 allow partial read/writes (patch 1476893)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39381 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-28 17:27:40 +00:00
Vadim Zeitlin
e978011a40 delete the associated wxStaticBox in wxStaticBoxSizer dtor (patch 1473769)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39380 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-28 17:24:12 +00:00
Vadim Zeitlin
6a1b3ead3f added wxTB_NO_TOOLTIPS (heavily modified patch 1458009)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39379 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-28 17:17:02 +00:00
Vadim Zeitlin
0bb4ad85f3 fix crashes in the calctl sample under OS/2 (patch 1495898)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39378 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-28 15:20:32 +00:00
Vadim Zeitlin
7a828c7ffb wxVsnprintf() implementation with positional parameters support (patch 1462778); disabled for now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39377 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-28 15:18:15 +00:00
Vadim Zeitlin
1e1c5d6276 explicitly call base class ctor to silent gcc warning (patch 1492701)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39375 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-28 14:33:56 +00:00
Vadim Zeitlin
8e1a5bf979 added SetDoubleBuffered() (patch 1491093)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39374 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-28 14:30:08 +00:00
Vadim Zeitlin
0a089246e7 wizards not using sizers for the page layout now work again
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39373 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-28 14:19:18 +00:00
Vadim Zeitlin
6540132fa1 wxFontEnumerator::GetFacenames/Encodings() now return arrays and not pointers to them (patch 1483341)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39371 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-28 13:51:34 +00:00
Michael Wetherell
7325e21c4f Missing header.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39361 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-28 09:05:10 +00:00
Vadim Zeitlin
3032b7b5c2 moved power functions for MSW from utils.cpp to (new) power.cpp and implemented them
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39360 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-27 14:29:30 +00:00