Commit Graph

2325 Commits

Author SHA1 Message Date
Robert Roebling
83dc6964f0 Changed ComboDropDown button under GTK+ so that it
will create a transparent button. This works for
    the date control, but should be generalized somehow.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32462 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-28 14:38:47 +00:00
Vadim Zeitlin
98b5a1e920 don't hide m_cal when disabling the control (bug 1150830)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32460 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-28 13:08:47 +00:00
Vadim Zeitlin
ca9fb418d2 added default ctor and fixed copying of wxFileData (patch 1149384)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32421 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-27 15:54:25 +00:00
Julian Smart
f45fac95d6 Fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32401 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-27 10:54:09 +00:00
Julian Smart
49bf4e3e68 Added GetBitmap, GetIcon to wxImageList
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32400 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-27 10:36:58 +00:00
Robin Dunn
109b9ba582 The key event for the shift key should not start the cell editor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32378 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-26 03:16:46 +00:00
Vadim Zeitlin
2eda91db29 fix for disabling the control (bug 1150830)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32363 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-25 11:07:39 +00:00
Dimitri Schoolwerth
491a2b094b use a larger font again for wxMSW (the chopping off was caused by a wxStaticText resizing bug which has been fixed)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32312 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-22 23:08:35 +00:00
Vadim Zeitlin
89448b5dd7 use different image for pressed button state
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32273 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-21 00:10:56 +00:00
David Elliott
7e00fd890f Don't build when __WXMAC__ is defined but __WXMAC_OSX__ is not (i.e. CFM).
FIXME: We really ought to put this (as well as the existing __WXWINCE__ check)
into files.bkl but I have no idea how to do it cleanly.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32237 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-20 03:45:11 +00:00
Kevin Hock
a3b8b891fb Color dialog sliders make more sense inverted, with 0 at the bottom (slide the scale UP to add color, consistent with other "generic" color dialogs in other programs).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32236 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-20 03:22:54 +00:00
Vadim Zeitlin
9d9e32a07a don't use invalid font in wxDC used for measuring text extent
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32230 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-20 00:52:49 +00:00
Vadim Zeitlin
964f23b70e fix for Create(wxDateInvalidDate)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32210 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-19 20:52:38 +00:00
Stefan Csomor
d108f23649 adapt to mac l&f
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32203 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-19 19:55:18 +00:00
Vadim Zeitlin
0afa5859ab wxGenericListCtrl::SetItemState(-1) now changes the state of all items (patch 1101650)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32195 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-19 17:07:17 +00:00
Vadim Zeitlin
930fb29eb8 fixes for MSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32179 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-19 14:25:21 +00:00
Kevin Hock
8b939bc081 Added newline at the end, eliminates gcc warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32163 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-19 04:04:08 +00:00
Stefan Csomor
fec8346a04 using correct theme heights for header on mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32154 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-18 20:23:02 +00:00
Robin Dunn
d8b49350e6 Fix the use of Today() for when invalid date is passed to ctor. Also
set best/min size using size passed to ctor.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32147 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-18 17:58:25 +00:00
Ryan Norton
179e085f05 wxUSE_XXX related fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32129 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-18 04:43:47 +00:00
Vadim Zeitlin
94ab4d929b minor cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32122 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-17 23:20:39 +00:00
Vadim Zeitlin
38511687af more tweaks to drop down arrow drawing (Andreas Pflug)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32120 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-17 18:29:22 +00:00
Robert Roebling
836dded82b Applied background colour patch for Motif notebooks
(actually in generic tab control code).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32105 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-16 23:08:22 +00:00
Włodzimierz Skiba
c47addef10 wxPoint/Size/Rect() causes the same code with (0,0) initialization and is incomparably more readable and clear.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32101 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-16 20:34:34 +00:00
Julian Smart
94f5392355 Standard dialogs becoming useable on WinCE.
Make standard button sizer horizontal on WinCE since
vertically it looks atrocious (app will need to reduce
number of buttons if they don't fit)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32095 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-16 15:37:09 +00:00
Vadim Zeitlin
b62613041d use type-safe Connect()s
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32069 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-15 11:59:55 +00:00
Stefan Csomor
1bf38b0eda toplevel background behaviour changed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32057 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-15 06:02:05 +00:00
Włodzimierz Skiba
a7c58211db Minor editing.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32042 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-14 18:28:56 +00:00
Stefan Csomor
bfef8c703e changed back, as I found a source compatible way to solve the background problem
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32001 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-13 16:45:34 +00:00
Stefan Csomor
6e38077e6c wxMac needs inherited on paint for the correct background as well
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31994 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-13 14:31:30 +00:00
Robert Roebling
2b43d5885d Comment out line that set the VirtualSizeHints() upon
calling SetScrollbars().


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31991 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-13 13:44:08 +00:00
Vadim Zeitlin
2436cac777 fixes for wxDP_ALLOWNONE handling
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31988 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-13 13:07:20 +00:00
Vadim Zeitlin
1721a8c028 bug fixes for using wxTransientPopupWindow and wxDP_ALLOWNONE support from Andreas Pflug
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31984 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-13 12:44:14 +00:00
Robert Roebling
878ddad57a Reapplied patch to change the two scrolled window implementations
to no longer clip the last bits as a rounding error. I had to
    change GetVirtualSize() as per my mail to devs.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31976 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-12 23:44:24 +00:00
Robert Roebling
bf67b13520 Revert patch again, as the scrollbars are now always shown.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31962 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-12 12:36:12 +00:00
Robert Roebling
bf06fe48ad ALso correct scrollbar calc to not clip division remainder
from the displayed area.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31956 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-12 08:51:53 +00:00
Vadim Zeitlin
106a79999d don't hardcode the array size as done by last commit, just what exactly was the point of this change?
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31931 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-11 18:33:42 +00:00
Robin Dunn
7b45094a1c typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31910 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-11 00:22:54 +00:00
Włodzimierz Skiba
2997ca30d6 Use default constructors for wxSize/Point/Rect.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31904 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-10 21:33:56 +00:00
Julian Smart
105fc244a1 Applied patch [ 1113565 ] generic treectl multiselection
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31896 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-10 15:33:51 +00:00
Vadim Zeitlin
bf6461219d redraw the grid when it's enabled/disabled
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31881 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-09 22:31:30 +00:00
Julian Smart
e4d192ff29 Applied patch [ 1116706 ] wxRendererGeneric::DrawComboBoxDropButton position fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31879 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-09 21:34:05 +00:00
Vadim Zeitlin
72d87edb68 don't use wxBG_STYLE_CUSTOM for GTK1, it breaks background painting there
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31878 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-09 20:56:54 +00:00
Michael Wetherell
f69fc95c93 Minor compilo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31859 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-08 15:39:40 +00:00
Włodzimierz Skiba
9548f38086 Minor decorations.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31854 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-08 13:02:34 +00:00
Ryan Norton
af7bb44ca4 Patch [ 1118343 ] Use wxTextValidator::SetIncludes in wxDatePickerCtrlGeneric
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31848 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-08 03:16:09 +00:00
Julian Smart
807f503834 Added validator to generic date picker control
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31823 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-07 18:37:43 +00:00
Julian Smart
95b838bed2 Workaround for static controls appearing with a white background
on otherwise grey panels on WinCE


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31820 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-07 14:57:14 +00:00
Stefan Neis
d3e9dd9409 fixed double delete in UpdateAttrRows/Cols introduced by patch 1104355.
[ Only the change for UpdateAttrRowsOrCols was valid. ]


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31799 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-06 17:10:01 +00:00
Robert Roebling
18216ae352 Applied context menu patch.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31786 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-06 12:45:26 +00:00