Commit Graph

131 Commits

Author SHA1 Message Date
Francesco Montorsi
c0e97a5ec4 small changes to fix doxygen warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55862 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-25 14:07:25 +00:00
Francesco Montorsi
23b7f0cbd0 more revisions of f*h headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55861 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-25 14:03:38 +00:00
Francesco Montorsi
4707b84cd0 ifacecheck fixes to c*.h headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55842 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-24 23:29:43 +00:00
Francesco Montorsi
d62c1e628d changed wxColourData::GetCustomColour to const; there's no reason for it to be non-const; fixed wxColourData iface header
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55834 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-24 17:57:18 +00:00
Vadim Zeitlin
e57337cec3 document Connect(host, port) overload
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55830 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-24 13:16:17 +00:00
Jaakko Salli
bb6720bb9e Document revisioning (including more wx-like formatting and internal function removal)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55822 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-23 17:37:27 +00:00
Jaakko Salli
24588cd306 Remove obsolete references to 'target page' concept
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55821 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-23 15:38:49 +00:00
Jaakko Salli
40924780ea Remove doc references to 'common value' (which is unfinished feature)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55820 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-23 15:35:32 +00:00
Francesco Montorsi
6bddaaf947 fix signature of wxClipboard::UserPrimarySelection; in particular change the default value from true to false since in the real sources the default value has always been the latter
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55816 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-22 22:39:21 +00:00
Francesco Montorsi
b7e94bd7eb automated virtual/const fixes by ifacecheck
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55806 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-22 19:01:17 +00:00
Francesco Montorsi
62a7da7532 ifacecheck fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55805 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-22 18:21:32 +00:00
Vadim Zeitlin
8b2e0e6d19 position the insertion point to the start, not end, of the selection for compatibility with MSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55799 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-22 16:15:35 +00:00
Vadim Zeitlin
ed9dd91465 mention that width/height parameters to wxDisplaySize[MM]() can be NULL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55797 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-22 16:06:56 +00:00
Francesco Montorsi
9d9c1c24d7 other ifacecheck fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55783 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-21 23:48:04 +00:00
Francesco Montorsi
98ccd54522 various misc ifacecheck fixes (many virtual attributes missing)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55782 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-21 23:13:49 +00:00
Francesco Montorsi
c977fa847c revised and fixed some typos
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55781 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-21 22:35:10 +00:00
Francesco Montorsi
cbea3ec6ae introduced wxICON_DEFAULT_TYPE and wxBITMAP_DEFAULT_TYPE; documented these default argument values; matched the wxBitmap and wxIcon interfaces to their real implementations; revised icon.h interface header
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55777 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-21 20:03:14 +00:00
Jaakko Salli
a6162a3eaf 'wx(U)LongLong << variant' type safety improved (now works even if variant has plain long value). Added << operator and WXVARIANT template specialization for wx(U)LongLong_t as well. Changed WX_PG_DECLARE/IMPLEMENT_VARIANT_DATA so that classname << variant can be customized.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55771 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-21 16:54:22 +00:00
Francesco Montorsi
bc35c72867 fix default argument values
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55770 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-21 16:50:52 +00:00
Jaakko Salli
3c26d11be9 Moved SetPropertyAttributeAll() to wxPropertyGridInterface
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55767 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-21 15:42:08 +00:00
Jaakko Salli
bba3f9b5bc A lot of documentation revision. Updated doctest code in propgrid sample to reflect sample code on overview page.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55766 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-21 14:13:32 +00:00
Václav Slavík
40fcf546f6 added wxGetDisplayPPI() convenience function and wxPrintout::SetPPI*() overloads accepting single wxSize argument
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55761 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-21 09:35:49 +00:00
Vadim Zeitlin
77d2c45c38 add const synonyms for wxGridTableBase::GetNumberRows/Cols(), using const_cast<> all the time is painful
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55750 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-20 22:03:27 +00:00
Vadim Zeitlin
ba4d737a9e allow specifying the initial modifier keys values in the ctor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55747 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-19 23:59:39 +00:00
Vadim Zeitlin
8a3e536cd5 - Main change is the addition of wxGridSelectRowsOrColumns selection mode
(which is still probably buggy, wxGridSelection needs to be reviewed)
- Add XYToCell() overloads returning wxGridCellCoords (instead of modifying the
  argument passed by reference -- where did this come from?) and document them.
