Added proper COW to wxPGChoices, moved wxPGChoices code from propgrid.cpp to property.cpp (to match header organization), removed some now-unneeded helper functions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58651 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1423,8 +1423,6 @@ bool wxSystemColourProperty::DoSetAttribute( const wxString& name, wxVariant& va
|
||||
{
|
||||
int ival = wxPGVariantToInt(value);
|
||||
|
||||
SetChoicesExclusive(); // Make sure we don't corrupt colour lists of other properties
|
||||
|
||||
if ( ival && (m_flags & wxPG_PROP_HIDE_CUSTOM_COLOUR) )
|
||||
{
|
||||
// Show custom choice
|
||||
|
||||
Reference in New Issue
Block a user