Commit Graph

1055 Commits

Author SHA1 Message Date
Vadim Zeitlin
01459e68af added Allow() docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14723 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-22 18:52:05 +00:00
Vadim Zeitlin
0472ece753 implemented radio menu items for wxMSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14696 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-21 02:35:08 +00:00
Vadim Zeitlin
d65c269b3f 1. implemented radio menu items for wxGTK
2. changed (in most cases blindly) code for all the others
3. added wx/features.h
4. update wxMenu[Item] docs

----------------------------------------------------------------------
Committing in .

Modified Files:
	distrib/msw/tmake/filelist.txt docs/changes.txt
	docs/latex/wx/menu.tex docs/latex/wx/menuitem.tex
	include/wx/defs.h include/wx/menu.h include/wx/menuitem.h
	include/wx/gtk/menu.h include/wx/gtk/menuitem.h
	include/wx/mac/menuitem.h include/wx/motif/menuitem.h
	include/wx/msw/menuitem.h include/wx/os2/MENUITEM.H
	include/wx/univ/menuitem.h samples/menu/menu.cpp
	src/common/menucmn.cpp src/gtk/menu.cpp src/mac/menuitem.cpp
	src/motif/menuitem.cpp src/msw/menuitem.cpp
	src/os2/MENUITEM.CPP src/univ/menu.cpp
Added Files:
	include/wx/features.h
