Commit Graph

1847 Commits

Author SHA1 Message Date
Julian Smart
5283098e13 Applied patch [ 662321 ] Port of wxWindows to Wine
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18618 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-07 13:49:08 +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
db50ec5a50 workaround for not appearing vertical scrollbar in wxTE_RICH2 controls
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18613 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-07 01:10:03 +00:00
Václav Slavík
48594fd2cd added my patches to the list of things to backport to 2.4
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18583 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-04 23:51:46 +00:00
Julian Smart
c5f53eb8cb Added a note about 'make install'
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18543 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-03 14:08:53 +00:00
Vadim Zeitlin
0becd47010 support for using DIBs for wxBitmap implementation (patch 649866)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18524 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-02 23:28:56 +00:00
Vadim Zeitlin
802df2b744 documented wxDateSpan
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18516 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-02 22:10:21 +00:00
Vadim Zeitlin
93401be962 added operator==() and !=() for wxDateSpan
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18515 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-02 22:07:51 +00:00
Vadim Zeitlin
e1e1272f20 implemented support for column label alignment (closes 215870)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18514 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-02 21:29:21 +00:00
Vadim Zeitlin
9baf5184bd the file containing the list of things which can be backported to 2.4 branch later
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18513 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-02 21:00:28 +00:00
Vadim Zeitlin
df4ac4c7e9 fixed bug with wxTR_EDIT_LABELS not working with xwTR_MULTIPLE (bug 622089)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18510 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-02 20:21:41 +00:00
Vadim Zeitlin
047f39deb9 fixed wxMutexLocker ctor signature (patch 660549)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18500 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-02 01:00:17 +00:00
Vadim Zeitlin
0f66923e84 say that EVT_TEXT_ENTER requires wxTE_PROCESS_ENTER to be set (closes bug 659948)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18499 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-02 00:45:40 +00:00
Vadim Zeitlin
fa06b433fc fixed wxCaret::SetSize() (closes bug 659209)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18498 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-02 00:41:47 +00:00
Vadim Zeitlin
cd916794f0 made generic EmulateKeyPress() to work with Delete and BackSpace (closes bug 658409)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18497 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-02 00:07:13 +00:00
Vadim Zeitlin
fdd04d720f typo fix (closes bug 654197)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18496 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-01 23:39:07 +00:00
Vadim Zeitlin
e2ca995fa3 don't send CHECKLISTBOX_TOGGLE event when Check() is called (closes bug 651140)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18491 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-01 22:41:10 +00:00
Vadim Zeitlin
bed5584e2a added wxControlWithItems docs, updated the others to refer to it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18488 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-01 22:08:11 +00:00
Robin Dunn
edc738528a Added wxLog::Get/SetLogLevel
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18475 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-01 05:16:07 +00:00
Ron Lee
00976fe56b Add wxSizer::Detach so we can detach child sizers without deletion.
Updated wxSizer docs for this and a couple of other missing/outdated
things.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18460 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-30 13:02:15 +00:00
Mattia Barbon
9a718b8623 Small updates:
corrected some URLS, used correct/current capitalisation for MinGW and
Cygwin, plus some minor clarifications.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18454 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-29 19:32:06 +00:00
Julian Smart
916095ba21 Tweaked the wording slightly for VC++ 5 compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18453 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-29 18:46:16 +00:00
Ron Lee
99006e446e Added wxTreeCtrl::GetItemParent to deprecate GetParent.
Moved GetParent into WX_COMPAT_2_2 and exposed base GetParent in
that case too.

Replaced all lib/sample uses of wxTC::GetParent with GetItemParent.

