Vadim Zeitlin
d15e689395
removed the workaround for our SetWindowStyleFlag() being called from base class Create(), not needed any more after change in rev 1.291 of src/common/wincmn.cpp
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43778 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-03 21:30:23 +00:00
Vadim Zeitlin
afcdd052c1
Fixed bug in wxCalendarCtrl::HitTest() when clicking on month change arrows
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43622 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-24 09:25:49 +00:00
Vadim Zeitlin
2c9fc05a46
delete controls which are part of the calendar (even if they're siblings to it and not its children) when the calender itself is deleted
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43526 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-19 15:14:14 +00:00
Vadim Zeitlin
9576de5c8b
avoid assert when creating the control with wxCAL_SEQUENTIAL_MONTH_SELECTION style introduced by last commit
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43525 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-19 15:11:24 +00:00
Vadim Zeitlin
6bc807b35d
assert if wxCAL_SEQUENTIAL_MONTH_SELECTION style is changed after creation as this doesn't currently work
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43523 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-19 15:01:48 +00:00
Robin Dunn
170acdc90e
GetBestFittingSize --> GetEffectiveMinSize
...
SetBestFittingSize --> SetInitialSize
SetBestSize --> SetInitialSize
SetInitialBestSize --> SetInitialSize
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42816 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 08:50:17 +00:00
Stefan Neis
63403da780
Make wxCalendarCtrl work on OS/2's PM port as well (patch #1523304 ).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40143 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-16 20:49:29 +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
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
f516d98637
create stock GDI objects on demand; use const with GDI objects appropriately (patch 1445355)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38765 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-16 22:18:29 +00:00
Włodzimierz Skiba
faa94f3ec8
Final and global PRIOR/NEXT change: keep consistency using only PAGE versions, deprecate old ids, remove rest of build problems with case statemets.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38380 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-27 12:25:17 +00:00
Julian Smart
70b6d39412
Applied part of patch [ 1304579 ] fix click bug in wxCalendarCtrl
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36953 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-18 10:38:54 +00:00
Włodzimierz Skiba
d9170b47d1
wxCalendarCtrl: positioning fixes and colours following system settings.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36816 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-10 21:08:07 +00:00
Michael Wetherell
4a10ea8b13
Warning fixes for win64
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35921 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-17 22:08:05 +00:00
Vadim Zeitlin
4e115ed2c7
fixed variable shadowing icc warnings
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35713 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-26 00:29:42 +00:00
Mart Raudsepp
8907154c1a
Nuke #pragma implementation/interface's
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35650 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-23 12:56:45 +00:00
Włodzimierz Skiba
3a39df31ff
Warning fix.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34449 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-31 12:44:15 +00:00
Julian Smart
3103e8a97e
Typo correction patch [ 1208110 ] Lots of typo corrections
...
Olly Betts
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34436 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-31 09:20:43 +00:00
Julian Smart
f6f735d3c2
Applied patch [ 1207531 ] Fix for wxCalendarCtrl being UNUSABLE with some languages
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34402 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-30 08:45:59 +00:00
Robin Dunn
311b8d3db7
Patch from Ricardo Pedroso that fixes a segfault when the
...
wxCAL_SEQUENTIAL_MONTH_SELECTION style is used.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34349 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-26 17:33:41 +00:00
Michael Wetherell
61581d48be
Have the calendar control handle events from it's combo and spin controls
...
using Connect().
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34326 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-24 21:50:06 +00:00
Julian Smart
562e35787c
Applied patch 1190445: CalCtrl sizing issues
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34263 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-22 15:51:36 +00:00
Włodzimierz Skiba
50807f9083
wxUniversal positioning fix [ #1040625 ]
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33887 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-26 19:08:37 +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
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
Vadim Zeitlin
ab9cf6366e
implement date events here if wxDatePickerCtrl is not used (as we need them too)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31410 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-17 00:32:22 +00:00
Vadim Zeitlin
feb72429e8
added API, docs and Win32 implementation of wxDatePickerCtrl
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31366 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-15 01:31:10 +00:00
Włodzimierz Skiba
422d0ff0be
wxDefaultSize.* and wxDefaultPosition.* to wxDefaultCoord.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28324 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-20 10:09:47 +00:00
Robin Dunn
85fab316d6
Need to ensure that the right background is explicitly set.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28114 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-30 22:00:45 +00:00
Robin Dunn
5f89b54341
fixed typo
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28113 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-30 21:55:10 +00:00
Robin Dunn
ab473127c6
Layout fixes due to measuring with the wrong font. Also added
...
GetDefaultAttributes and switched everything to use GetXXX instead of
m_XXX.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28111 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-30 21:49:17 +00:00
Włodzimierz Skiba
ca65c0440a
Code cleaning: wxID_ANY, wxDefaultSize, wxDefaultPosition, true, false, wxEmptyString, tabs and white spaces.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27853 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-17 16:22:36 +00:00
Julian Smart
8d52d6cc3f
Needs a foreground colour
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27552 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-01 08:47:41 +00:00
Julian Smart
655719367a
Use old licence name
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27408 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-23 20:53:33 +00:00
Julian Smart
77ffb5937e
Name and version changes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27404 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-23 14:56:36 +00:00
Vadim Zeitlin
999836aaca
warning fixes for BCC and OW (heavily modified patch 819146)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24196 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-16 10:28:15 +00:00
Vadim Zeitlin
cb0afb2662
replaced wxNO_FULL_REPAINT_ON_RESIZE with wxFULL_REPAINT_ON_RESIZE in XTI declarations
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23874 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-24 00:41:06 +00:00
Stefan Csomor
3ff066a4ec
macro naming changes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23376 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-04 01:19:40 +00:00
Stefan Csomor
ffca575c83
WX_EVENT_PROPERTY instead of WX_DELEGATE
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23264 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-27 18:42:14 +00:00
Stefan Csomor
9d39cef7ef
event exposure
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23258 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-27 17:29:58 +00:00
Julian Smart
73c36334e7
Added style metadata for selected controls
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23157 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-24 11:26:25 +00:00
Stefan Csomor
0e4534295e
avoid streaming of 'private' children
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23149 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-23 22:49:55 +00:00
Stefan Csomor
b0a877ec93
support for RTTI
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23061 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-21 06:33:51 +00:00
Václav Slavík
14f355c2b5
added support for gcc precompiled headers
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22723 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-09 12:46:53 +00:00
Julian Smart
1882f416e3
Initialised static controls
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21348 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-24 08:20:05 +00:00
Julian Smart
605dfd9173
Applied patch [ 650511 ] wxCalendarCtrl - year does not change
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20828 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-01 16:46:49 +00:00
Julian Smart
eaf6274cc0
Applied patch [ 733425 ] Fix for header rendering problem in CalCtrl
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20811 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-01 13:39:30 +00:00
Julian Smart
6aa89a22b8
Fixed copyrights and licence spelling
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19596 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-17 11:55:54 +00:00
Julian Smart
e910c00040
Only use patch from Otto Wyss on universal, for now.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18901 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-24 12:12:06 +00:00
Julian Smart
95bcc40c74
Applied patch [ 666379 ] CalCtrl doesn't use best sizes for the year combobox
...
In the calender the size of the combobox for the year
is just defined by a margin from the month combobox to
the left border. While in wxUniv the year control can't
show all 4 digits, in wxMsw it show almost twice as
much.Instead the year should use it's best size and be
left aligned to the calendar. Just in case the month in
any language is longer than it has space in the
calendar it is shortend.This way the year always can
show the 4 digits.
This patch relies on the fact that a combobox has a
good best size implementation. This is not the case
with wxMSW but I don't know why. In wxUniv there is
another patch [634896].
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18900 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-24 12:00:28 +00:00