----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14674 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-18 19:41:35 +00:00
Václav Slavík
4fa0a5b443 docs corrections and docs for Chris' wxImage::SaveFile(filename_only) patch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14654 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-17 11:34:32 +00:00
Václav Slavík
f6ed38239c applied wxTR_HIDE_ROOT patch for wxMSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14641 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-16 19:35:15 +00:00
Václav Slavík
b931f7ee94 applied patch for seeking in GIF images
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14624 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-15 23:59:09 +00:00
Václav Slavík
ae71a6e890 wxLocale-related corrections to the docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14620 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-15 23:29:22 +00:00
Robin Dunn
15dadf3155 Added wxCURSOR_RIGHT_ARROW, which is like the typical wxCURSOR_ARROR,
but points to the right, (duh...)  This cursor is now used in wxSTC in
the margin area.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14615 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-15 22:52:15 +00:00
Vadim Zeitlin
62313c2788 right clicking outside any column sets the column in the list event to -1, not the last column
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14554 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-11 12:32:56 +00:00
Ron Lee
3aa5d53272 added optional parameter to SetSizer, to allow replacing a window's
sizer without deleting the existing one.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14537 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-10 11:19:16 +00:00
Julian Smart
fc7995487f Applied patch for Forty, print patch and wxHTML book patch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14465 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-06 17:50:52 +00:00
Vadim Zeitlin
d3f7a53b67 correct Insert() docs (bug #526172)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14454 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-06 00:24:33 +00:00
Ron Lee
772c017b2c Typo fix for GetSizer.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14423 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-28 09:20:12 +00:00
Julian Smart
c229e50dc7 Added middle mouse event macros to wxListCtrl doc; added wxCreateGreyedImage
and attempt to show disabled buttons in wxUniversal wxToolBar


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14400 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-25 10:11:10 +00:00
Vadim Zeitlin
9c9aeada3d added a note that wxStringList is obsolete
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14398 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-24 23:22:46 +00:00
Vadim Zeitlin
ccef86c75d added EVT_MENU_OPEN and EVT_MENU_CLOSE events
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14376 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-23 23:16:32 +00:00
Robert Roebling
9a9e73f6fd applied doc patch for wxPostEvent().
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14361 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-23 18:57:57 +00:00
Vadim Zeitlin
1800689f23 wxLogFatalError() now always aborts the program and doesn't use the active log target but always shows the standard message box
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14349 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-22 18:13:10 +00:00
Vadim Zeitlin
bff4ec6360 wxCursor(wxImage) added (Chris Elliott, patch 517439)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14340 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-21 15:22:58 +00:00
Vadim Zeitlin
538f35ccf4 use base 10 by default in wxString::To[U]Long
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14323 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-20 13:24:19 +00:00
Vadim Zeitlin
ec760ec9a0 added GetButton(), some cleanups
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14309 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-19 17:50:47 +00:00
Vadim Zeitlin
ec64d63207 added a note about parsing numbers with leading zeroes in ToLong/ToULong
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14306 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-19 15:06:37 +00:00
Vadim Zeitlin
9ef63a4a59 typo in style definition fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14303 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-19 13:41:24 +00:00
Václav Slavík
5270a2f939 tell wxHTML users to initialize wxImage
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14270 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-17 14:52:35 +00:00
Vadim Zeitlin
3e58dcb905 various splitter fixes:
1. generate the events from the event handlers, thus it is now possible to
   process the splitter events in the parent window
2. when double clicking the splitter which can't be unsplit it doesn't jump
   by a couple of pixels
3. misc code cleanup


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14263 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-16 21:53:52 +00:00
Václav Slavík
fd94e8aa45 A couple of changes to wxImage:
1. changed wxBMP_foo, wxCUR_foo to wxIMAGE_OPTION_{BMP,CUR}_foo
   (with backward compatiblity macros, of course)
2. applied Chris' patch to update hotspot when scaling an image
3. applied Chris' patch to write a filename in XPM and generalized it
   to pass wxIMAGE_OPTION_FILENAME to all saving handlers


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14247 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-16 01:45:30 +00:00
Mattia Barbon
9722642d5d Updated docs for wxProcessEvent
wxPerl docs updates
some minor fixes


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14242 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-15 21:50:50 +00:00
Robin Dunn
be90c029fd As per the wx-dev discussion in early Jan, replaced
wxWindow::m_parentSizer with m_containingSizer which is used to track
which sizer this window is a member of.  Windows will now remove
themselves from a sizer when destroyed.  Also added accessors so
window classes can find out if they are in a sizer and do things like
reset their min size, etc.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14221 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-14 23:34:46 +00:00
Vadim Zeitlin
bc7e0c92ad wxRESIZE_BOX -> wxRESIZE_BORDER (bug 515364)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14184 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-13 20:36:15 +00:00
Vadim Zeitlin
9e3229b777 added IsEditable
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14164 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-12 22:42:35 +00:00
Vadim Zeitlin
532da0d17f added SetString docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14137 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-11 21:27:27 +00:00
Václav Slavík
d7af2feac4 changed wxImage::ComputeHistogram to use wxHashMap
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14061 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-08 00:16:44 +00:00
Vadim Zeitlin
0371e9a826 added another overloaded DrawCircle() version for completeness and documented it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14059 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-07 23:24:05 +00:00
Vadim Zeitlin
5b8643eace documented wxCOMPILE_TIME_ASSERT2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14046 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-07 12:53:34 +00:00
Vadim Zeitlin
8f5d910492 added and documented wxCOMPILE_TIME_ASSERT and wxASSERT_MIN_BITSIZE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14034 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-06 20:07:49 +00:00
Vadim Zeitlin
1e3996b1bd base class of wxTreeItemData corrected
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13992 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-04 12:21:08 +00:00
Václav Slavík
32a0d013e9 changed wxFileName::Normalize signature to allow or-combination of flags and reverted Julian's hack-fix to wxTextFile
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13974 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-02 23:14:45 +00:00
Gilles Depeyrot
d6263458e4 wxCommand is in cmdproc.h (SourceForge patch #511506)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13970 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-02 13:21:40 +00:00
Vadim Zeitlin
5230934a95 wxDC::SetClippingRegion() in wxMSW works like in wxGTK, i.e. combines the given region with the old one (also documented this behaviour as the correct one)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13967 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-02 00:40:45 +00:00
Vadim Zeitlin
60ce696e26 made wxCondition::Signal() queue the signals generated while there were no waiters and documented this behaviour
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13956 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-01 15:43:37 +00:00
Vadim Zeitlin
bc5879ef40 fixed Show() doc, added Hide()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13952 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-01 12:24:05 +00:00
Vadim Zeitlin
0fb067bbe6 implemented wxRegion::Offset() for MSW and documented it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13936 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-31 16:00:13 +00:00
Julian Smart
88bed4b484 Pruned some of txrc.tex; removed redundant helpxlp files.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13921 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-29 23:08:49 +00:00
Mattia Barbon
e676441ff4 Documentation for wxHashMap, added deprecation to wxHashTable.
Quoted some unquoted _ here and there.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13914 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-29 21:31:16 +00:00
Gilles Depeyrot
8ddffcdaca added precisions for GetSize and GetClientSize
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13908 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-29 20:49:16 +00:00
Gilles Depeyrot
1387b68afb added SetAxisOrientation documentation and improved documentation of logical
to/from device relative coordinate conversions


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13907 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-29 20:48:07 +00:00
Václav Slavík
094eb71aa4 XMLID->XRCID, XMLCTRL->XRCCTRL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13868 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-27 23:51:05 +00:00
Václav Slavík
9dc14ebce0 added skeleton of Port notes section
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13860 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-27 23:37:06 +00:00
Julian Smart
1c0c339c2d Added first cut at sizer topic, based on Robert's manual and
individual class reference docs.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13859 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-27 19:58:13 +00:00
Václav Slavík
6cc4e6b81a new wxHtmlWindow::OnOpeningURL API
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13854 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-27 19:03:10 +00:00