Get rid of declaration of unused class in propgrid sample

This commit is contained in:
Artur Wieczorek 2023-01-22 20:22:28 +02:00
parent e7b405ec08
commit 266dc567fb

View file

@ -13,36 +13,6 @@
// -----------------------------------------------------------------------
class wxAdvImageFileProperty : public wxFileProperty
{
WX_PG_DECLARE_PROPERTY_CLASS(wxAdvImageFileProperty)
public:
wxAdvImageFileProperty( const wxString& label = wxPG_LABEL,
const wxString& name = wxPG_LABEL,
const wxString& value = wxEmptyString );
virtual ~wxAdvImageFileProperty ();
virtual void OnSetValue() override; // Override to allow image loading.
virtual bool IntToValue( wxVariant& variant, int number, int argFlags = 0 ) const override;
virtual bool OnEvent( wxPropertyGrid* propgrid, wxWindow* primary, wxEvent& event ) override;
virtual wxSize OnMeasureImage( int item ) const override;
virtual void OnCustomPaint( wxDC& dc,
const wxRect& rect, wxPGPaintData& paintdata ) override;
void LoadThumbnails( size_t n );
protected:
wxImage* m_pImage; // Temporary thumbnail data.
static wxPGChoices ms_choices;
int m_index; // Index required for choice behaviour.
};
// -----------------------------------------------------------------------
class wxVector3f
{
public: