1
0
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:
Paul Licameli
2019-06-12 23:51:23 -04:00
parent 2d11e6bda9
commit f8c40dc8e7
5 changed files with 12 additions and 12 deletions

View File

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