Paul Cornett
b200c661ed
Fix wxPropertyGrid headers so they can be compiled independently
...
See #18465
2019-08-15 17:27:07 -07:00
Artur Wieczorek
eca1e857fe
Remove unnecessary headers from wxPropertyGrid files
...
Currently there are included plenty of headers which are apparently not necessary.
2019-08-04 20:20:48 +02:00
Artur Wieczorek
f4e37e57e4
Get rid of unnecessary const casts
...
A pointer to unqualified type are converted implicitly to a more cv-qualified type.
2019-06-16 19:50:57 +02:00
Artur Wieczorek
b064608c2a
Use const_cast to change the constness
2019-06-16 19:50:08 +02:00
Paul Cornett
365759753a
Pass parameters by const reference rather than by value
2019-04-05 09:18:07 -07:00
Artur Wieczorek
d47413697b
Use wxVector<wxWindow*> instead of wxArrayPtrVoid
2019-01-11 19:22:48 +01:00
Artur Wieczorek
cd96c664dd
Updated documentation for some wxPropertyGrid classes.
...
Updated documentation for wxPGEditor, wxPropertyGridPage, wxPropertyGridManager, wx*Property classes.
Removed doxygen-style comments from header files.
2016-07-23 23:38:39 +02:00
Paul Cornett
27a8d28029
more use of wxOVERRIDE
2015-09-06 17:20:42 -07:00
Artur Wieczorek
6cc7811394
Fixed minor typos in comments.
...
Yet another iteration.
2015-06-09 20:04:27 +02:00
Artur Wieczorek
aeed3322f2
Fixed minor typos in comments.
2015-06-08 21:49:38 +02:00
Dimitri Schoolwerth
8f8d58d193
Use wx-prefixed macros throughout the repository.
...
Change {DECLARE,IMPLEMENT}_*CLASS and {DECLARE,BEGIN,END}_EVENT_TABLE
occurrences to use the wx-prefixed version of the macros.
2015-04-23 22:00:35 +04:00
Artur Wieczorek
5068dddb17
Remove obsolete comments regarding wxPGEditor::CreateControls.
...
Constants which are mentioned in the comment are not used since r76882.
2015-02-26 19:29:05 +01:00
Stefan Csomor
82d191e352
removing extra semicola
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76230 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-03-31 07:08:06 +00:00
Vadim Zeitlin
3f66f6a5b3
Remove all lines containing cvs/svn "$Id$" keyword.
...
This keyword is not expanded by Git which means it's not replaced with the
correct revision value in the releases made using git-based scripts and it's
confusing to have lines with unexpanded "$Id$" in the released files. As
expanding them with Git is not that simple (it could be done with git archive
and export-subst attribute) and there are not many benefits in having them in
the first place, just remove all these lines.
If nothing else, this will make an eventual transition to Git simpler.
Closes #14487 .
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74602 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-07-26 16:02:46 +00:00
Vadim Zeitlin
ce7fe42e84
Provide shorter synonyms for wxEVT_XXX constants.
...
Use the same short names as are used by the event table macros for the event
type constants themselves. This makes them much more comfortable to use, e.g.
Bind(wxEVT_BUTTON) compared to Bind(wxEVT_COMMAND_BUTTON_CLICKED).
The old long names are still kept for backwards compatibility and shouldn't be
removed as it doesn't really cost anything to continue providing them, but all
new event types should only use the short versions.
Closes #10661 .
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73850 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-04-25 10:11:03 +00:00
Vadim Zeitlin
c34ced947a
Add forward declarations to fix wx/propgrid/editors.h compilation.
...
This header resulted in compilation errors if it was included as the first
propgrid header. Fix this by adding the required forward declarations.
Closes #13989 .
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70610 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-02-15 15:40:22 +00:00
Dimitri Schoolwerth
4c51a665c6
Fixed various typos.
...
Applied patch by snowleopard2 fixing a bunch of typos such as misspellings and double words in the documentation. Combined the patch with some local queued typos waiting to be committed as well as adding new typo fixes inspired by the patch.
Function names with American spelling were not changed nor was third-party code touched. The only code changes involve some changes in strings that are translated ("Can not" -> "Cannot").
Closes #13063 (again).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67280 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-03-22 14:17:38 +00:00
Jaakko Salli
6f631217a9
Added missing wx/defs.h includes in propgrid headers
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@65423 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-08-26 13:25:07 +00:00
Vadim Zeitlin
526954c596
Globally use "wxWindows licence" consistently.
...
Use "wxWindows licence" and not "wxWidgets licence" (the latter doesn't
exist) and consistently spell "licence" using British spelling.
See #12165 .
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64940 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-07-13 13:29:13 +00:00
Jaakko Salli
ec3cce5a29
Removed most of the propgrid '#ifndef SWIG' pre-compiler conditions
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63458 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-02-10 16:45:39 +00:00
Jaakko Salli
3e6d8c3118
Added wxPropertyGrid::SetUnspecifiedValueAppearance(); Added wxPGEditor::SetControlAppearance() for applying wxPGCell attributes on a property editor.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62973 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-12-22 16:12:02 +00:00
Jaakko Salli
517add0d35
Added missing virtual dtor for wxPGMultiButton
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61017 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-12 14:01:25 +00:00
Jaakko Salli
b512ed9320
Forward-ported wxPython-bindings related cleanup from 2.9.0 branch
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60816 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-30 10:49:05 +00:00
Jaakko Salli
6086bcc8ba
Allow wxPGMultiButton to work even if primary editor control was not created in wxPGEditor::CreateControls(); Clarified related samples and documentation.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59450 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-09 18:32:43 +00:00
Vadim Zeitlin
d3b9f782ef
don't use annoying and unneeded in C++ casts of NULL to "T *" in all other files neither
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58227 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-19 13:55:27 +00:00
Jaakko Salli
b0996c3da0
Eliminate need to call Connect() in wxPGEditor::CreateControls()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56929 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-23 11:00:40 +00:00
Jaakko Salli
68bcfd2c10
Eliminate (or at least reduce) 64-bit build warnings (as described in wxPG sourceforge bug report #2156069 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56239 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-12 12:23:48 +00:00
Jaakko Salli
a57f24f97a
Removed '#ifndef DOXYGEN' sections
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56170 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-08 18:19:02 +00:00
Jaakko Salli
52cefafe7e
Minimize use of editor class macros
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56129 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-06 16:09:36 +00:00
Jaakko Salli
5a45dd6fd9
When registering editor, try wxRTTI class name in additon to result of wxPGEditor::GetName(). Allows creating custom editors without needing to implement GetName().
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56128 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-06 15:48:27 +00:00
Jaakko Salli
c26873c8ef
Remove use of wxPG_EDITOR macro
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56127 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-06 15:38:30 +00:00
Jaakko Salli
ea5af9c535
Fix RCS-IDs
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56096 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-05 18:03:43 +00:00
Jaakko Salli
0d4884cbf3
Unfocus text editor when enter is pressed
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56017 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-01 16:24:21 +00:00
Jaakko Salli
7eaed395dd
Fixed Connect() use sample case in CreateControls() docs
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55986 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-30 16:50:31 +00:00
Jaakko Salli
7a344f1be4
Fixed wxPGMultiButton (event handling, FinalizePosition() -> Finalize(), no longer using PG specific class macros in its sample), other editors.h interface fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55915 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-27 14:03:10 +00:00
Jaakko Salli
d9fb481c56
Fixed and clarified editor control event handling
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55903 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-26 18:20:17 +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
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