Commit Graph

37 Commits

Author SHA1 Message Date
Włodzimierz Skiba
8228b8932a Line-up interfaces to use size_t for GetCount()s (and count related api).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38076 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-14 19:44:45 +00:00
Mart Raudsepp
7e48f6d964 Remove the GetItemHeight sample from samples/checklst as it exists only on wxGTK and wxMSW. Improved patch #1443694
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37849 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-07 06:37:29 +00:00
Robert Roebling
4a46cbe8c6 Applied Ryan's native wxListBox and wxCheckListBox patch
in slightly modified form..


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37769 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-01 21:51:42 +00:00
Włodzimierz Skiba
1914bb8e12 WinCE friendly wxCheckListBox sample.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37737 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-26 02:04:58 +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
Michael Wetherell
f62f161879 The checklst samples requires wxUSE_CHECKLISTBOX
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34200 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-20 21:28:06 +00:00
Włodzimierz Skiba
958d3a7e4b Warning fixes found under hardest mode of OpenWatcom. Seems clean in Borland, MinGW and DMC.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29683 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-06 20:32:05 +00:00
Václav Slavík
749bfe9a6d compilation fixes for gcc-3.4
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29599 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-02 12:36:02 +00:00
Włodzimierz Skiba
8520f1374c Fixes for wxUSE_STATUSBAR.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28310 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-19 15:36:01 +00:00
Julian Smart
be5a51fb59 More name changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27429 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-25 11:20:37 +00:00
Julian Smart
8ad18dc32c Applied [ 899616 ] Fixes to the checklst and splitter samples
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26312 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-23 21:50:16 +00:00
Mattia Barbon
87728739f2 Various warning and Unicode fixes from ABX.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23454 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-09 20:24:34 +00:00
Mattia Barbon
7df07b10aa various compilation/warning fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22258 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-23 19:04:42 +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
d553ceb286 test InsertItems() trying to reproduce the bug 633150 -- but unsuccessfully
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18509 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-02 19:18:19 +00:00
Vadim Zeitlin
3dabb1e51b added check/uncheck/toggle tests
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18489 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-01 22:09:14 +00:00
Mattia Barbon
9f84eccdea Make some of the samples compile in Unicode mode.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18210 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-13 21:33:14 +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
Vadim Zeitlin
df7d383fc5 tests for multiple selection check listboxes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15470 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-09 21:58:04 +00:00
Mattia Barbon
4693b20c75 Unicode compilation fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11661 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-21 20:21:44 +00:00
Robert Roebling
e680a37841 Various makefile corrections,
Minor beatifications.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5598 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-22 22:47:30 +00:00
Vadim Zeitlin
f048e32fcd 1. wxMDIParentFrame::~wxMDIParentFrame() bug fixed
2. tooltips work with wxRadioBox
3. duplicated OnCtlColor()s moved to wxControl


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4693 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-25 23:28:41 +00:00
Robert Roebling
2f073eb2e0 Fixed problem with mouse events getting sent to wrong
children when these were scrolled.
  wxCheckBox and wxRadioButton now have cursors and
    will do other things more sanely.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4085 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-20 20:38:47 +00:00
Robert Roebling
eb38f734d2 Small fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4032 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-17 15:59:20 +00:00
Robert Roebling
d8d474af58 Distrib changes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4031 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-17 14:55:39 +00:00
Ove Kaaven
befa6d980e One sample a day keeps stagnation away
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3128 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-07-25 06:04:20 +00:00
Vadim Zeitlin
8e1d4f96f5 minor changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2462 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-14 14:44:03 +00:00
Vadim Zeitlin
c386222cd3 fixed compilation under Motif
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2098 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-12 11:51:36 +00:00
Vadim Zeitlin
bbdbfb0e3d check list box sample updated to test InsertItems
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1789 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-25 13:50:16 +00:00
Julian Smart
e306597309 Removed lots of OnClose functions; doc'ed OnCloseWindow better;
MM_... -> wxMM_...


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1615 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-05 23:55:04 +00:00
Vadim Zeitlin
ccfd0a25fe status bar is created before it's used for the first time (better this way)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1217 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-12-17 14:45:22 +00:00
Robert Roebling
4f22cf8ddb Removed minor differences between wxMSW and wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1216 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-12-17 14:07:46 +00:00
Robert Roebling
b292e2f512 I've put live into Vadim's wxNavigationKeyEvent idea
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1212 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-12-17 08:40:34 +00:00
Vadim Zeitlin
655822f3a7 1. is there any reason to comment out SetColor() in controls? I restored it...
2. Removed unused files from checklst sample


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1206 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-12-15 22:59:11 +00:00
Unknown (UG)
3349fe9210 no message
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@893 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-10-21 08:34:32 +00:00
Unknown (UG)
8d5e303441 miscellaeneous fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@861 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-10-17 07:31:39 +00:00
Julian Smart
457814b5aa *** empty log message ***
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-05-22 19:57:05 +00:00