Commit Graph

45434 Commits

Author SHA1 Message Date
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
Vadim Zeitlin
2a02f84b94 ensure that the copies of the bitmap passed to wxMemoryDC ctor are not modified when this bitmap is
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55694 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-17 22:20:38 +00:00
Jaakko Salli
573cdf43af Removed wxPGProperty class overview docs from actual header file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55693 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-17 18:15:36 +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
Jaakko Salli
e999688506 Removed unused commented-out define
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55691 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-17 18:09:29 +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
Jaakko Salli
5b69ffcb68 Removed #ifndef DOXYGEN
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55689 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-17 18:08:22 +00:00
Jaakko Salli
c29e714c37 Added separate SetFocusOnCanvas() function so that m_editorFocused will be more reliable updated
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55688 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-17 17:34:22 +00:00
Jaakko Salli
68545f7889 Removed some old testing code. Added more appropriate minimal content.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55687 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-17 15:49:52 +00:00
Jaakko Salli
e213da24b8 Try to improve focus problem situation by using more SetFocusIgnoringChildren() instead of SetFocus()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55686 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-17 15:36:32 +00:00
Jaakko Salli
f4bc1aa27c wxUSE_PROPGRID is now recognized by source and header files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55685 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-17 15:00:00 +00:00
Stefan Csomor
cfdef19f33 next attempt
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55684 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-17 08:13:59 +00:00
Michael Wetherell
6dca18f78f General purpose slave lock.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55673 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-17 07:39:21 +00:00
Stefan Csomor
4a11ad3e24 reverting, something in locks wasn't good
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55672 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-17 07:28:39 +00:00
Stefan Csomor
df16138ab0 MW speedups
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55671 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-17 07:25:02 +00:00
Stefan Csomor
f834ad8726 osx_cocoa build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55669 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-16 20:21:53 +00:00
Jaakko Salli
d863389f77 Try to display '...' text on editor buttons more consistently on wxGTK. This is done by having minimum fixed width and by reducing size of used font.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55668 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-16 18:37:33 +00:00
Stefan Csomor
e1214731e3 fixing redefine warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55667 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-16 18:00:21 +00:00