- Added GoToCell() which does make the new current cell visible unlike
  SetGridCursor() (which was documented as doing it, but wasn't)
- Changed SetCurrentCell() to only not change the cell if wxEVT_GRID_SELECT_CELL
  it generates is vetoed, not just processed as this seems to make more sense
- Split jumbo (~400 lines) ProcessGridCellMouseEvent() function into chunks
- Add many more comments to make reading this code seem less like puzzle
  solving for the next unfortunate soul to do it


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55746 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-19 23:33:04 +00:00
Vadim Zeitlin
0e0977894a make wxKeyEvent and wxMouseEvent derive from the same wxKeyboardState object (indirectly via wxMouseState in the case of the latter) to make Get/HasModifiers() available in wxMouseEvent as well while avoiding code duplication
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55745 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-19 18:41:41 +00:00
Jaakko Salli
939d936402 Moved wxPGChoices m_choices member from various property classes to base wxPGProperty. This allows any property to have choices without subclassing and therefore work with Choice and ComboBox editors. Also removed redundant choice manipulation functions from wxPropertyGridinterface (ie. now use ones in wxPGProperty).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55740 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-19 16:57:33 +00:00
Vadim Zeitlin
41f6f17d01 return 0 (meaning the file is not seekable, as the docs now explain) instead of 4KB for the files in sysfs under Linux (#9965)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55726 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-19 08:11:44 +00:00
Francesco Montorsi
f910f4d5cb fix default arguments for various functions/ctors
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55709 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-18 18:47:34 +00:00
Francesco Montorsi
f1d5aa1285 few details fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55708 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-18 18:34:33 +00:00
Jaakko Salli
35f6f7de48 Removed unused comment
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55706 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-18 17:47:19 +00:00
Jaakko Salli
e342075f46 Document struct wxPGPaintData in function docs of only function that uses it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55705 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-18 17:43:15 +00:00
Jaakko Salli
15cbcd00da Fixed typos
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55692 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-17 18:11:49 +00:00
Robert Roebling
682f6de664 minor corrections
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55690 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-17 18:08:46 +00:00
Vadim Zeitlin
10a4531d1d more grid folding: got rid of duplicate version of methods for finding the closest row/column edge, appending/inserting/deleting rows/columns, and moving cursor vertically/horizontally
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55663 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-16 16:31:44 +00:00
Vadim Zeitlin
5039f140c4 document wxGridTableBase
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55662 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-16 16:18:39 +00:00
Jaakko Salli
0372d42ea5 Eliminated C++ RTTI (typeid etc) use. Eliminated wxPGVariantData (default default value for new types is now Null variant). Re-created variantdata creator macros based on those found in variant.h. Using DECLARE/IMPLEMENT_VARIANT_OBJECT whenever possible.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55660 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-16 15:55:53 +00:00
Robert Roebling
946954d3bf Added reverse iterator to wxVector<T>
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55654 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-16 12:43:11 +00:00
Vadim Zeitlin
dac8712fcf document wxDELETE() and wxDELETEA() (now committing the right file, please disregard comment of r55648)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55649 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-15 16:12:07 +00:00
Vadim Zeitlin
08dd9b5aed reviewed, updated and corrected wxGrid docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55640 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-15 12:07:25 +00:00
Vadim Zeitlin
242ec2f7e9 really, really fix handling Enter in spin controls: only request it for the control if wxTE_PROCESS_ENTER is used to avoid breaking the use of Enter for the default item activation if it isn't; also document wxTE_PROCESS_ENTER style for wxSpinCtrl and add it to the sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55617 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-14 19:50:30 +00:00
Jaakko Salli
258ccb95f5 Updated documentation to acknowledge the fact that properties can have identical labels, and that they must have non-empty name that is unique under parent
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55604 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-14 13:53:21 +00:00
Vadim Zeitlin
55f0bf1ff1 some wxGrid docs cleanup, it's still a huge mess though
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55603 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-14 13:53:20 +00:00
Vadim Zeitlin
35c2aa4f19 added wxFileName::GetVolumeString() (#9950)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55596 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-14 01:18:05 +00:00
Vadim Zeitlin
1c4293cb91 added wxPropertyGrid from Jaakko Salli (#9934)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55576 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-12 20:57:41 +00:00
Vadim Zeitlin
a3ac93e3ac return true from IsBeingDeleted() if any of the parent windows is marked for destruction too (see #9867)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55570 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-12 14:09:30 +00:00
Vadim Zeitlin
42b5841f5a add grid category and mark all grid-related classes as belonging to it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55569 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-12 13:09:03 +00:00
Vadim Zeitlin
f45d6ade08 added wxCANCEL_DEFAULT style to wxMessageDialog (only implemented for MSW for now); also tightened up the style checks in wxMessageDialog::SetMessageDialogStyle()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55561 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-11 23:37:35 +00:00
Vadim Zeitlin
5d81550097 made wxLogGui more flexible and documented it and added example of customizing it to the dialogs sample (now with the docs)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55554 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-11 14:03:48 +00:00
Václav Slavík
a302d5958c added XRC format documentation to the manual (per-class properties docs still missing)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55495 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-06 13:35:29 +00:00