use wxOVERRIDE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76220 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -199,19 +199,19 @@ public:
|
||||
#endif // !wxUSE_CONSOLE_EVENTLOOP
|
||||
|
||||
#if wxUSE_LOG
|
||||
virtual wxLog *CreateLogTarget();
|
||||
virtual wxLog *CreateLogTarget() wxOVERRIDE;
|
||||
#endif // wxUSE_LOG
|
||||
virtual wxMessageOutput *CreateMessageOutput();
|
||||
virtual wxMessageOutput *CreateMessageOutput() wxOVERRIDE;
|
||||
#if wxUSE_FONTMAP
|
||||
virtual wxFontMapper *CreateFontMapper();
|
||||
virtual wxFontMapper *CreateFontMapper() wxOVERRIDE;
|
||||
#endif // wxUSE_FONTMAP
|
||||
virtual wxRendererNative *CreateRenderer();
|
||||
virtual wxRendererNative *CreateRenderer() wxOVERRIDE;
|
||||
|
||||
virtual bool ShowAssertDialog(const wxString& msg);
|
||||
virtual bool HasStderr();
|
||||
virtual bool ShowAssertDialog(const wxString& msg) wxOVERRIDE;
|
||||
virtual bool HasStderr() wxOVERRIDE;
|
||||
|
||||
// the GetToolkitVersion for console application is always the same
|
||||
virtual wxPortId GetToolkitVersion(int *verMaj = NULL, int *verMin = NULL) const
|
||||
virtual wxPortId GetToolkitVersion(int *verMaj = NULL, int *verMin = NULL) const wxOVERRIDE
|
||||
{
|
||||
// no toolkits (wxBase is for console applications without GUI support)
|
||||
// NB: zero means "no toolkit", -1 means "not initialized yet"
|
||||
@@ -221,8 +221,8 @@ public:
|
||||
return wxPORT_BASE;
|
||||
}
|
||||
|
||||
virtual bool IsUsingUniversalWidgets() const { return false; }
|
||||
virtual wxString GetDesktopEnvironment() const { return wxEmptyString; }
|
||||
virtual bool IsUsingUniversalWidgets() const wxOVERRIDE { return false; }
|
||||
virtual wxString GetDesktopEnvironment() const wxOVERRIDE { return wxEmptyString; }
|
||||
};
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
@@ -235,18 +235,18 @@ class WXDLLIMPEXP_CORE wxGUIAppTraitsBase : public wxAppTraits
|
||||
{
|
||||
public:
|
||||
#if wxUSE_LOG
|
||||
virtual wxLog *CreateLogTarget();
|
||||
virtual wxLog *CreateLogTarget() wxOVERRIDE;
|
||||
#endif // wxUSE_LOG
|
||||
virtual wxMessageOutput *CreateMessageOutput();
|
||||
virtual wxMessageOutput *CreateMessageOutput() wxOVERRIDE;
|
||||
#if wxUSE_FONTMAP
|
||||
virtual wxFontMapper *CreateFontMapper();
|
||||
virtual wxFontMapper *CreateFontMapper() wxOVERRIDE;
|
||||
#endif // wxUSE_FONTMAP
|
||||
virtual wxRendererNative *CreateRenderer();
|
||||
virtual wxRendererNative *CreateRenderer() wxOVERRIDE;
|
||||
|
||||
virtual bool ShowAssertDialog(const wxString& msg);
|
||||
virtual bool HasStderr();
|
||||
virtual bool ShowAssertDialog(const wxString& msg) wxOVERRIDE;
|
||||
virtual bool HasStderr() wxOVERRIDE;
|
||||
|
||||
virtual bool IsUsingUniversalWidgets() const
|
||||
virtual bool IsUsingUniversalWidgets() const wxOVERRIDE
|
||||
{
|
||||
#ifdef __WXUNIVERSAL__
|
||||
return true;
|
||||
@@ -255,7 +255,7 @@ public:
|
||||
#endif
|
||||
}
|
||||
|
||||
virtual wxString GetDesktopEnvironment() const { return wxEmptyString; }
|
||||
virtual wxString GetDesktopEnvironment() const wxOVERRIDE { return wxEmptyString; }
|
||||
};
|
||||
|
||||
#endif // wxUSE_GUI
|
||||
|
Reference in New Issue
Block a user