1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-21 22:12:58 +02:00

Sweep unnecessary wxString copies: commands

This commit is contained in:
Paul Licameli
2016-02-22 21:17:41 -05:00
parent 99f161c36c
commit 923a6ce4af
11 changed files with 60 additions and 56 deletions

View File

@@ -40,15 +40,15 @@ private:
bool mBackground;
wxColour mBackColor;
wxString MakeFileName(wxString path, wxString basename);
wxString MakeFileName(const wxString &path, const wxString &basename);
wxRect GetBackgroundRect();
void Capture(wxString basename,
void Capture(const wxString &basename,
wxWindow *window,
int x, int y, int width, int height,
bool bg = false);
void CaptureToolbar(ToolManager *man, int type, wxString name);
void CaptureDock(wxWindow *win, wxString fileName);
void CaptureToolbar(ToolManager *man, int type, const wxString &name);
void CaptureDock(wxWindow *win, const wxString &fileName);
public:
wxTopLevelWindow *GetFrontWindow(AudacityProject *project);