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:
@@ -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);
|
||||
|
Reference in New Issue
Block a user