ShuttleGui::AddStandardButtons takes more general wxWindow *extra...
... This will be needed to rewrite the EffectUIHost dialog
This commit is contained in:
parent
0cf90d65e6
commit
1802b9316e
|
@ -2381,7 +2381,7 @@ std::unique_ptr<wxSizer> CreateStdButtonSizer(wxWindow *parent, long buttons, wx
|
|||
return std::unique_ptr<wxSizer>{ s.release() };
|
||||
}
|
||||
|
||||
void ShuttleGui::AddStandardButtons(long buttons, wxButton *extra)
|
||||
void ShuttleGui::AddStandardButtons(long buttons, wxWindow *extra)
|
||||
{
|
||||
if( mShuttleMode != eIsCreating )
|
||||
return;
|
||||
|
|
|
@ -697,7 +697,7 @@ public:
|
|||
// The first of these buttons, if any, that is included will be default:
|
||||
// Apply, Yes, OK
|
||||
void AddStandardButtons(
|
||||
long buttons = eOkButton | eCancelButton, wxButton *extra = NULL );
|
||||
long buttons = eOkButton | eCancelButton, wxWindow *extra = NULL );
|
||||
|
||||
wxSizerItem * AddSpace( int width, int height );
|
||||
wxSizerItem * AddSpace( int size ) { return AddSpace( size, size ); };
|
||||
|
|
Loading…
Reference in New Issue