mirror of
https://github.com/cookiengineer/audacity
synced 2026-03-06 06:31:07 +01:00
Move DoHelpWelcome out of HelpMenus
This commit is contained in:
@@ -26,6 +26,7 @@ most commonly asked questions about Audacity.
|
||||
#include "Experimental.h"
|
||||
|
||||
#include <wx/dialog.h>
|
||||
#include <wx/frame.h>
|
||||
#include <wx/html/htmlwin.h>
|
||||
#include <wx/button.h>
|
||||
#include <wx/dcclient.h>
|
||||
@@ -35,6 +36,7 @@ most commonly asked questions about Audacity.
|
||||
#include <wx/image.h>
|
||||
|
||||
#include "FileNames.h"
|
||||
#include "Project.h"
|
||||
#include "ShuttleGui.h"
|
||||
#include "widgets/AudacityMessageBox.h"
|
||||
#include "widgets/LinkingHtmlWindow.h"
|
||||
@@ -64,6 +66,11 @@ END_EVENT_TABLE()
|
||||
|
||||
IMPLEMENT_CLASS(SplashDialog, wxDialogWrapper)
|
||||
|
||||
void SplashDialog::DoHelpWelcome( AudacityProject &project )
|
||||
{
|
||||
Show2( &GetProjectFrame( project ) );
|
||||
}
|
||||
|
||||
SplashDialog::SplashDialog(wxWindow * parent)
|
||||
: wxDialogWrapper(parent, -1, _("Welcome to Audacity!"),
|
||||
wxPoint( -1, 60 ), // default x position, y position 60 pixels from top of screen.
|
||||
|
||||
Reference in New Issue
Block a user