mirror of
https://github.com/cookiengineer/audacity
synced 2025-12-21 16:11:11 +01:00
ShuttleGuiBase::mpDlg is const
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user