ShuttleGui::AddStandardButtons takes more general wxWindow *extra...

... This will be needed to rewrite the EffectUIHost dialog
This commit is contained in:
Paul Licameli 2017-10-27 14:38:26 -04:00
parent 0cf90d65e6
commit 1802b9316e
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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 ); };