remove const from pass-by-value parameters
This commit is contained in:
@@ -62,7 +62,7 @@ public:
|
||||
Sets the week day carried by the event, normally only used by the
|
||||
library internally.
|
||||
*/
|
||||
void SetWeekDay(const wxDateTime::WeekDay day);
|
||||
void SetWeekDay(wxDateTime::WeekDay day);
|
||||
};
|
||||
|
||||
wxEventType wxEVT_CALENDAR_SEL_CHANGED;
|
||||
|
@@ -98,7 +98,7 @@ public:
|
||||
@param name
|
||||
The window name.
|
||||
*/
|
||||
wxGenericDirCtrl(wxWindow* parent, const wxWindowID id = wxID_ANY,
|
||||
wxGenericDirCtrl(wxWindow* parent, wxWindowID id = wxID_ANY,
|
||||
const wxString& dir = wxDirDialogDefaultFolderStr,
|
||||
const wxPoint& pos = wxDefaultPosition,
|
||||
const wxSize& size = wxDefaultSize,
|
||||
@@ -126,7 +126,7 @@ public:
|
||||
Create function for two-step construction. See wxGenericDirCtrl() for
|
||||
details.
|
||||
*/
|
||||
bool Create(wxWindow* parent, const wxWindowID id = wxID_ANY,
|
||||
bool Create(wxWindow* parent, wxWindowID id = wxID_ANY,
|
||||
const wxString& dir = wxDirDialogDefaultFolderStr,
|
||||
const wxPoint& pos = wxDefaultPosition,
|
||||
const wxSize& size = wxDefaultSize,
|
||||
@@ -268,11 +268,11 @@ class wxDirFilterListCtrl: public wxChoice
|
||||
{
|
||||
public:
|
||||
wxDirFilterListCtrl();
|
||||
wxDirFilterListCtrl(wxGenericDirCtrl* parent, const wxWindowID id = wxID_ANY,
|
||||
wxDirFilterListCtrl(wxGenericDirCtrl* parent, wxWindowID id = wxID_ANY,
|
||||
const wxPoint& pos = wxDefaultPosition,
|
||||
const wxSize& size = wxDefaultSize,
|
||||
long style = 0);
|
||||
bool Create(wxGenericDirCtrl* parent, const wxWindowID id = wxID_ANY,
|
||||
bool Create(wxGenericDirCtrl* parent, wxWindowID id = wxID_ANY,
|
||||
const wxPoint& pos = wxDefaultPosition,
|
||||
const wxSize& size = wxDefaultSize,
|
||||
long style = 0);
|
||||
|
@@ -110,7 +110,7 @@ public:
|
||||
This form takes numeric ID as the parameter (uses an extension to MS format,
|
||||
param name="ID" value=id).
|
||||
*/
|
||||
bool Display(const int id);
|
||||
bool Display(int id);
|
||||
|
||||
/**
|
||||
Displays contents panel.
|
||||
|
@@ -124,7 +124,7 @@ class wxWebKitStateChangedEvent : public wxCommandEvent
|
||||
{
|
||||
public:
|
||||
int GetState();
|
||||
void SetState(const int state);
|
||||
void SetState(int state);
|
||||
wxString GetURL();
|
||||
void SetURL(const wxString& url);
|
||||
|
||||
|
@@ -85,7 +85,7 @@ public:
|
||||
|
||||
Returns @true if the dictionary was successfully set.
|
||||
*/
|
||||
bool SetDictionary(const char *data, const size_t datalen);
|
||||
bool SetDictionary(const char *data, size_t datalen);
|
||||
bool SetDictionary(const wxMemoryBuffer &buf);
|
||||
//@}
|
||||
};
|
||||
@@ -144,7 +144,7 @@ public:
|
||||
|
||||
Returns @true if the dictionary was successfully set.
|
||||
*/
|
||||
bool SetDictionary(const char *data, const size_t datalen);
|
||||
bool SetDictionary(const char *data, size_t datalen);
|
||||
bool SetDictionary(const wxMemoryBuffer &buf);
|
||||
//@}
|
||||
};
|
||||
|
Reference in New Issue
Block a user