Updated docs to suit.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18448 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-29 07:48:21 +00:00
Julian Smart
52ee226853 Updated some scripts
Small corrections to wxScrolledWindow doc


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18442 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-28 18:42:23 +00:00
Mattia Barbon
762e199741 wxPerl notes for DocView.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18432 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-27 18:30:48 +00:00
Julian Smart
22f2279860 Applied patch [ 658505 ] Updates documentation for wxTimeSpan
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18428 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-27 15:12:38 +00:00
Vadim Zeitlin
b74cce40fd handle accel keys for owner drawn menu items (based on the patch 657105)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18389 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-21 15:01:21 +00:00
Vadim Zeitlin
46a5e01e86 use SS_CENTERIMAGE to prevent wxStaticBitmap from stretching its bitmap; also a face lift for control creation code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18388 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-21 14:35:18 +00:00
Julian Smart
fc9a9b2ab2 Do -> Redo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18370 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-20 11:15:05 +00:00
Julian Smart
d863ed8333 Cleaned up SetMenuStrings, factoring out redo and undo label accessors at the same time
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18369 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-20 10:15:06 +00:00
Julian Smart
75c116ab2c Applied patch [ 649599 ] Fixes bug 610850: Inserting a menu
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18333 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-18 21:23:25 +00:00
Vadim Zeitlin
0cde01aedc removed extra (non existing) Prepend() parameter
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18331 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-18 19:09:18 +00:00
Julian Smart
0fa2e104c5 Partially applied [ 632321 ] XRC object_ref fix
1. Fix object_ref so it at least works, with this I mean
XRC was not even handling the little sample in
tn0014.txt correct.

Hans Van Leemputten (hansvl)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18311 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-17 22:52:48 +00:00
Julian Smart
ba7fe276d4 Doc corrections
filelist.txt correction and filedlgg.cpp inclusion for wxUniv/MSW


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18307 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-17 22:22:19 +00:00
Robin Dunn
b829bf55a0 Give wxSafeYield an onlyIfNeeded parameter
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18278 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-16 21:58:36 +00:00
Julian Smart
1bd71df911 Fixed missing checkbox alignment
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18262 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-16 12:34:06 +00:00
Julian Smart
3d2814f3c3 Updated change log
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18261 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-16 11:11:01 +00:00
Julian Smart
ea5ef76f07 Applied patch [ 652894 ] Checklistbox doesn't need owner draw
Updated wxUniv readme about setup[0].h


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18257 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-16 10:45:09 +00:00
Julian Smart
aab49a0b6a Applied patch [ 654023 ] Enables HtmlHelp (native)
Also fixed the bad event table in helpfrm.cpp.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18252 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-16 10:22:08 +00:00
Václav Slavík
7a8b9bd950 fixed wxFilesystem docs bug
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18219 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-13 23:50:04 +00:00
Václav Slavík
4d144d07e7 documented FileNameToURL and URLToFileName
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18218 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-13 23:49:19 +00:00
Vadim Zeitlin
84023968e5 corrected wxCommandProcessor ctor docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18176 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-10 14:09:38 +00:00
Julian Smart
368c9c6d84 Applied some of patch [ 650957 ] wxWinCE diff-0.0.4
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18175 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-10 12:13:25 +00:00
Julian Smart
1d30a0a132 Applied patch [ 642162 ] restore wxWizard wxEVT_WIZARD_FINISHED
Restore the wxWizard wxEVT_WIZARD_FINISHED
event, which was sent when the FINISHED button was
pressed and the wizard was finished. When the
wxWizard is modal this event is not needed. However,
when the wizard is non-modal this is the only way to
determine that the wizard has finished.

Scott Pleiter


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18136 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-09 09:46:16 +00:00
Vadim Zeitlin
ce788ad93a fixed Get/SetString() prototypes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18124 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-09 00:14:51 +00:00
Vadim Zeitlin
ecb7e58c24 fixed a typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18123 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-09 00:06:20 +00:00
Vadim Zeitlin
8def689d42 replaced wxItem_Xxx with wxITEM_XXX as they should be
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18122 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-09 00:05:29 +00:00
Václav Slavík
fcf77487ed added wxHtmlHelpController::AddBook(wxFileName)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18118 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-08 20:30:42 +00:00
Václav Slavík
cc37ecaf2d fixed tex2rtf error
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18117 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-08 20:30:02 +00:00
Roger Gammans
cdbecb3946 Documentation for wxDbGrid from patch 638274
Updates with the aim of improving readability.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18111 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-08 16:10:50 +00:00