Get rid of declaration of unused class in propgrid sample
This commit is contained in:
parent
e7b405ec08
commit
266dc567fb
1 changed files with 0 additions and 30 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue