Commit Graph

70 Commits

Author SHA1 Message Date
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
Ron Lee
12a3f2275c Deprecated wxSizer::Remove( wxWindow* ), s/Remove/Detach/ in most places.
Made wxSizer child list typesafe.  I've not added the wxList implicit
conversion kludge yet, let's see who complains first perhaps..

Deprecated wxSizer::{G,S}etOption in favour of {G,S}etProportion in line
with the parameter name change in the docs.

Added {G,S}etSpacer consistent with the accessors for windows/sizers.

Made all wxSizer index parameters size_t -- we support no sensible
interpretation for negative indexes in them.  Hopefully this will
cause no real problems, but code doing (eg. Remove( 0 )) will need
to change to use 0u to resolve the ambiguity with overloaded members.
This is probably a Good Thing though, ymmv.

s/FALSE/false/g ; s/TRUE/true/g ; s/wxASSERT/wxASSERT_MSG/g in sizer.{cpp,h}

Fixed (I hope) the brokenness in wxSizer::Show -- I have no code to test
this yet, so it's a blind change, but spacers should now be hidden correctly
instead of ignored, and it should be properly reversable over multiple
calls now too.

removed pointless private scoping around DECLARE_CLASS macros.

Replace 0's I added previously with NULL -- not like that will end the
email thread either..

Added Add( wxSizerItem * ) & co.  There are probably a couple of other
places we can usefully do something like this too.  Stopped short of
refactoring everything to raise some issues about sizer method recursion
on -dev.

Updated wxSizer docs some more, they are still incomplete but getting
better.

wrapped KeyCode in wxDEPRECATED, converted all (gtk build) instances
to GetKeyCode.  There may be a few left for other ports.

Fixed a couple of other random compile warnings along the way.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18616 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-07 10:22:07 +00:00
Vadim Zeitlin
22f3361e1c use DECLARE_NO_COPY_CLASS() where applicable (patch 633384)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18525 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-02 23:38:11 +00:00
Vadim Zeitlin
2b5f62a0b2 merged 2.4 branch into the trunk
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18040 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-04 14:11:26 +00:00
Robin Dunn
25f430fcc4 Fixed compile error
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15970 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-27 23:02:07 +00:00
Vadim Zeitlin
f0d5e7a25a react to the year being changed in the spin control text zone and not only with the spin buttons
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15968 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-26 23:13:43 +00:00
Robin Dunn
5b3610dab2 Fixed a crash when GetMonthControl returns NULL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15488 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-10 18:41:57 +00:00
Stefan Csomor
81b6ccf120 layout improvement on mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15450 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-08 22:55:14 +00:00
Vadim Zeitlin
bb61a98381 fixed the initial wxCalendarCtrl position and a minor appearance bug (the first closes the bug 539857)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15065 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-09 22:49:55 +00:00
Mattia Barbon
b70462f4f7 wxCalendarCtrl::Destroy() now deletes year spin control and
month combo box; tested in MSW and GTK .


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14914 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-02 17:46:45 +00:00
Vadim Zeitlin
7516ed26c9 1. wxSystemSettings class API face lift: better names for its methods
2. wxSystemSettings under wxUniv uses the wxTheme and wxColourScheme


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13254 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-30 22:34:36 +00:00
Vadim Zeitlin
fdda2df62d fixed redraw problems on resize under MSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12824 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-02 16:18:37 +00:00
Mattia Barbon
50d0b061ee Unicode compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12583 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-22 09:10:12 +00:00
David Webster
1bcf0c7d6e TRUE and FALSE, not true and false.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12305 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-04 14:51:05 +00:00
Vadim Zeitlin
37df1f3370 patch from Søren Erland Vestø for additional wxCalendarCtrl styles (also moved them all to calctrl.h from defs.h)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12262 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-02 15:42:51 +00:00
Robin Dunn
4fa54a31ad SetEventObject for wxCalendarCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12251 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-02 01:14:16 +00:00