Attempt to fix non-MacOS build error.
This commit is contained in:
parent
87121af3c9
commit
2a0ce409e3
|
@ -47,6 +47,7 @@
|
||||||
|
|
||||||
DIALOG_ABOUT::DIALOG_ABOUT( EDA_BASE_FRAME *aParent, ABOUT_APP_INFO& aAppInfo ) :
|
DIALOG_ABOUT::DIALOG_ABOUT( EDA_BASE_FRAME *aParent, ABOUT_APP_INFO& aAppInfo ) :
|
||||||
DIALOG_ABOUT_BASE( aParent ),
|
DIALOG_ABOUT_BASE( aParent ),
|
||||||
|
m_images( nullptr ),
|
||||||
m_info( aAppInfo )
|
m_info( aAppInfo )
|
||||||
{
|
{
|
||||||
wxASSERT( aParent != nullptr );
|
wxASSERT( aParent != nullptr );
|
||||||
|
@ -122,6 +123,9 @@ DIALOG_ABOUT::DIALOG_ABOUT( EDA_BASE_FRAME *aParent, ABOUT_APP_INFO& aAppInfo )
|
||||||
|
|
||||||
DIALOG_ABOUT::~DIALOG_ABOUT()
|
DIALOG_ABOUT::~DIALOG_ABOUT()
|
||||||
{
|
{
|
||||||
|
#ifndef __WXMAC__
|
||||||
|
delete m_images;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -80,6 +80,7 @@ private:
|
||||||
wxStaticBitmap* createStaticBitmap( wxScrolledWindow* aParent, wxBitmap* icon );
|
wxStaticBitmap* createStaticBitmap( wxScrolledWindow* aParent, wxBitmap* icon );
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
wxImageList* m_images;
|
||||||
wxString m_titleName;
|
wxString m_titleName;
|
||||||
wxString m_untranslatedTitleName;
|
wxString m_untranslatedTitleName;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue