1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-09-19 17:40:51 +02:00

ShuttleGuiBase::mpDlg is const

This commit is contained in:
Paul Licameli 2018-01-31 10:52:36 -05:00
parent f20e4786e9
commit c67a47e3e6
2 changed files with 2 additions and 2 deletions

View File

@ -120,12 +120,12 @@ for registering for changes.
#endif
ShuttleGuiBase::ShuttleGuiBase(wxWindow * pParent, teShuttleMode ShuttleMode )
: mpDlg{ pParent }
{
wxASSERT( (pParent != NULL ) || ( ShuttleMode != eIsCreating));
mpbOptionalFlag = nullptr;
mpParent = pParent;
mShuttleMode = ShuttleMode;
mpDlg = pParent;
Init();
}

View File

@ -314,7 +314,7 @@ public:
protected:
wxWindow * mpLastWind;
wxWindow * mpDlg;
wxWindow *const mpDlg;
wxSizer * pSizerStack[ nMaxNestedSizers ];
std::unique_ptr<Shuttle> mpShuttle; /*! Controls source/destination of shuttled data. You can