X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1425eca550ca78f6d0824e50376d763aff17242d..69358718959f700434643f341bfee8f38b55cbb7:/samples/propgrid/sampleprops.h diff --git a/samples/propgrid/sampleprops.h b/samples/propgrid/sampleprops.h index 3399ec8db8..7cbb41f3e3 100644 --- a/samples/propgrid/sampleprops.h +++ b/samples/propgrid/sampleprops.h @@ -6,12 +6,13 @@ // Created: 2006-03-05 // RCS-ID: $Id$ // Copyright: (c) Jaakko Salli -// Licence: wxWindows license +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// #ifndef _WX_SAMPLES_PROPGRID_SAMPLEPROPS_H_ #define _WX_SAMPLES_PROPGRID_SAMPLEPROPS_H_ +#include "wx/fontdata.h" DECLARE_VARIANT_OBJECT(wxFontData) @@ -34,8 +35,9 @@ public: // in base class to function properly. virtual wxVariant DoGetValue() const; - virtual void ChildChanged( wxVariant& thisValue, - int childIndex, wxVariant& childValue ) const; + virtual wxVariant ChildChanged( wxVariant& thisValue, + int childIndex, + wxVariant& childValue ) const; virtual void RefreshChildren(); virtual bool OnEvent( wxPropertyGrid* propgrid, wxWindow* primary, wxEvent& event ); @@ -56,8 +58,9 @@ public: const wxSize& value = wxSize() ); virtual ~wxSizeProperty(); - virtual void ChildChanged( wxVariant& thisValue, - int childIndex, wxVariant& childValue ) const; + virtual wxVariant ChildChanged( wxVariant& thisValue, + int childIndex, + wxVariant& childValue ) const; virtual void RefreshChildren(); protected: @@ -80,8 +83,9 @@ public: const wxPoint& value = wxPoint() ); virtual ~wxPointProperty(); - virtual void ChildChanged( wxVariant& thisValue, - int childIndex, wxVariant& childValue ) const; + virtual wxVariant ChildChanged( wxVariant& thisValue, + int childIndex, + wxVariant& childValue ) const; virtual void RefreshChildren(); protected: