remove const from pass-by-value parameters
This commit is contained in:
@@ -108,7 +108,7 @@ public:
|
||||
|
||||
// Alternative version that works with numeric ID.
|
||||
// (uses extension to MS format, <param name="ID" value=id>, see docs)
|
||||
bool Display(const int id);
|
||||
bool Display(int id);
|
||||
|
||||
// Displays help window and focuses contents.
|
||||
bool DisplayContents();
|
||||
|
@@ -165,7 +165,7 @@ class WXDLLIMPEXP_CORE wxWebKitStateChangedEvent : public wxCommandEvent
|
||||
|
||||
public:
|
||||
int GetState() { return m_state; }
|
||||
void SetState(const int state) { m_state = state; }
|
||||
void SetState(int state) { m_state = state; }
|
||||
wxString GetURL() { return m_url; }
|
||||
void SetURL(const wxString& url) { m_url = url; }
|
||||
|
||||
|
Reference in New Issue
Block a user