Vadim Zeitlin 
							
						 
					 
					
						
						
							
						
						9de49b112f 
					 
					
						
						
							
							Explicitly cast size_t to int to suppress MSVC warnings.  
						
						... 
						
						
						
						Implicit size_t-to-int conversions provoke warnings when building 64 bit
version (in which sizeof(size_t) > sizeof(int)) with MSVC, so make them
explicit as the size_t values used here will always fit in int range.
Closes  #14113 .
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70940  c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 
						
						
					 
					
						2012-03-19 12:53:21 +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 
						 
				 
			
				
					
						
							
							
								Dimitri Schoolwerth 
							
						 
					 
					
						
						
							
						
						6636ef8ddf 
					 
					
						
						
							
							Use wxString's empty() when checking if the string is (non-)empty throughout wx.  
						
						... 
						
						
						
						Instead of constructs such as if "( s.length() )" and "if (s.length() > 0)" use "if ( !s.empty() )" instead. Similarly for "if (s.length() == 0)" or "if ( s.IsNull() )", use "if ( s.empty() )".
No code changes intended except for a few instances where a construct like "if ( s.length() && wxFileExists(s) )" was changed to not check the length of the string and let wxFileExists handle such cases.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@66728  c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 
						
						
					 
					
						2011-01-22 14:38:36 +00:00 
						 
				 
			
				
					
						
							
							
								Jaakko Salli 
							
						 
					 
					
						
						
							
						
						ec31b41de3 
					 
					
						
						
							
							Fix non-PCH builds  
						
						... 
						
						
						
						git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@65808  c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 
						
						
					 
					
						2010-10-15 15:49:00 +00:00 
						 
				 
			
				
					
						
							
							
								Jaakko Salli 
							
						 
					 
					
						
						
							
						
						76c722f697 
					 
					
						
						
							
							Added the missing DLL export declaration for wxNumericPropertyValidator  
						
						... 
						
						
						
						git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@65807  c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 
						
						
					 
					
						2010-10-15 15:18:40 +00:00 
						 
				 
			
				
					
						
							
							
								Jaakko Salli 
							
						 
					 
					
						
						
							
						
						026767c6ae 
					 
					
						
						
							
							Added wxNumericPropertyValidator, which is a custom wxTextValidator with more accurate filtering of inappropriate input for wxIntProperty, wxFloatProperty and wxUIntProperty ( fixes   #12563 ).  
						
						... 
						
						
						
						git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@65806  c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 
						
						
					 
					
						2010-10-15 15:15:27 +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 
						 
				 
			
				
					
						
							
							
								Jaakko Salli 
							
						 
					 
					
						
						
							
						
						7197bbad21 
					 
					
						
						
							
							Refactored validation of numeric properties (wxIntProperty, wxUIntProperty and wxFloatProperty). They now use (basically) a single template function instead of three separate ones.  
						
						... 
						
						
						
						git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@65098  c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 
						
						
					 
					
						2010-07-25 10:36:19 +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 
							
						 
					 
					
						
						
							
						
						525b29124a 
					 
					
						
						
							
							Added 'Delimiter' attribute for wxArrayStringProperty. Moved static ArrayStringToString() to wxArrayStringProperty.  
						
						... 
						
						
						
						git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64894  c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 
						
						
					 
					
						2010-07-11 17:04:23 +00:00 
						 
				 
			
				
					
						
							
							
								Jaakko Salli 
							
						 
					 
					
						
						
							
						
						895e26a04b 
					 
					
						
						
							
							Have the new incarnation of wxPGArrayEditorDialog support the old-style 'custom button' event as something that happens when the wxEditableListBox's 'New Item' button is pressed  
						
						... 
						
						
						
						git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64893  c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 
						
						
					 
					
						2010-07-11 16:06:03 +00:00 
						 
				 
			
				
					
						
							
							
								Jaakko Salli 
							
						 
					 
					
						
						
							
						
						2906967c4a 
					 
					
						
						
							
							wxArrayEditorDialog now uses wxEditableListBox. It has also been renamed to wxPGArrayEditorDialog.  
						
						... 
						
						
						
						git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64867  c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 
						
						
					 
					
						2010-07-10 15:30:35 +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 
						 
				 
			
				
					
						
							
							
								Paul Cornett 
							
						 
					 
					
						
						
							
						
						a243da29c8 
					 
					
						
						
							
							make array data fully const  
						
						... 
						
						
						
						git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62764  c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 
						
						
					 
					
						2009-12-02 17:28:45 +00:00 
						 
				 
			
				
					
						
							
							
								Jaakko Salli 
							
						 
					 
					
						
						
							
						
						b8b1ff481c 
					 
					
						
						
							
							Implementations of wxPGProperty::ChildChanged() must now return changed value of the whole property instead of writing it back to 'thisValue' argument. This change was done primarily for better compatibility with wxPython bindings, but should also be slightly more cleaner behavior API-wise. Breaks backwards compatibility, but not silently.  
						
						... 
						
						
						
						git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60936  c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 
						
						
					 
					
						2009-06-07 07:52:53 +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 
							
						 
					 
					
						
						
							
						
						16372f0d97 
					 
					
						
						
							
							wxFlagsProperty now automatically relays wxBOOL_USE_CHECKBOX and wxBOOL_USE_DOUBLE_CLICK_CYCLING to child bool properties ( closes   #10690 )  
						
						... 
						
						
						
						git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60207  c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 
						
						
					 
					
						2009-04-16 19:28:39 +00:00 
						 
				 
			
				
					
						
							
							
								Jaakko Salli 
							
						 
					 
					
						
						
							
						
						ed9e243d58 
					 
					
						
						
							
							Remove wxEnumProperty::ms_prevIndex  
						
						... 
						
						
						
						git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59301  c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 
						
						
					 
					
						2009-03-03 21:04:08 +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 
							
						 
					 
					
						
						
							
						
						d8812c6e0e 
					 
					
						
						
							
							Added wxPGProperty::OnValidationFailure(); needed it and some other tweaks to allow vetoing value changes of ComboBox editors  
						
						... 
						
						
						
						git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58047  c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 
						
						
					 
					
						2009-01-12 16:12:15 +00:00 
						 
				 
			
				
					
						
							
							
								Jaakko Salli 
							
						 
					 
					
						
						
							
						
						15096961f9 
					 
					
						
						
							
							For clarity, moved includes to the top of the file. Also added #include wx/dialog.h.  
						
						... 
						
						
						
						git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56851  c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 
						
						
					 
					
						2008-11-19 16:24:07 +00:00 
						 
				 
			
				
					
						
							
							
								Paul Cornett 
							
						 
					 
					
						
						
							
						
						470f357fd2 
					 
					
						
						
							
							make access for virtuals match base  
						
						... 
						
						
						
						git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56795  c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 
						
						
					 
					
						2008-11-16 18:20:21 +00:00 
						 
				 
			
				
					
						
							
							
								Jaakko Salli 
							
						 
					 
					
						
						
							
						
						78f2d746a0 
					 
					
						
						
							
							Merged wxBaseEnumPropertyClass (intermediate property class with obsolete purpose) to wxEnumPropertyClass  
						
						... 
						
						
						
						git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56486  c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 
						
						
					 
					
						2008-10-22 15:23:07 +00:00 
						 
				 
			
				
					
						
							
							
								Jaakko Salli 
							
						 
					 
					
						
						
							
						
						1425eca550 
					 
					
						
						
							
							Added virtual wxPGProperty::ValueToString(). In derived property classes, now it must be implemented instead of GetValueAsString (assertion failure is raised at run-time if you fail to do so). This change is needed to properly support wxEVT_PG_CHANGING for nested composite string properties. wxPGProperty::GenerateComposedValue() partially updated to support this.  
						
						... 
						
						
						
						git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56363  c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 
						
						
					 
					
						2008-10-16 17:19:50 +00:00 
						 
				 
			
				
					
						
							
							
								Jaakko Salli 
							
						 
					 
					
						
						
							
						
						d61d8cffa9 
					 
					
						
						
							
							Eliminated last property generation macros from props.h (colour property gen ones, now use subclassing facilities present in wx(System)ColourProperty)  
						
						... 
						
						
						
						git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56150  c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 
						
						
					 
					
						2008-10-07 17:28:05 +00:00 
						 
				 
			
				
					
						
							
							
								Jaakko Salli 
							
						 
					 
					
						
						
							
						
						3a89adc1f0 
					 
					
						
						
							
							Removed wxLongStringProperty derived property creator macros (just subclass and implement OnButtonClick()); Partially fixed wxPGProperty::PrepareValueForDialogEditing()  
						
						... 
						
						
						
						git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56147  c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 
						
						
					 
					
						2008-10-07 16:56:43 +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 
							
						 
					 
					
						
						
							
						
						f7a094e1af 
					 
					
						
						
							
							Converted various wxArrayPtrVoids to wxVectors  
						
						... 
						
						
						
						git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55989  c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 
						
						
					 
					
						2008-09-30 17:23:27 +00:00 
						 
				 
			
				
					
						
							
							
								Jaakko Salli 
							
						 
					 
					
						
						
							
						
						af27647706 
					 
					
						
						
							
							Fixed non-precompiled headers compilation  
						
						... 
						
						
						
						git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55776  c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 
						
						
					 
					
						2008-09-21 19:58:19 +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 
							
						 
					 
					
						
						
							
						
						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 
							
						 
					 
					
						
						
							
						
						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