unused params warnings (patch 1048431)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29919 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -39,10 +39,11 @@ public:
|
|||||||
protected:
|
protected:
|
||||||
// implement some base class methods to do nothing to avoid asserts and
|
// implement some base class methods to do nothing to avoid asserts and
|
||||||
// GTK warnings, since this is not a real wxDialog.
|
// GTK warnings, since this is not a real wxDialog.
|
||||||
virtual void DoSetSize(int x, int y,
|
virtual void DoSetSize(int WXUNUSED(x), int WXUNUSED(y),
|
||||||
int width, int height,
|
int WXUNUSED(width), int WXUNUSED(height),
|
||||||
int sizeFlags = wxSIZE_AUTO) {}
|
int WXUNUSED(sizeFlags) = wxSIZE_AUTO) {}
|
||||||
virtual void DoMoveWindow(int x, int y, int width, int height) {}
|
virtual void DoMoveWindow(int WXUNUSED(x), int WXUNUSED(y),
|
||||||
|
int WXUNUSED(width), int WXUNUSED(height)) {}
|
||||||
|
|
||||||
// copy data between the dialog and m_colourData:
|
// copy data between the dialog and m_colourData:
|
||||||
void ColourDataToDialog();
|
void ColourDataToDialog();
|
||||||
|
@@ -33,15 +33,16 @@ public:
|
|||||||
const wxPoint& pos = wxDefaultPosition);
|
const wxPoint& pos = wxDefaultPosition);
|
||||||
|
|
||||||
int ShowModal();
|
int ShowModal();
|
||||||
virtual bool Show( bool show = true ) { return false; };
|
virtual bool Show( bool WXUNUSED(show) = true ) { return false; };
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
// implement some base class methods to do nothing to avoid asserts and
|
// implement some base class methods to do nothing to avoid asserts and
|
||||||
// GTK warnings, since this is not a real wxDialog.
|
// GTK warnings, since this is not a real wxDialog.
|
||||||
virtual void DoSetSize(int x, int y,
|
virtual void DoSetSize(int WXUNUSED(x), int WXUNUSED(y),
|
||||||
int width, int height,
|
int WXUNUSED(width), int WXUNUSED(height),
|
||||||
int sizeFlags = wxSIZE_AUTO) {}
|
int WXUNUSED(sizeFlags) = wxSIZE_AUTO) {}
|
||||||
virtual void DoMoveWindow(int x, int y, int width, int height) {}
|
virtual void DoMoveWindow(int WXUNUSED(x), int WXUNUSED(y),
|
||||||
|
int WXUNUSED(width), int WXUNUSED(height)) {}
|
||||||
|
|
||||||
private:
|
private:
|
||||||
wxString m_caption;
|
wxString m_caption;
|
||||||
|
@@ -39,10 +39,11 @@ public:
|
|||||||
protected:
|
protected:
|
||||||
// implement some base class methods to do nothing to avoid asserts and
|
// implement some base class methods to do nothing to avoid asserts and
|
||||||
// GTK warnings, since this is not a real wxDialog.
|
// GTK warnings, since this is not a real wxDialog.
|
||||||
virtual void DoSetSize(int x, int y,
|
virtual void DoSetSize(int WXUNUSED(x), int WXUNUSED(y),
|
||||||
int width, int height,
|
int WXUNUSED(width), int WXUNUSED(height),
|
||||||
int sizeFlags = wxSIZE_AUTO) {}
|
int WXUNUSED(sizeFlags) = wxSIZE_AUTO) {}
|
||||||
virtual void DoMoveWindow(int x, int y, int width, int height) {}
|
virtual void DoMoveWindow(int WXUNUSED(x), int WXUNUSED(y),
|
||||||
|
int WXUNUSED(width), int WXUNUSED(height)) {}
|
||||||
|
|
||||||
// copy data between the dialog and m_colourData:
|
// copy data between the dialog and m_colourData:
|
||||||
void ColourDataToDialog();
|
void ColourDataToDialog();
|
||||||
|
@@ -33,15 +33,16 @@ public:
|
|||||||
const wxPoint& pos = wxDefaultPosition);
|
const wxPoint& pos = wxDefaultPosition);
|
||||||
|
|
||||||
int ShowModal();
|
int ShowModal();
|
||||||
virtual bool Show( bool show = true ) { return false; };
|
virtual bool Show( bool WXUNUSED(show) = true ) { return false; };
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
// implement some base class methods to do nothing to avoid asserts and
|
// implement some base class methods to do nothing to avoid asserts and
|
||||||
// GTK warnings, since this is not a real wxDialog.
|
// GTK warnings, since this is not a real wxDialog.
|
||||||
virtual void DoSetSize(int x, int y,
|
virtual void DoSetSize(int WXUNUSED(x), int WXUNUSED(y),
|
||||||
int width, int height,
|
int WXUNUSED(width), int WXUNUSED(height),
|
||||||
int sizeFlags = wxSIZE_AUTO) {}
|
int WXUNUSED(sizeFlags) = wxSIZE_AUTO) {}
|
||||||
virtual void DoMoveWindow(int x, int y, int width, int height) {}
|
virtual void DoMoveWindow(int WXUNUSED(x), int WXUNUSED(y),
|
||||||
|
int WXUNUSED(width), int WXUNUSED(height)) {}
|
||||||
|
|
||||||
private:
|
private:
|
||||||
wxString m_caption;
|
wxString m_caption;
|
||||||
|
Reference in New Issue
Block a user