Attempt to fix non-MacOS build error.

This commit is contained in:
Jeff Young 2024-03-12 15:17:30 +00:00
parent 87121af3c9
commit 2a0ce409e3
2 changed files with 5 additions and 0 deletions

View File

@ -47,6 +47,7 @@
DIALOG_ABOUT::DIALOG_ABOUT( EDA_BASE_FRAME *aParent, ABOUT_APP_INFO& aAppInfo ) :
DIALOG_ABOUT_BASE( aParent ),
m_images( nullptr ),
m_info( aAppInfo )
{
wxASSERT( aParent != nullptr );
@ -122,6 +123,9 @@ DIALOG_ABOUT::DIALOG_ABOUT( EDA_BASE_FRAME *aParent, ABOUT_APP_INFO& aAppInfo )
DIALOG_ABOUT::~DIALOG_ABOUT()
{
#ifndef __WXMAC__
delete m_images;
#endif
}

View File

@ -80,6 +80,7 @@ private:
wxStaticBitmap* createStaticBitmap( wxScrolledWindow* aParent, wxBitmap* icon );
private:
wxImageList* m_images;
wxString m_titleName;
wxString m_untranslatedTitleName;