use wxOVERRIDE in wxMSW sources
This commit is contained in:
@@ -72,10 +72,10 @@ public:
|
||||
|
||||
virtual bool LoadFile(wxBitmap *bitmap,
|
||||
const wxString& name, wxBitmapType flags,
|
||||
int desiredWidth, int desiredHeight);
|
||||
int desiredWidth, int desiredHeight) wxOVERRIDE;
|
||||
virtual bool SaveFile(const wxBitmap *bitmap,
|
||||
const wxString& name, wxBitmapType type,
|
||||
const wxPalette *palette = NULL) const;
|
||||
const wxPalette *palette = NULL) const wxOVERRIDE;
|
||||
|
||||
private:
|
||||
wxDECLARE_DYNAMIC_CLASS(wxBMPFileHandler);
|
||||
@@ -92,7 +92,7 @@ public:
|
||||
|
||||
virtual bool LoadFile(wxBitmap *bitmap,
|
||||
const wxString& name, wxBitmapType flags,
|
||||
int desiredWidth, int desiredHeight);
|
||||
int desiredWidth, int desiredHeight) wxOVERRIDE;
|
||||
|
||||
private:
|
||||
wxDECLARE_DYNAMIC_CLASS(wxBMPResourceHandler);
|
||||
@@ -112,14 +112,14 @@ public:
|
||||
wxBitmapType WXUNUSED(flags),
|
||||
int WXUNUSED(width),
|
||||
int WXUNUSED(height),
|
||||
int WXUNUSED(depth) = 1)
|
||||
int WXUNUSED(depth) = 1) wxOVERRIDE
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
virtual bool Save(const wxGDIImage *WXUNUSED(image),
|
||||
const wxString& WXUNUSED(name),
|
||||
wxBitmapType WXUNUSED(type)) const
|
||||
wxBitmapType WXUNUSED(type)) const wxOVERRIDE
|
||||
{
|
||||
return false;
|
||||
}
|
||||
@@ -127,7 +127,7 @@ public:
|
||||
virtual bool Load(wxGDIImage *image,
|
||||
const wxString& name,
|
||||
wxBitmapType flags,
|
||||
int desiredWidth, int desiredHeight)
|
||||
int desiredWidth, int desiredHeight) wxOVERRIDE
|
||||
{
|
||||
wxIcon *icon = wxDynamicCast(image, wxIcon);
|
||||
wxCHECK_MSG( icon, false, wxT("wxIconHandler only works with icons") );
|
||||
@@ -153,7 +153,7 @@ public:
|
||||
protected:
|
||||
virtual bool LoadIcon(wxIcon *icon,
|
||||
const wxString& name, wxBitmapType flags,
|
||||
int desiredWidth = -1, int desiredHeight = -1);
|
||||
int desiredWidth = -1, int desiredHeight = -1) wxOVERRIDE;
|
||||
|
||||
private:
|
||||
wxDECLARE_DYNAMIC_CLASS(wxICOFileHandler);
|
||||
@@ -171,7 +171,7 @@ public:
|
||||
protected:
|
||||
virtual bool LoadIcon(wxIcon *icon,
|
||||
const wxString& name, wxBitmapType flags,
|
||||
int desiredWidth = -1, int desiredHeight = -1);
|
||||
int desiredWidth = -1, int desiredHeight = -1) wxOVERRIDE;
|
||||
|
||||
private:
|
||||
wxDECLARE_DYNAMIC_CLASS(wxICOResourceHandler);
|
||||
@@ -190,7 +190,7 @@ public:
|
||||
|
||||
virtual bool LoadFile(wxBitmap *bitmap,
|
||||
const wxString& name, wxBitmapType flags,
|
||||
int desiredWidth, int desiredHeight);
|
||||
int desiredWidth, int desiredHeight) wxOVERRIDE;
|
||||
|
||||
private:
|
||||
wxDECLARE_DYNAMIC_CLASS(wxPNGResourceHandler);
|
||||
|
||||
Reference in New Issue
Block a user