Commit Graph

45451 Commits

Author SHA1 Message Date
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
Václav Slavík
0c75b29e1e progress message passed to wxDC::StartDoc() is not appropriate for PostScript document title
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55759 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-21 08:49:08 +00:00
Robert Roebling
aef06ee169 Added wxDList<T>. not yet used anywhere
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55758 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-21 08:44:24 +00:00
Kevin Ollivier
056ae9962b Rebake after changes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55756 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-21 00:53:42 +00:00
Kevin Ollivier
78d990152a Stubbed wxToolTip implementation to get code that uses it building.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55755 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-21 00:51:44 +00:00
Kevin Ollivier
7664a67f57 Rebake after bakefile changes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55754 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-20 23:59:10 +00:00
Kevin Ollivier
d2e6c14109 Copy headers and get MDI and glcanvas fully building for OS X Cocoa port.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55753 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-20 23:56:18 +00:00
Kevin Ollivier
9b294926cb Fix bakefiles. Precomp variable is used undefined when building samples (it was only defined inside the test bakefiles).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55752 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-20 23:46:34 +00:00
Kevin Ollivier
cfea8e619a Source changes needed to get MDI support compiling on OS X Cocoa, and a explicit cast to CGImageRef so the compiler doesn't complain.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55751 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-20 23:06:58 +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
dfa569f0f9 fix g++ warning about order of objects in the initializer list
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55749 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-20 21:58:20 +00:00
Vadim Zeitlin
8b5f6d9d47 use a single wxKeyboardEvent parameter instead of 4 bools in tons of places
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55748 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-20 00:09:28 +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
d577449426 Removed macros to create enum and flag props with custom, static choice sets. Now use wxPGProperty::SetChoices() instead.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55744 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-19 17:39:09 +00:00
Jaakko Salli
d53f610c1c Eliminated WX_PG_DECLARE/IMPLEMENT_DERIVED_PROPERTY_CLASS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55743 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-19 17:24:34 +00:00
Jaakko Salli
7eac5c531c Eliminated WX_PG_DECLARE_X_METHODS macros
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55742 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-19 17:13:51 +00:00
Jaakko Salli
697c314b16 Eliminate a warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55741 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-19 17:10:17 +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
Jaakko Salli
57306cd4fd Do not insert client data if client data is not used
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55739 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-19 16:43:40 +00:00
Michael Wetherell
96e6ebe64a Change <checkout> slightly so that it doesn't display the branch as it makes
the column rather wide.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55735 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-19 10:42:18 +00:00
Francesco Montorsi
585a11d609 improved support for typedefs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55734 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-19 10:28:47 +00:00
Vadim Zeitlin
dc7f9c9cee add unit test for wxTextEntry methods of wxComboBox
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55733 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-19 10:18:30 +00:00
Vadim Zeitlin
2851cf2582 fix bug in SetInsertionPoint(-1) implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55732 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-19 10:17:51 +00:00
Vadim Zeitlin
a5125dc6ed set selection point to end in wxTextEntryBase::SetValue() as this should be done in all ports and in all controls (fixes a unit test failure for wxComboBox)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55731 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-19 10:13:38 +00:00
Vadim Zeitlin
b7bfef3806 implement EnableTextChangedEvents() to make ChangeValue() work as expected, i.e. not generate any events
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55730 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-19 10:08:02 +00:00
Vadim Zeitlin
99b9c0eac1 do enable PCH for the tests, wx/wx.h was not precompiled for them resulting in much slower compilation than expected
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55729 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-19 09:03:01 +00:00
Vadim Zeitlin
f0f6a32d4d extract wxTextEntry unit tests in a reusable base class
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55728 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-19 08:55:25 +00:00
Vadim Zeitlin
778ce4329a set buffer length after reading the file contents into it successfully (part of #9980)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55727 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-19 08:18:30 +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
Vadim Zeitlin
f915b92e09 fix ownerdrawn button label drawing in ODS_NOACCEL case (#3519)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55725 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-19 07:50:44 +00:00
Vadim Zeitlin
e2074948cb cancel the current operation if mouse capture is lost (#9979)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55720 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-19 07:38:24 +00:00
Robert Roebling
4f47a8d0c6 Move definition of wxListIteratorFunction and ..SortFuntion to defs.h so it can be used from elsewhere
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55711 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-18 19:05:21 +00:00
Francesco Montorsi
8e1903816a fix for gccxml
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55710 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-18 18:47:57 +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
Stefan Csomor
07897ae604 remove tests, from trunk, until we've sorted out the hangs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55707 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-18 18:14:21 +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
Vadim Zeitlin
ff0447493d mention that you need to update samples/samples.dsw manually currently
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55704 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-18 17:40:58 +00:00
Jaakko Salli
7926988b5f Added section for propgrid sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55703 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-18 17:25:48 +00:00
Jaakko Salli
b55018ecbf Replaced @link with @ref
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55702 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-18 17:14:13 +00:00
Vadim Zeitlin
856b41f96c use #defines, not typedefs, for compatibility class names declarations to avoid breaking existing code forward declaring them
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55701 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-18 16:56:53 +00:00
Jaakko Salli
216214f83f Made section names more globally unique
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55700 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-18 16:53:47 +00:00
Vadim Zeitlin
c70d645d7f rebaked after propgrid sample addition
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55699 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-18 16:44:48 +00:00
Jaakko Salli
85ead075be Added 'propgrid'
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55698 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-18 15:23:18 +00:00
Stefan Csomor
d5e3081bba adding new commands for tests
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55697 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-18 12:27:06 +00:00
Stefan Csomor
70bf329592 fixing deprecated constructors for osx
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55696 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-18 09:12:32 +00:00
Stefan Csomor
326b62161d in release builds gcc on osx evaporates these inlines if not WXEXPORTed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55695 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-18 08:38:25 +00:00