mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-10 00:23:32 +02:00
ShuttleGui::AddStandardButtons takes more general wxWindow *extra...
... This will be needed to rewrite the EffectUIHost dialog
This commit is contained in:
@@ -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 ); };
|
||||
|
Reference in New Issue
Block a user