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:
parent
f20e4786e9
commit
c67a47e3e6
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user