Commit Graph

18978 Commits

Author SHA1 Message Date
Włodzimierz Skiba
582f07c253 [ 1487463 ] XRC handler for wxOwnerDrawnComboBox.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39803 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-20 12:26:09 +00:00
Włodzimierz Skiba
df69528b7e Include wx/hashmap.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39802 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-20 10:24:07 +00:00
Jamie Gadd
9d1b7527cd Add required padding to DoGetBestSize() for small bitmaps when using themes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39799 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-19 23:50:18 +00:00
Włodzimierz Skiba
8e5ec12961 [ 1508778 ] Fix for wxOwnerDrawnComboBox list selection rendering.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39798 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-19 21:14:19 +00:00
Włodzimierz Skiba
dd05139a80 Include wx/gdicmn.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39797 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-19 20:18:46 +00:00
Paul Cornett
b85229d15b remove redundant GdkBitmap representation from wxBitmap
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39796 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-19 18:30:13 +00:00
Paul Cornett
0006b9a540 remove obsolete color cube and image to bitmap code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39793 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-19 16:14:21 +00:00
Włodzimierz Skiba
e5d6334238 [ 1507736 ] wxOwnerDrawnComboBox improved list item width checking.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39790 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-19 09:02:10 +00:00
Vadim Zeitlin
1d39a12a30 more tweaks to the margins: don't need them to be so big in vertical direction
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39789 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-19 08:24:39 +00:00
Włodzimierz Skiba
25466131ac Include wx/menuitem.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39787 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-19 07:12:50 +00:00
Paul Cornett
fa21f43888 initialize GdkColor so code which incorrectly accesses it will work as well as it did before
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39783 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-19 03:19:44 +00:00
Vadim Zeitlin
9413e1e34a allow claling Unassociate() on previously not initialized wxMimeTypesManager
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39780 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-18 21:33:38 +00:00
Stefan Neis
21a9132e92 Fixed sizer height and queried text length according to patch #1507207
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39777 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-18 19:31:07 +00:00
Stefan Neis
1ebd017e14 Partly reverted changes to Get(Current)Selection.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39776 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-18 19:25:41 +00:00
Julian Smart
0db43f1ab6 Wouldn't compile on Intel/universal binary with those tests, and
do we really need several lines of ifdefing just to include a header
maybe for microsecond gains?


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39773 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-18 11:16:43 +00:00
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