use more wxOVERRIDE (#329)
This commit is contained in:
@@ -89,45 +89,45 @@ public:
|
||||
|
||||
wxAuiDefaultDockArt();
|
||||
|
||||
int GetMetric(int metricId);
|
||||
void SetMetric(int metricId, int newVal);
|
||||
wxColour GetColour(int id);
|
||||
void SetColour(int id, const wxColor& colour);
|
||||
void SetFont(int id, const wxFont& font);
|
||||
wxFont GetFont(int id);
|
||||
int GetMetric(int metricId) wxOVERRIDE;
|
||||
void SetMetric(int metricId, int newVal) wxOVERRIDE;
|
||||
wxColour GetColour(int id) wxOVERRIDE;
|
||||
void SetColour(int id, const wxColor& colour) wxOVERRIDE;
|
||||
void SetFont(int id, const wxFont& font) wxOVERRIDE;
|
||||
wxFont GetFont(int id) wxOVERRIDE;
|
||||
|
||||
void DrawSash(wxDC& dc,
|
||||
wxWindow *window,
|
||||
int orientation,
|
||||
const wxRect& rect);
|
||||
const wxRect& rect) wxOVERRIDE;
|
||||
|
||||
void DrawBackground(wxDC& dc,
|
||||
wxWindow *window,
|
||||
int orientation,
|
||||
const wxRect& rect);
|
||||
const wxRect& rect) wxOVERRIDE;
|
||||
|
||||
void DrawCaption(wxDC& dc,
|
||||
wxWindow *window,
|
||||
const wxString& text,
|
||||
const wxRect& rect,
|
||||
wxAuiPaneInfo& pane);
|
||||
wxAuiPaneInfo& pane) wxOVERRIDE;
|
||||
|
||||
void DrawGripper(wxDC& dc,
|
||||
wxWindow *window,
|
||||
const wxRect& rect,
|
||||
wxAuiPaneInfo& pane);
|
||||
wxAuiPaneInfo& pane) wxOVERRIDE;
|
||||
|
||||
void DrawBorder(wxDC& dc,
|
||||
wxWindow *window,
|
||||
const wxRect& rect,
|
||||
wxAuiPaneInfo& pane);
|
||||
wxAuiPaneInfo& pane) wxOVERRIDE;
|
||||
|
||||
void DrawPaneButton(wxDC& dc,
|
||||
wxWindow *window,
|
||||
int button,
|
||||
int buttonState,
|
||||
const wxRect& rect,
|
||||
wxAuiPaneInfo& pane);
|
||||
wxAuiPaneInfo& pane) wxOVERRIDE;
|
||||
|
||||
void DrawIcon(wxDC& dc,
|
||||
const wxRect& rect,
|
||||
|
@@ -41,8 +41,8 @@ public:
|
||||
|
||||
virtual wxWindow *GetPane() const = 0;
|
||||
|
||||
virtual wxString GetLabel() const = 0;
|
||||
virtual void SetLabel(const wxString& label) = 0;
|
||||
virtual wxString GetLabel() const wxOVERRIDE = 0;
|
||||
virtual void SetLabel(const wxString& label) wxOVERRIDE = 0;
|
||||
};
|
||||
|
||||
|
||||
|
@@ -54,7 +54,7 @@ public:
|
||||
// it non-virtually and we need to do this to avoid infinite recursion,
|
||||
// so we work around this by calling the method of this object itself
|
||||
// manually in each function.
|
||||
virtual bool SetForegroundColour(const wxColour& colour)
|
||||
virtual bool SetForegroundColour(const wxColour& colour) wxOVERRIDE
|
||||
{
|
||||
if ( !BaseWindowClass::SetForegroundColour(colour) )
|
||||
return false;
|
||||
@@ -64,7 +64,7 @@ public:
|
||||
return true;
|
||||
}
|
||||
|
||||
virtual bool SetBackgroundColour(const wxColour& colour)
|
||||
virtual bool SetBackgroundColour(const wxColour& colour) wxOVERRIDE
|
||||
{
|
||||
if ( !BaseWindowClass::SetBackgroundColour(colour) )
|
||||
return false;
|
||||
@@ -74,7 +74,7 @@ public:
|
||||
return true;
|
||||
}
|
||||
|
||||
virtual bool SetFont(const wxFont& font)
|
||||
virtual bool SetFont(const wxFont& font) wxOVERRIDE
|
||||
{
|
||||
if ( !BaseWindowClass::SetFont(font) )
|
||||
return false;
|
||||
@@ -84,7 +84,7 @@ public:
|
||||
return true;
|
||||
}
|
||||
|
||||
virtual bool SetCursor(const wxCursor& cursor)
|
||||
virtual bool SetCursor(const wxCursor& cursor) wxOVERRIDE
|
||||
{
|
||||
if ( !BaseWindowClass::SetCursor(cursor) )
|
||||
return false;
|
||||
@@ -94,7 +94,7 @@ public:
|
||||
return true;
|
||||
}
|
||||
|
||||
virtual void SetLayoutDirection(wxLayoutDirection dir)
|
||||
virtual void SetLayoutDirection(wxLayoutDirection dir) wxOVERRIDE
|
||||
{
|
||||
BaseWindowClass::SetLayoutDirection(dir);
|
||||
|
||||
@@ -113,7 +113,7 @@ public:
|
||||
}
|
||||
|
||||
#if wxUSE_TOOLTIPS
|
||||
virtual void DoSetToolTipText(const wxString &tip)
|
||||
virtual void DoSetToolTipText(const wxString &tip) wxOVERRIDE
|
||||
{
|
||||
BaseWindowClass::DoSetToolTipText(tip);
|
||||
|
||||
@@ -123,7 +123,7 @@ public:
|
||||
SetForAllParts(func, tip);
|
||||
}
|
||||
|
||||
virtual void DoSetToolTip(wxToolTip *tip)
|
||||
virtual void DoSetToolTip(wxToolTip *tip) wxOVERRIDE
|
||||
{
|
||||
BaseWindowClass::DoSetToolTip(tip);
|
||||
|
||||
@@ -131,7 +131,7 @@ public:
|
||||
}
|
||||
#endif // wxUSE_TOOLTIPS
|
||||
|
||||
virtual void SetFocus()
|
||||
virtual void SetFocus() wxOVERRIDE
|
||||
{
|
||||
wxSetFocusToChild(this, NULL);
|
||||
}
|
||||
|
@@ -210,22 +210,22 @@ public:
|
||||
#endif // !wxHAS_NATIVE_TAB_TRAVERSAL
|
||||
}
|
||||
|
||||
WXDLLIMPEXP_INLINE_CORE virtual bool AcceptsFocus() const
|
||||
WXDLLIMPEXP_INLINE_CORE virtual bool AcceptsFocus() const wxOVERRIDE
|
||||
{
|
||||
return m_container.AcceptsFocus();
|
||||
}
|
||||
|
||||
WXDLLIMPEXP_INLINE_CORE virtual bool AcceptsFocusRecursively() const
|
||||
WXDLLIMPEXP_INLINE_CORE virtual bool AcceptsFocusRecursively() const wxOVERRIDE
|
||||
{
|
||||
return m_container.AcceptsFocusRecursively();
|
||||
}
|
||||
|
||||
WXDLLIMPEXP_INLINE_CORE virtual bool AcceptsFocusFromKeyboard() const
|
||||
WXDLLIMPEXP_INLINE_CORE virtual bool AcceptsFocusFromKeyboard() const wxOVERRIDE
|
||||
{
|
||||
return m_container.AcceptsFocusFromKeyboard();
|
||||
}
|
||||
|
||||
WXDLLIMPEXP_INLINE_CORE virtual void AddChild(wxWindowBase *child)
|
||||
WXDLLIMPEXP_INLINE_CORE virtual void AddChild(wxWindowBase *child) wxOVERRIDE
|
||||
{
|
||||
BaseWindowClass::AddChild(child);
|
||||
|
||||
@@ -238,7 +238,7 @@ public:
|
||||
}
|
||||
}
|
||||
|
||||
WXDLLIMPEXP_INLINE_CORE virtual void RemoveChild(wxWindowBase *child)
|
||||
WXDLLIMPEXP_INLINE_CORE virtual void RemoveChild(wxWindowBase *child) wxOVERRIDE
|
||||
{
|
||||
#ifndef wxHAS_NATIVE_TAB_TRAVERSAL
|
||||
m_container.HandleOnWindowDestroy(child);
|
||||
@@ -251,7 +251,7 @@ public:
|
||||
m_container.UpdateCanFocusChildren();
|
||||
}
|
||||
|
||||
WXDLLIMPEXP_INLINE_CORE virtual void SetFocus()
|
||||
WXDLLIMPEXP_INLINE_CORE virtual void SetFocus() wxOVERRIDE
|
||||
{
|
||||
if ( !m_container.DoSetFocus() )
|
||||
BaseWindowClass::SetFocus();
|
||||
|
@@ -290,10 +290,10 @@ public:
|
||||
virtual bool SetData(const wxDataFormat& format, size_t len, const void *buf) wxOVERRIDE;
|
||||
#if defined(__WXMSW__)
|
||||
virtual const void* GetSizeFromBuffer( const void* buffer, size_t* size,
|
||||
const wxDataFormat& format );
|
||||
const wxDataFormat& format ) wxOVERRIDE;
|
||||
virtual void* SetSizeInBuffer( void* buffer, size_t size,
|
||||
const wxDataFormat& format );
|
||||
virtual size_t GetBufferOffset( const wxDataFormat& format );
|
||||
const wxDataFormat& format ) wxOVERRIDE;
|
||||
virtual size_t GetBufferOffset( const wxDataFormat& format ) wxOVERRIDE;
|
||||
#endif
|
||||
|
||||
private:
|
||||
@@ -408,19 +408,19 @@ public:
|
||||
bool GetDataHere(const wxDataFormat& format, void *pBuf) const wxOVERRIDE;
|
||||
bool SetData(const wxDataFormat& format, size_t nLen, const void* pBuf) wxOVERRIDE;
|
||||
#else // !wxNEEDS_UTF{8,16}_FOR_TEXT_DATAOBJ
|
||||
virtual size_t GetDataSize() const;
|
||||
virtual bool GetDataHere(void *buf) const;
|
||||
virtual bool SetData(size_t len, const void *buf);
|
||||
virtual size_t GetDataSize() const wxOVERRIDE;
|
||||
virtual bool GetDataHere(void *buf) const wxOVERRIDE;
|
||||
virtual bool SetData(size_t len, const void *buf) wxOVERRIDE;
|
||||
// Must provide overloads to avoid hiding them (and warnings about it)
|
||||
virtual size_t GetDataSize(const wxDataFormat&) const
|
||||
virtual size_t GetDataSize(const wxDataFormat&) const wxOVERRIDE
|
||||
{
|
||||
return GetDataSize();
|
||||
}
|
||||
virtual bool GetDataHere(const wxDataFormat&, void *buf) const
|
||||
virtual bool GetDataHere(const wxDataFormat&, void *buf) const wxOVERRIDE
|
||||
{
|
||||
return GetDataHere(buf);
|
||||
}
|
||||
virtual bool SetData(const wxDataFormat&, size_t len, const void *buf)
|
||||
virtual bool SetData(const wxDataFormat&, size_t len, const void *buf) wxOVERRIDE
|
||||
{
|
||||
return SetData(len, buf);
|
||||
}
|
||||
|
@@ -39,8 +39,8 @@ public:
|
||||
#ifdef __WXMSW__
|
||||
// override wxDC virtual functions to provide access to HDC associated with
|
||||
// this Graphics object (implemented in src/msw/graphics.cpp)
|
||||
virtual WXHDC AcquireHDC();
|
||||
virtual void ReleaseHDC(WXHDC hdc);
|
||||
virtual WXHDC AcquireHDC() wxOVERRIDE;
|
||||
virtual void ReleaseHDC(WXHDC hdc) wxOVERRIDE;
|
||||
#endif // __WXMSW__
|
||||
|
||||
private:
|
||||
@@ -204,7 +204,7 @@ public:
|
||||
virtual bool DoGetPartialTextExtents(const wxString& text, wxArrayInt& widths) const wxOVERRIDE;
|
||||
|
||||
#ifdef __WXMSW__
|
||||
virtual wxRect MSWApplyGDIPlusTransform(const wxRect& r) const;
|
||||
virtual wxRect MSWApplyGDIPlusTransform(const wxRect& r) const wxOVERRIDE;
|
||||
#endif // __WXMSW__
|
||||
|
||||
// update the internal clip box variables
|
||||
|
@@ -176,7 +176,7 @@ public:
|
||||
bool IsOwnEvent() const { return m_id != 0; }
|
||||
|
||||
// implement the base class pure virtual
|
||||
virtual wxEvent *Clone() const { return new wxDialUpEvent(*this); }
|
||||
virtual wxEvent *Clone() const wxOVERRIDE { return new wxDialUpEvent(*this); }
|
||||
|
||||
private:
|
||||
wxDECLARE_NO_ASSIGN_CLASS(wxDialUpEvent);
|
||||
|
@@ -100,9 +100,9 @@ protected:
|
||||
class WXDLLIMPEXP_CORE wxDisplayFactorySingle : public wxDisplayFactory
|
||||
{
|
||||
public:
|
||||
virtual wxDisplayImpl *CreateDisplay(unsigned n);
|
||||
virtual unsigned GetCount() { return 1; }
|
||||
virtual int GetFromPoint(const wxPoint& pt);
|
||||
virtual wxDisplayImpl *CreateDisplay(unsigned n) wxOVERRIDE;
|
||||
virtual unsigned GetCount() wxOVERRIDE { return 1; }
|
||||
virtual int GetFromPoint(const wxPoint& pt) wxOVERRIDE;
|
||||
};
|
||||
|
||||
#endif // _WX_DISPLAY_IMPL_H_BASE_
|
||||
|
@@ -717,7 +717,7 @@ public:
|
||||
return true;
|
||||
}
|
||||
|
||||
virtual bool Destroy()
|
||||
virtual bool Destroy() wxOVERRIDE
|
||||
{
|
||||
// FIXME: why exactly do we do this? to avoid activation events during
|
||||
// destructions maybe?
|
||||
@@ -727,7 +727,7 @@ public:
|
||||
|
||||
protected:
|
||||
// hook the child view into event handlers chain here
|
||||
virtual bool TryBefore(wxEvent& event)
|
||||
virtual bool TryBefore(wxEvent& event) wxOVERRIDE
|
||||
{
|
||||
return TryProcessEvent(event) || BaseClass::TryBefore(event);
|
||||
}
|
||||
@@ -882,7 +882,7 @@ public:
|
||||
|
||||
protected:
|
||||
// hook the document manager into event handling chain here
|
||||
virtual bool TryBefore(wxEvent& event)
|
||||
virtual bool TryBefore(wxEvent& event) wxOVERRIDE
|
||||
{
|
||||
// It is important to send the event to the base class first as
|
||||
// wxMDIParentFrame overrides its TryBefore() to send the menu events
|
||||
|
@@ -400,13 +400,13 @@ public:
|
||||
wxDataViewChoiceRenderer( const wxArrayString &choices,
|
||||
wxDataViewCellMode mode = wxDATAVIEW_CELL_EDITABLE,
|
||||
int alignment = wxDVR_DEFAULT_ALIGNMENT );
|
||||
virtual bool HasEditorCtrl() const { return true; }
|
||||
virtual wxWindow* CreateEditorCtrl( wxWindow *parent, wxRect labelRect, const wxVariant &value );
|
||||
virtual bool GetValueFromEditorCtrl( wxWindow* editor, wxVariant &value );
|
||||
virtual bool Render( wxRect rect, wxDC *dc, int state );
|
||||
virtual wxSize GetSize() const;
|
||||
virtual bool SetValue( const wxVariant &value );
|
||||
virtual bool GetValue( wxVariant &value ) const;
|
||||
virtual bool HasEditorCtrl() const wxOVERRIDE { return true; }
|
||||
virtual wxWindow* CreateEditorCtrl( wxWindow *parent, wxRect labelRect, const wxVariant &value ) wxOVERRIDE;
|
||||
virtual bool GetValueFromEditorCtrl( wxWindow* editor, wxVariant &value ) wxOVERRIDE;
|
||||
virtual bool Render( wxRect rect, wxDC *dc, int state ) wxOVERRIDE;
|
||||
virtual wxSize GetSize() const wxOVERRIDE;
|
||||
virtual bool SetValue( const wxVariant &value ) wxOVERRIDE;
|
||||
virtual bool GetValue( wxVariant &value ) const wxOVERRIDE;
|
||||
|
||||
wxString GetChoice(size_t index) const { return m_choices[index]; }
|
||||
const wxArrayString& GetChoices() const { return m_choices; }
|
||||
@@ -427,11 +427,11 @@ public:
|
||||
wxDataViewCellMode mode = wxDATAVIEW_CELL_EDITABLE,
|
||||
int alignment = wxDVR_DEFAULT_ALIGNMENT );
|
||||
|
||||
virtual wxWindow* CreateEditorCtrl( wxWindow *parent, wxRect labelRect, const wxVariant &value );
|
||||
virtual bool GetValueFromEditorCtrl( wxWindow* editor, wxVariant &value );
|
||||
virtual wxWindow* CreateEditorCtrl( wxWindow *parent, wxRect labelRect, const wxVariant &value ) wxOVERRIDE;
|
||||
virtual bool GetValueFromEditorCtrl( wxWindow* editor, wxVariant &value ) wxOVERRIDE;
|
||||
|
||||
virtual bool SetValue( const wxVariant &value );
|
||||
virtual bool GetValue( wxVariant &value ) const;
|
||||
virtual bool SetValue( const wxVariant &value ) wxOVERRIDE;
|
||||
virtual bool GetValue( wxVariant &value ) const wxOVERRIDE;
|
||||
};
|
||||
|
||||
|
||||
|
@@ -356,7 +356,7 @@ public:
|
||||
CheckHandlerArgument(static_cast<EventClass *>(NULL));
|
||||
}
|
||||
|
||||
virtual void operator()(wxEvtHandler *handler, wxEvent& event)
|
||||
virtual void operator()(wxEvtHandler *handler, wxEvent& event) wxOVERRIDE
|
||||
{
|
||||
Class * realHandler = m_handler;
|
||||
if ( !realHandler )
|
||||
@@ -373,7 +373,7 @@ public:
|
||||
(realHandler->*m_method)(static_cast<EventArg&>(event));
|
||||
}
|
||||
|
||||
virtual bool IsMatching(const wxEventFunctor& functor) const
|
||||
virtual bool IsMatching(const wxEventFunctor& functor) const wxOVERRIDE
|
||||
{
|
||||
if ( wxTypeId(functor) != wxTypeId(*this) )
|
||||
return false;
|
||||
@@ -388,10 +388,10 @@ public:
|
||||
(m_handler == other.m_handler || other.m_handler == NULL);
|
||||
}
|
||||
|
||||
virtual wxEvtHandler *GetEvtHandler() const
|
||||
virtual wxEvtHandler *GetEvtHandler() const wxOVERRIDE
|
||||
{ return this->ConvertToEvtHandler(m_handler); }
|
||||
|
||||
virtual wxEventFunction GetEvtMethod() const
|
||||
virtual wxEventFunction GetEvtMethod() const wxOVERRIDE
|
||||
{ return this->ConvertToEvtMethod(m_method); }
|
||||
|
||||
private:
|
||||
|
@@ -202,7 +202,7 @@ public:
|
||||
// returns the encoding for the given charset (in the form of RFC 2046) or
|
||||
// wxFONTENCODING_SYSTEM if couldn't decode it
|
||||
virtual wxFontEncoding CharsetToEncoding(const wxString& charset,
|
||||
bool interactive = true);
|
||||
bool interactive = true) wxOVERRIDE;
|
||||
|
||||
// find an alternative for the given encoding (which is supposed to not be
|
||||
// available on this system). If successful, return true and fill info
|
||||
@@ -242,7 +242,7 @@ public:
|
||||
static wxFontMapper *Get();
|
||||
|
||||
// pseudo-RTTI since we aren't a wxObject.
|
||||
virtual bool IsDummy() { return false; }
|
||||
virtual bool IsDummy() wxOVERRIDE { return false; }
|
||||
|
||||
protected:
|
||||
// GetAltForEncoding() helper: tests for the existence of the given
|
||||
|
@@ -26,18 +26,18 @@ public:
|
||||
wxAnimation(const wxString &name, wxAnimationType type = wxANIMATION_TYPE_ANY)
|
||||
{ LoadFile(name, type); }
|
||||
|
||||
virtual bool IsOk() const
|
||||
virtual bool IsOk() const wxOVERRIDE
|
||||
{ return m_refData != NULL; }
|
||||
|
||||
virtual unsigned int GetFrameCount() const;
|
||||
virtual int GetDelay(unsigned int i) const;
|
||||
virtual wxImage GetFrame(unsigned int i) const;
|
||||
virtual wxSize GetSize() const;
|
||||
virtual unsigned int GetFrameCount() const wxOVERRIDE;
|
||||
virtual int GetDelay(unsigned int i) const wxOVERRIDE;
|
||||
virtual wxImage GetFrame(unsigned int i) const wxOVERRIDE;
|
||||
virtual wxSize GetSize() const wxOVERRIDE;
|
||||
|
||||
virtual bool LoadFile(const wxString& filename,
|
||||
wxAnimationType type = wxANIMATION_TYPE_ANY);
|
||||
wxAnimationType type = wxANIMATION_TYPE_ANY) wxOVERRIDE;
|
||||
virtual bool Load(wxInputStream& stream,
|
||||
wxAnimationType type = wxANIMATION_TYPE_ANY);
|
||||
wxAnimationType type = wxANIMATION_TYPE_ANY) wxOVERRIDE;
|
||||
|
||||
// extended interface used by the generic implementation of wxAnimationCtrl
|
||||
wxPoint GetFramePosition(unsigned int frame) const;
|
||||
|
@@ -65,9 +65,9 @@ public:
|
||||
protected:
|
||||
wxBitmap m_bitmap;
|
||||
|
||||
wxSize DoGetBestSize() const;
|
||||
wxSize DoGetBestSize() const wxOVERRIDE;
|
||||
|
||||
void UpdateColour();
|
||||
void UpdateColour() wxOVERRIDE;
|
||||
|
||||
// the colour data shown in wxColourPickerCtrlGeneric
|
||||
// controls. This member is static so that all colour pickers
|
||||
|
@@ -23,19 +23,19 @@ public:
|
||||
int align = wxDVR_DEFAULT_ALIGNMENT );
|
||||
virtual ~wxDataViewRenderer();
|
||||
|
||||
virtual wxDC *GetDC();
|
||||
virtual wxDC *GetDC() wxOVERRIDE;
|
||||
|
||||
virtual void SetAlignment( int align );
|
||||
virtual int GetAlignment() const;
|
||||
virtual void SetAlignment( int align ) wxOVERRIDE;
|
||||
virtual int GetAlignment() const wxOVERRIDE;
|
||||
|
||||
virtual void EnableEllipsize(wxEllipsizeMode mode = wxELLIPSIZE_MIDDLE)
|
||||
virtual void EnableEllipsize(wxEllipsizeMode mode = wxELLIPSIZE_MIDDLE) wxOVERRIDE
|
||||
{ m_ellipsizeMode = mode; }
|
||||
virtual wxEllipsizeMode GetEllipsizeMode() const
|
||||
virtual wxEllipsizeMode GetEllipsizeMode() const wxOVERRIDE
|
||||
{ return m_ellipsizeMode; }
|
||||
|
||||
virtual void SetMode( wxDataViewCellMode mode )
|
||||
virtual void SetMode( wxDataViewCellMode mode ) wxOVERRIDE
|
||||
{ m_mode = mode; }
|
||||
virtual wxDataViewCellMode GetMode() const
|
||||
virtual wxDataViewCellMode GetMode() const wxOVERRIDE
|
||||
{ return m_mode; }
|
||||
|
||||
// implementation
|
||||
|
@@ -31,7 +31,7 @@ public:
|
||||
wxDataViewModel *model,
|
||||
const wxDataViewItem& item,
|
||||
unsigned int col,
|
||||
const wxMouseEvent *mouseEvent)
|
||||
const wxMouseEvent *mouseEvent) wxOVERRIDE
|
||||
{
|
||||
return ActivateCell(cell, model, item, col, mouseEvent);
|
||||
}
|
||||
@@ -59,17 +59,17 @@ public:
|
||||
void EnableMarkup(bool enable = true);
|
||||
#endif // wxUSE_MARKUP
|
||||
|
||||
virtual bool SetValue( const wxVariant &value );
|
||||
virtual bool GetValue( wxVariant &value ) const;
|
||||
virtual bool SetValue( const wxVariant &value ) wxOVERRIDE;
|
||||
virtual bool GetValue( wxVariant &value ) const wxOVERRIDE;
|
||||
|
||||
virtual bool Render(wxRect cell, wxDC *dc, int state);
|
||||
virtual wxSize GetSize() const;
|
||||
virtual bool Render(wxRect cell, wxDC *dc, int state) wxOVERRIDE;
|
||||
virtual wxSize GetSize() const wxOVERRIDE;
|
||||
|
||||
// in-place editing
|
||||
virtual bool HasEditorCtrl() const;
|
||||
virtual bool HasEditorCtrl() const wxOVERRIDE;
|
||||
virtual wxWindow* CreateEditorCtrl( wxWindow *parent, wxRect labelRect,
|
||||
const wxVariant &value );
|
||||
virtual bool GetValueFromEditorCtrl( wxWindow* editor, wxVariant &value );
|
||||
const wxVariant &value ) wxOVERRIDE;
|
||||
virtual bool GetValueFromEditorCtrl( wxWindow* editor, wxVariant &value ) wxOVERRIDE;
|
||||
|
||||
protected:
|
||||
wxString m_text;
|
||||
@@ -95,11 +95,11 @@ public:
|
||||
wxDataViewCellMode mode = wxDATAVIEW_CELL_INERT,
|
||||
int align = wxDVR_DEFAULT_ALIGNMENT );
|
||||
|
||||
virtual bool SetValue( const wxVariant &value );
|
||||
virtual bool GetValue( wxVariant &value ) const;
|
||||
virtual bool SetValue( const wxVariant &value ) wxOVERRIDE;
|
||||
virtual bool GetValue( wxVariant &value ) const wxOVERRIDE;
|
||||
|
||||
virtual bool Render( wxRect cell, wxDC *dc, int state );
|
||||
virtual wxSize GetSize() const;
|
||||
virtual bool Render( wxRect cell, wxDC *dc, int state ) wxOVERRIDE;
|
||||
virtual wxSize GetSize() const wxOVERRIDE;
|
||||
|
||||
private:
|
||||
wxIcon m_icon;
|
||||
@@ -122,18 +122,18 @@ public:
|
||||
wxDataViewCellMode mode = wxDATAVIEW_CELL_INERT,
|
||||
int align = wxDVR_DEFAULT_ALIGNMENT );
|
||||
|
||||
virtual bool SetValue( const wxVariant &value );
|
||||
virtual bool GetValue( wxVariant &value ) const;
|
||||
virtual bool SetValue( const wxVariant &value ) wxOVERRIDE;
|
||||
virtual bool GetValue( wxVariant &value ) const wxOVERRIDE;
|
||||
|
||||
virtual bool Render( wxRect cell, wxDC *dc, int state );
|
||||
virtual wxSize GetSize() const;
|
||||
virtual bool Render( wxRect cell, wxDC *dc, int state ) wxOVERRIDE;
|
||||
virtual wxSize GetSize() const wxOVERRIDE;
|
||||
|
||||
// Implementation only, don't use nor override
|
||||
virtual bool WXActivateCell(const wxRect& cell,
|
||||
wxDataViewModel *model,
|
||||
const wxDataViewItem& item,
|
||||
unsigned int col,
|
||||
const wxMouseEvent *mouseEvent);
|
||||
const wxMouseEvent *mouseEvent) wxOVERRIDE;
|
||||
private:
|
||||
bool m_toggle;
|
||||
|
||||
@@ -155,11 +155,11 @@ public:
|
||||
wxDataViewCellMode mode = wxDATAVIEW_CELL_INERT,
|
||||
int align = wxDVR_DEFAULT_ALIGNMENT );
|
||||
|
||||
virtual bool SetValue( const wxVariant &value );
|
||||
virtual bool GetValue( wxVariant& value ) const;
|
||||
virtual bool SetValue( const wxVariant &value ) wxOVERRIDE;
|
||||
virtual bool GetValue( wxVariant& value ) const wxOVERRIDE;
|
||||
|
||||
virtual bool Render(wxRect cell, wxDC *dc, int state);
|
||||
virtual wxSize GetSize() const;
|
||||
virtual bool Render(wxRect cell, wxDC *dc, int state) wxOVERRIDE;
|
||||
virtual wxSize GetSize() const wxOVERRIDE;
|
||||
|
||||
private:
|
||||
wxString m_label;
|
||||
@@ -182,16 +182,16 @@ public:
|
||||
wxDataViewCellMode mode = wxDATAVIEW_CELL_INERT,
|
||||
int align = wxDVR_DEFAULT_ALIGNMENT );
|
||||
|
||||
virtual bool SetValue( const wxVariant &value );
|
||||
virtual bool GetValue( wxVariant &value ) const;
|
||||
virtual bool SetValue( const wxVariant &value ) wxOVERRIDE;
|
||||
virtual bool GetValue( wxVariant &value ) const wxOVERRIDE;
|
||||
|
||||
virtual bool Render(wxRect cell, wxDC *dc, int state);
|
||||
virtual wxSize GetSize() const;
|
||||
virtual bool Render(wxRect cell, wxDC *dc, int state) wxOVERRIDE;
|
||||
virtual wxSize GetSize() const wxOVERRIDE;
|
||||
|
||||
virtual bool HasEditorCtrl() const { return true; }
|
||||
virtual bool HasEditorCtrl() const wxOVERRIDE { return true; }
|
||||
virtual wxWindow* CreateEditorCtrl( wxWindow *parent, wxRect labelRect,
|
||||
const wxVariant &value );
|
||||
virtual bool GetValueFromEditorCtrl( wxWindow* editor, wxVariant &value );
|
||||
const wxVariant &value ) wxOVERRIDE;
|
||||
virtual bool GetValueFromEditorCtrl( wxWindow* editor, wxVariant &value ) wxOVERRIDE;
|
||||
|
||||
private:
|
||||
wxDataViewIconText m_value;
|
||||
|
@@ -35,10 +35,10 @@ public:
|
||||
Create(parent, id, initial, pos, size, style, validator, name);
|
||||
}
|
||||
|
||||
virtual wxColour GetSelectedColour() const
|
||||
virtual wxColour GetSelectedColour() const wxOVERRIDE
|
||||
{ return m_data.GetColour(); }
|
||||
|
||||
virtual void SetSelectedColour(const wxColour &colour)
|
||||
virtual void SetSelectedColour(const wxColour &colour) wxOVERRIDE
|
||||
{ m_data.SetColour(colour); UpdateFont(); }
|
||||
|
||||
virtual ~wxGenericFontButton() {}
|
||||
@@ -69,7 +69,7 @@ public:
|
||||
|
||||
protected:
|
||||
|
||||
void UpdateFont();
|
||||
void UpdateFont() wxOVERRIDE;
|
||||
|
||||
wxFontData m_data;
|
||||
|
||||
|
@@ -45,20 +45,20 @@ public:
|
||||
|
||||
|
||||
// get/set
|
||||
wxColour GetHoverColour() const { return m_hoverColour; }
|
||||
void SetHoverColour(const wxColour &colour) { m_hoverColour = colour; }
|
||||
wxColour GetHoverColour() const wxOVERRIDE { return m_hoverColour; }
|
||||
void SetHoverColour(const wxColour &colour) wxOVERRIDE { m_hoverColour = colour; }
|
||||
|
||||
wxColour GetNormalColour() const { return m_normalColour; }
|
||||
void SetNormalColour(const wxColour &colour);
|
||||
wxColour GetNormalColour() const wxOVERRIDE { return m_normalColour; }
|
||||
void SetNormalColour(const wxColour &colour) wxOVERRIDE;
|
||||
|
||||
wxColour GetVisitedColour() const { return m_visitedColour; }
|
||||
void SetVisitedColour(const wxColour &colour);
|
||||
wxColour GetVisitedColour() const wxOVERRIDE { return m_visitedColour; }
|
||||
void SetVisitedColour(const wxColour &colour) wxOVERRIDE;
|
||||
|
||||
wxString GetURL() const { return m_url; }
|
||||
void SetURL (const wxString &url) { m_url=url; }
|
||||
wxString GetURL() const wxOVERRIDE { return m_url; }
|
||||
void SetURL (const wxString &url) wxOVERRIDE { m_url=url; }
|
||||
|
||||
void SetVisited(bool visited = true) { m_visited=visited; }
|
||||
bool GetVisited() const { return m_visited; }
|
||||
void SetVisited(bool visited = true) wxOVERRIDE { m_visited=visited; }
|
||||
bool GetVisited() const wxOVERRIDE { return m_visited; }
|
||||
|
||||
// NOTE: also wxWindow::Set/GetLabel, wxWindow::Set/GetBackgroundColour,
|
||||
// wxWindow::Get/SetFont, wxWindow::Get/SetCursor are important !
|
||||
@@ -110,7 +110,7 @@ protected:
|
||||
|
||||
// Returns the best size for the window, which is the size needed
|
||||
// to display the text label.
|
||||
virtual wxSize DoGetBestClientSize() const;
|
||||
virtual wxSize DoGetBestClientSize() const wxOVERRIDE;
|
||||
|
||||
// creates a context menu with "Copy URL" menuitem
|
||||
virtual void DoContextMenu(const wxPoint &);
|
||||
|
@@ -33,15 +33,15 @@ public:
|
||||
}
|
||||
|
||||
virtual void SetBackgroundColour(const wxColour& col,
|
||||
const wxColour& colEnd);
|
||||
virtual void SetCustomIcon(const wxIcon& icon);
|
||||
virtual void SetStandardIcon(int icon);
|
||||
const wxColour& colEnd) wxOVERRIDE;
|
||||
virtual void SetCustomIcon(const wxIcon& icon) wxOVERRIDE;
|
||||
virtual void SetStandardIcon(int icon) wxOVERRIDE;
|
||||
virtual void SetTimeout(unsigned milliseconds,
|
||||
unsigned millisecondsDelay = 0);
|
||||
virtual void SetTipKind(wxTipKind tipKind);
|
||||
virtual void SetTitleFont(const wxFont& font);
|
||||
unsigned millisecondsDelay = 0) wxOVERRIDE;
|
||||
virtual void SetTipKind(wxTipKind tipKind) wxOVERRIDE;
|
||||
virtual void SetTitleFont(const wxFont& font) wxOVERRIDE;
|
||||
|
||||
virtual void ShowFor(wxWindow* win, const wxRect* rect = NULL);
|
||||
virtual void ShowFor(wxWindow* win, const wxRect* rect = NULL) wxOVERRIDE;
|
||||
|
||||
protected:
|
||||
wxString m_title,
|
||||
|
@@ -22,13 +22,13 @@ public:
|
||||
wxScrollHelper(wxWindow *winToScroll);
|
||||
|
||||
// implement base class pure virtuals
|
||||
virtual void AdjustScrollbars();
|
||||
virtual bool IsScrollbarShown(int orient) const;
|
||||
virtual void AdjustScrollbars() wxOVERRIDE;
|
||||
virtual bool IsScrollbarShown(int orient) const wxOVERRIDE;
|
||||
|
||||
protected:
|
||||
virtual void DoScroll(int x, int y);
|
||||
virtual void DoScroll(int x, int y) wxOVERRIDE;
|
||||
virtual void DoShowScrollbars(wxScrollbarVisibility horz,
|
||||
wxScrollbarVisibility vert);
|
||||
wxScrollbarVisibility vert) wxOVERRIDE;
|
||||
|
||||
private:
|
||||
// helper of AdjustScrollbars(): does the work for the single scrollbar
|
||||
|
@@ -111,7 +111,7 @@ protected:
|
||||
|
||||
#ifdef __WXMSW__
|
||||
// and, for MSW, enabling this window itself
|
||||
virtual void DoEnable(bool enable);
|
||||
virtual void DoEnable(bool enable) wxOVERRIDE;
|
||||
#endif // __WXMSW__
|
||||
|
||||
enum SendEvent
|
||||
@@ -393,7 +393,7 @@ public:
|
||||
unsigned GetDigits() const { return m_digits; }
|
||||
|
||||
// operations
|
||||
void SetValue(const wxString& value)
|
||||
void SetValue(const wxString& value) wxOVERRIDE
|
||||
{ wxSpinCtrlGenericBase::SetValue(value); }
|
||||
void SetValue(double value) { DoSetValue(value, SendEvent_None); }
|
||||
void SetRange(double minVal, double maxVal) { DoSetRange(minVal, maxVal); }
|
||||
@@ -402,14 +402,14 @@ public:
|
||||
|
||||
// We don't implement bases support for floating point numbers, this is not
|
||||
// very useful in practice.
|
||||
virtual int GetBase() const { return 10; }
|
||||
virtual bool SetBase(int WXUNUSED(base)) { return 0; }
|
||||
virtual int GetBase() const wxOVERRIDE { return 10; }
|
||||
virtual bool SetBase(int WXUNUSED(base)) wxOVERRIDE { return 0; }
|
||||
|
||||
protected:
|
||||
virtual void DoSendEvent();
|
||||
virtual void DoSendEvent() wxOVERRIDE;
|
||||
|
||||
virtual bool DoTextToValue(const wxString& text, double *val);
|
||||
virtual wxString DoValueToText(double val);
|
||||
virtual bool DoTextToValue(const wxString& text, double *val) wxOVERRIDE;
|
||||
virtual wxString DoValueToText(double val) wxOVERRIDE;
|
||||
|
||||
unsigned m_digits;
|
||||
|
||||
|
@@ -339,7 +339,7 @@ class WXDLLIMPEXP_GL wxGLApp : public wxGLAppBase
|
||||
public:
|
||||
wxGLApp() : wxGLAppBase() { }
|
||||
|
||||
virtual bool InitGLVisual(const int *attribList);
|
||||
virtual bool InitGLVisual(const int *attribList) wxOVERRIDE;
|
||||
|
||||
private:
|
||||
wxDECLARE_DYNAMIC_CLASS(wxGLApp);
|
||||
|
@@ -31,7 +31,7 @@ I STRONGLY recommend reading and understanding these macros!!
|
||||
class wxHTML_Handler_##name : public wxHtmlWinTagHandler \
|
||||
{ \
|
||||
public: \
|
||||
wxString GetSupportedTags() {return wxT(tags);}
|
||||
wxString GetSupportedTags() wxOVERRIDE {return wxT(tags);}
|
||||
|
||||
|
||||
|
||||
@@ -45,7 +45,7 @@ I STRONGLY recommend reading and understanding these macros!!
|
||||
|
||||
#define TAG_HANDLER_PROC(varib) \
|
||||
public: \
|
||||
bool HandleTag(const wxHtmlTag& varib)
|
||||
bool HandleTag(const wxHtmlTag& varib) wxOVERRIDE
|
||||
|
||||
|
||||
|
||||
|
@@ -652,7 +652,7 @@ private:
|
||||
{ wxNodeBase::SetData(data); } \
|
||||
\
|
||||
protected: \
|
||||
virtual void DeleteData(); \
|
||||
virtual void DeleteData() wxOVERRIDE; \
|
||||
\
|
||||
wxDECLARE_NO_COPY_CLASS(nodetype); \
|
||||
}; \
|
||||
@@ -742,6 +742,7 @@ private:
|
||||
virtual wxNodeBase *CreateNode(wxNodeBase *prev, wxNodeBase *next, \
|
||||
void *data, \
|
||||
const wxListKey& key = wxDefaultListKey) \
|
||||
wxOVERRIDE \
|
||||
{ \
|
||||
return new nodetype(this, \
|
||||
(nodetype *)prev, (nodetype *)next, \
|
||||
|
@@ -279,17 +279,17 @@ public:
|
||||
|
||||
// extra platform-specific hacks
|
||||
#ifdef __WXMSW__
|
||||
virtual WXDWORD MSWGetStyle(long flags, WXDWORD *exstyle = NULL) const
|
||||
virtual WXDWORD MSWGetStyle(long flags, WXDWORD *exstyle = NULL) const wxOVERRIDE
|
||||
{
|
||||
return wxWindow::MSWGetStyle(flags, exstyle);
|
||||
}
|
||||
|
||||
virtual WXHWND MSWGetParent() const
|
||||
virtual WXHWND MSWGetParent() const wxOVERRIDE
|
||||
{
|
||||
return wxWindow::MSWGetParent();
|
||||
}
|
||||
|
||||
WXLRESULT MSWWindowProc(WXUINT message, WXWPARAM wParam, WXLPARAM lParam)
|
||||
WXLRESULT MSWWindowProc(WXUINT message, WXWPARAM wParam, WXLPARAM lParam) wxOVERRIDE
|
||||
{
|
||||
return wxWindow::MSWWindowProc(message, wParam, lParam);
|
||||
}
|
||||
|
@@ -27,21 +27,21 @@ public:
|
||||
wxMemoryText(const wxString& name) : wxTextBuffer(name) { }
|
||||
|
||||
protected:
|
||||
virtual bool OnExists() const
|
||||
virtual bool OnExists() const wxOVERRIDE
|
||||
{ return false; }
|
||||
|
||||
virtual bool OnOpen(const wxString & WXUNUSED(strBufferName),
|
||||
wxTextBufferOpenMode WXUNUSED(OpenMode))
|
||||
wxTextBufferOpenMode WXUNUSED(OpenMode)) wxOVERRIDE
|
||||
{ return true; }
|
||||
|
||||
virtual bool OnClose()
|
||||
virtual bool OnClose() wxOVERRIDE
|
||||
{ return true; }
|
||||
|
||||
virtual bool OnRead(const wxMBConv& WXUNUSED(conv))
|
||||
virtual bool OnRead(const wxMBConv& WXUNUSED(conv)) wxOVERRIDE
|
||||
{ return true; }
|
||||
|
||||
virtual bool OnWrite(wxTextFileType WXUNUSED(typeNew),
|
||||
const wxMBConv& WXUNUSED(conv) = wxMBConvUTF8())
|
||||
const wxMBConv& WXUNUSED(conv) = wxMBConvUTF8()) wxOVERRIDE
|
||||
{ return true; }
|
||||
|
||||
private:
|
||||
|
@@ -29,7 +29,7 @@ public:
|
||||
virtual ~wxCustomBackgroundWindow() { delete m_backgroundBrush; }
|
||||
|
||||
protected:
|
||||
virtual void DoSetBackgroundBitmap(const wxBitmap& bmp)
|
||||
virtual void DoSetBackgroundBitmap(const wxBitmap& bmp) wxOVERRIDE
|
||||
{
|
||||
delete m_backgroundBrush;
|
||||
m_backgroundBrush = bmp.IsOk() ? new wxBrush(bmp) : NULL;
|
||||
@@ -41,7 +41,7 @@ protected:
|
||||
|| BaseWindowClass::UseBgCol();
|
||||
}
|
||||
|
||||
virtual WXHBRUSH MSWGetCustomBgBrush()
|
||||
virtual WXHBRUSH MSWGetCustomBgBrush() wxOVERRIDE
|
||||
{
|
||||
if ( m_backgroundBrush )
|
||||
return (WXHBRUSH)m_backgroundBrush->GetResourceHandle();
|
||||
|
@@ -165,7 +165,7 @@ public:
|
||||
void OnPaint(wxPaintEvent&);
|
||||
void OnSetFocus(wxFocusEvent&);
|
||||
void OnKillFocus(wxFocusEvent&);
|
||||
virtual bool MSWTranslateMessage(WXMSG* pMsg);
|
||||
virtual bool MSWTranslateMessage(WXMSG* pMsg) wxOVERRIDE;
|
||||
virtual bool QueryClientSiteInterface(REFIID iid, void **_interface, const char *&desc);
|
||||
|
||||
protected:
|
||||
@@ -220,7 +220,7 @@ private:
|
||||
DISPID m_dispid;
|
||||
|
||||
public:
|
||||
virtual wxEvent *Clone() const
|
||||
virtual wxEvent *Clone() const wxOVERRIDE
|
||||
{ return new wxActiveXEvent(*this); }
|
||||
|
||||
size_t ParamCount() const;
|
||||
|
@@ -33,17 +33,17 @@ public:
|
||||
}
|
||||
|
||||
// implement base class pure virtuals
|
||||
virtual size_t GetDataSize() const;
|
||||
virtual bool GetDataHere(void *buf) const;
|
||||
virtual bool SetData(size_t len, const void *buf);
|
||||
virtual size_t GetDataSize() const wxOVERRIDE;
|
||||
virtual bool GetDataHere(void *buf) const wxOVERRIDE;
|
||||
virtual bool SetData(size_t len, const void *buf) wxOVERRIDE;
|
||||
|
||||
virtual size_t GetDataSize(const wxDataFormat& WXUNUSED(format)) const
|
||||
virtual size_t GetDataSize(const wxDataFormat& WXUNUSED(format)) const wxOVERRIDE
|
||||
{ return GetDataSize(); }
|
||||
virtual bool GetDataHere(const wxDataFormat& WXUNUSED(format),
|
||||
void *buf) const
|
||||
void *buf) const wxOVERRIDE
|
||||
{ return GetDataHere(buf); }
|
||||
virtual bool SetData(const wxDataFormat& WXUNUSED(format),
|
||||
size_t len, const void *buf)
|
||||
size_t len, const void *buf) wxOVERRIDE
|
||||
{ return SetData(len, buf); }
|
||||
|
||||
private:
|
||||
@@ -69,17 +69,17 @@ public:
|
||||
}
|
||||
|
||||
// implement base class pure virtuals
|
||||
virtual size_t GetDataSize() const;
|
||||
virtual bool GetDataHere(void *buf) const;
|
||||
virtual bool SetData(size_t len, const void *buf);
|
||||
virtual size_t GetDataSize() const wxOVERRIDE;
|
||||
virtual bool GetDataHere(void *buf) const wxOVERRIDE;
|
||||
virtual bool SetData(size_t len, const void *buf) wxOVERRIDE;
|
||||
|
||||
virtual size_t GetDataSize(const wxDataFormat& WXUNUSED(format)) const
|
||||
virtual size_t GetDataSize(const wxDataFormat& WXUNUSED(format)) const wxOVERRIDE
|
||||
{ return GetDataSize(); }
|
||||
virtual bool GetDataHere(const wxDataFormat& WXUNUSED(format),
|
||||
void *buf) const
|
||||
void *buf) const wxOVERRIDE
|
||||
{ return GetDataHere(buf); }
|
||||
virtual bool SetData(const wxDataFormat& WXUNUSED(format),
|
||||
size_t len, const void *buf)
|
||||
size_t len, const void *buf) wxOVERRIDE
|
||||
{ return SetData(len, buf); }
|
||||
|
||||
private:
|
||||
@@ -96,18 +96,18 @@ public:
|
||||
wxFileDataObject() { }
|
||||
|
||||
// implement base class pure virtuals
|
||||
virtual bool SetData(size_t len, const void *buf);
|
||||
virtual size_t GetDataSize() const;
|
||||
virtual bool GetDataHere(void *pData) const;
|
||||
virtual bool SetData(size_t len, const void *buf) wxOVERRIDE;
|
||||
virtual size_t GetDataSize() const wxOVERRIDE;
|
||||
virtual bool GetDataHere(void *pData) const wxOVERRIDE;
|
||||
virtual void AddFile(const wxString& file);
|
||||
|
||||
virtual size_t GetDataSize(const wxDataFormat& WXUNUSED(format)) const
|
||||
virtual size_t GetDataSize(const wxDataFormat& WXUNUSED(format)) const wxOVERRIDE
|
||||
{ return GetDataSize(); }
|
||||
virtual bool GetDataHere(const wxDataFormat& WXUNUSED(format),
|
||||
void *buf) const
|
||||
void *buf) const wxOVERRIDE
|
||||
{ return GetDataHere(buf); }
|
||||
virtual bool SetData(const wxDataFormat& WXUNUSED(format),
|
||||
size_t len, const void *buf)
|
||||
size_t len, const void *buf) wxOVERRIDE
|
||||
{ return SetData(len, buf); }
|
||||
|
||||
private:
|
||||
@@ -133,7 +133,7 @@ public:
|
||||
// override to set m_textFormat
|
||||
virtual bool SetData(const wxDataFormat& format,
|
||||
size_t len,
|
||||
const void *buf);
|
||||
const void *buf) wxOVERRIDE;
|
||||
|
||||
private:
|
||||
// last data object we got data in
|
||||
|
@@ -57,12 +57,12 @@ public:
|
||||
|
||||
// do it (call this in response to a mouse button press, for example)
|
||||
// params: if bAllowMove is false, data can be only copied
|
||||
virtual wxDragResult DoDragDrop(int flags = wxDrag_CopyOnly);
|
||||
virtual wxDragResult DoDragDrop(int flags = wxDrag_CopyOnly) wxOVERRIDE;
|
||||
|
||||
// overridable: you may give some custom UI feedback during d&d operation
|
||||
// in this function (it's called on each mouse move, so it shouldn't be
|
||||
// too slow). Just return false if you want default feedback.
|
||||
virtual bool GiveFeedback(wxDragResult effect);
|
||||
virtual bool GiveFeedback(wxDragResult effect) wxOVERRIDE;
|
||||
|
||||
protected:
|
||||
void Init();
|
||||
|
@@ -44,8 +44,8 @@ public:
|
||||
void Revoke(WXHWND hwnd);
|
||||
|
||||
// provide default implementation for base class pure virtuals
|
||||
virtual bool OnDrop(wxCoord x, wxCoord y);
|
||||
virtual bool GetData();
|
||||
virtual bool OnDrop(wxCoord x, wxCoord y) wxOVERRIDE;
|
||||
virtual bool GetData() wxOVERRIDE;
|
||||
|
||||
// Can only be called during OnXXX methods.
|
||||
wxDataFormat GetMatchingPair();
|
||||
|
@@ -124,9 +124,9 @@ private:
|
||||
|
||||
#define DECLARE_IUNKNOWN_METHODS \
|
||||
public: \
|
||||
STDMETHODIMP QueryInterface(REFIID, void **); \
|
||||
STDMETHODIMP_(ULONG) AddRef(); \
|
||||
STDMETHODIMP_(ULONG) Release(); \
|
||||
STDMETHODIMP QueryInterface(REFIID, void **) wxOVERRIDE; \
|
||||
STDMETHODIMP_(ULONG) AddRef() wxOVERRIDE; \
|
||||
STDMETHODIMP_(ULONG) Release() wxOVERRIDE; \
|
||||
private: \
|
||||
static const IID *ms_aIids[]; \
|
||||
wxAutoULong m_cRef
|
||||
@@ -239,15 +239,15 @@ public:
|
||||
CURRENCY GetValue() const { return m_value; }
|
||||
void SetValue(CURRENCY value) { m_value = value; }
|
||||
|
||||
virtual bool Eq(wxVariantData& data) const;
|
||||
virtual bool Eq(wxVariantData& data) const wxOVERRIDE;
|
||||
|
||||
#if wxUSE_STD_IOSTREAM
|
||||
virtual bool Write(wxSTD ostream& str) const;
|
||||
virtual bool Write(wxSTD ostream& str) const wxOVERRIDE;
|
||||
#endif
|
||||
virtual bool Write(wxString& str) const;
|
||||
virtual bool Write(wxString& str) const wxOVERRIDE;
|
||||
|
||||
wxVariantData* Clone() const { return new wxVariantDataCurrency(m_value); }
|
||||
virtual wxString GetType() const { return wxS("currency"); }
|
||||
wxVariantData* Clone() const wxOVERRIDE { return new wxVariantDataCurrency(m_value); }
|
||||
virtual wxString GetType() const wxOVERRIDE { return wxS("currency"); }
|
||||
|
||||
DECLARE_WXANY_CONVERSION()
|
||||
|
||||
@@ -265,15 +265,15 @@ public:
|
||||
SCODE GetValue() const { return m_value; }
|
||||
void SetValue(SCODE value) { m_value = value; }
|
||||
|
||||
virtual bool Eq(wxVariantData& data) const;
|
||||
virtual bool Eq(wxVariantData& data) const wxOVERRIDE;
|
||||
|
||||
#if wxUSE_STD_IOSTREAM
|
||||
virtual bool Write(wxSTD ostream& str) const;
|
||||
virtual bool Write(wxSTD ostream& str) const wxOVERRIDE;
|
||||
#endif
|
||||
virtual bool Write(wxString& str) const;
|
||||
virtual bool Write(wxString& str) const wxOVERRIDE;
|
||||
|
||||
wxVariantData* Clone() const { return new wxVariantDataErrorCode(m_value); }
|
||||
virtual wxString GetType() const { return wxS("errorcode"); }
|
||||
wxVariantData* Clone() const wxOVERRIDE { return new wxVariantDataErrorCode(m_value); }
|
||||
virtual wxString GetType() const wxOVERRIDE { return wxS("errorcode"); }
|
||||
|
||||
DECLARE_WXANY_CONVERSION()
|
||||
|
||||
@@ -293,15 +293,15 @@ public:
|
||||
SAFEARRAY* GetValue() const { return m_value; }
|
||||
void SetValue(SAFEARRAY* value) { m_value = value; }
|
||||
|
||||
virtual bool Eq(wxVariantData& data) const;
|
||||
virtual bool Eq(wxVariantData& data) const wxOVERRIDE;
|
||||
|
||||
#if wxUSE_STD_IOSTREAM
|
||||
virtual bool Write(wxSTD ostream& str) const;
|
||||
virtual bool Write(wxSTD ostream& str) const wxOVERRIDE;
|
||||
#endif
|
||||
virtual bool Write(wxString& str) const;
|
||||
virtual bool Write(wxString& str) const wxOVERRIDE;
|
||||
|
||||
wxVariantData* Clone() const { return new wxVariantDataSafeArray(m_value); }
|
||||
virtual wxString GetType() const { return wxS("safearray"); }
|
||||
wxVariantData* Clone() const wxOVERRIDE { return new wxVariantDataSafeArray(m_value); }
|
||||
virtual wxString GetType() const wxOVERRIDE { return wxS("safearray"); }
|
||||
|
||||
DECLARE_WXANY_CONVERSION()
|
||||
|
||||
|
@@ -309,7 +309,7 @@ protected:
|
||||
const wxFSWatchEntryMSW* watch;
|
||||
};
|
||||
|
||||
virtual ExitCode Entry();
|
||||
virtual ExitCode Entry() wxOVERRIDE;
|
||||
|
||||
// wait for events to occur, read them and send to interested parties
|
||||
// returns false it empty status was read, which means we would exit
|
||||
|
@@ -20,10 +20,10 @@ public:
|
||||
bool IsOpened() const { return m_hInput != INVALID_HANDLE_VALUE; }
|
||||
|
||||
// returns true if there is any data to be read from the pipe
|
||||
virtual bool CanRead() const;
|
||||
virtual bool CanRead() const wxOVERRIDE;
|
||||
|
||||
protected:
|
||||
virtual size_t OnSysRead(void *buffer, size_t len);
|
||||
virtual size_t OnSysRead(void *buffer, size_t len) wxOVERRIDE;
|
||||
|
||||
protected:
|
||||
HANDLE m_hInput;
|
||||
@@ -36,10 +36,10 @@ class wxPipeOutputStream: public wxOutputStream
|
||||
public:
|
||||
explicit wxPipeOutputStream(HANDLE hOutput);
|
||||
virtual ~wxPipeOutputStream() { Close(); }
|
||||
bool Close();
|
||||
bool Close() wxOVERRIDE;
|
||||
|
||||
protected:
|
||||
size_t OnSysWrite(const void *buffer, size_t len);
|
||||
size_t OnSysWrite(const void *buffer, size_t len) wxOVERRIDE;
|
||||
|
||||
protected:
|
||||
HANDLE m_hOutput;
|
||||
|
@@ -36,9 +36,9 @@ public:
|
||||
|
||||
virtual ~wxSocketImplMSW();
|
||||
|
||||
virtual wxSocketError GetLastError() const;
|
||||
virtual wxSocketError GetLastError() const wxOVERRIDE;
|
||||
|
||||
virtual void ReenableEvents(wxSocketEventFlags WXUNUSED(flags))
|
||||
virtual void ReenableEvents(wxSocketEventFlags WXUNUSED(flags)) wxOVERRIDE
|
||||
{
|
||||
// notifications are never disabled in this implementation, there is no
|
||||
// need for this as WSAAsyncSelect() only sends notification once when
|
||||
@@ -47,9 +47,9 @@ public:
|
||||
}
|
||||
|
||||
private:
|
||||
virtual void DoClose();
|
||||
virtual void DoClose() wxOVERRIDE;
|
||||
|
||||
virtual void UnblockAndRegisterWithEventLoop()
|
||||
virtual void UnblockAndRegisterWithEventLoop() wxOVERRIDE
|
||||
{
|
||||
// no need to make the socket non-blocking, Install_Callback() will do
|
||||
// it
|
||||
|
@@ -34,18 +34,18 @@ public:
|
||||
protected:
|
||||
void Init();
|
||||
|
||||
virtual void BeginMeasuring();
|
||||
virtual void EndMeasuring();
|
||||
virtual void BeginMeasuring() wxOVERRIDE;
|
||||
virtual void EndMeasuring() wxOVERRIDE;
|
||||
|
||||
virtual void DoGetTextExtent(const wxString& string,
|
||||
wxCoord *width,
|
||||
wxCoord *height,
|
||||
wxCoord *descent = NULL,
|
||||
wxCoord *externalLeading = NULL);
|
||||
wxCoord *externalLeading = NULL) wxOVERRIDE;
|
||||
|
||||
virtual bool DoGetPartialTextExtents(const wxString& text,
|
||||
wxArrayInt& widths,
|
||||
double scaleX);
|
||||
double scaleX) wxOVERRIDE;
|
||||
|
||||
|
||||
|
||||
|
@@ -20,10 +20,10 @@ class WXDLLIMPEXP_BASE wxMSWTimerImpl : public wxTimerImpl
|
||||
public:
|
||||
wxMSWTimerImpl(wxTimer *timer) : wxTimerImpl(timer) { m_id = 0; }
|
||||
|
||||
virtual bool Start(int milliseconds = -1, bool oneShot = false);
|
||||
virtual void Stop();
|
||||
virtual bool Start(int milliseconds = -1, bool oneShot = false) wxOVERRIDE;
|
||||
virtual void Stop() wxOVERRIDE;
|
||||
|
||||
virtual bool IsRunning() const { return m_id != 0; }
|
||||
virtual bool IsRunning() const wxOVERRIDE { return m_id != 0; }
|
||||
|
||||
protected:
|
||||
// this must be 64 bit under Win64 as WPARAM (storing timer ids) is 64 bit
|
||||
|
@@ -21,7 +21,7 @@ public:
|
||||
{ }
|
||||
|
||||
// overridden base class method showing the native task dialog if possible
|
||||
virtual int ShowModal();
|
||||
virtual int ShowModal() wxOVERRIDE;
|
||||
|
||||
private:
|
||||
wxDECLARE_DYNAMIC_CLASS_NO_COPY(wxRichMessageDialog);
|
||||
|
@@ -238,7 +238,7 @@ public:
|
||||
protected:
|
||||
#ifdef __WXMSW__
|
||||
virtual WXLRESULT
|
||||
MSWWindowProc(WXUINT nMsg, WXWPARAM wParam, WXLPARAM lParam);
|
||||
MSWWindowProc(WXUINT nMsg, WXWPARAM wParam, WXLPARAM lParam) wxOVERRIDE;
|
||||
#endif // __WXMSW__
|
||||
|
||||
private:
|
||||
|
@@ -64,7 +64,7 @@ public:
|
||||
|
||||
// default copy ctor, assignment operator and dtor are ok
|
||||
|
||||
virtual wxEvent *Clone() const { return new wxPowerEvent(*this); }
|
||||
virtual wxEvent *Clone() const wxOVERRIDE { return new wxPowerEvent(*this); }
|
||||
|
||||
private:
|
||||
bool m_veto;
|
||||
|
@@ -201,11 +201,11 @@ protected:
|
||||
virtual bool DoCombine(const wxRegion& region, wxRegionOp op) = 0;
|
||||
|
||||
// implement some wxRegionBase pure virtuals in terms of Combine()
|
||||
virtual bool DoUnionWithRect(const wxRect& rect);
|
||||
virtual bool DoUnionWithRegion(const wxRegion& region);
|
||||
virtual bool DoIntersect(const wxRegion& region);
|
||||
virtual bool DoSubtract(const wxRegion& region);
|
||||
virtual bool DoXor(const wxRegion& region);
|
||||
virtual bool DoUnionWithRect(const wxRect& rect) wxOVERRIDE;
|
||||
virtual bool DoUnionWithRegion(const wxRegion& region) wxOVERRIDE;
|
||||
virtual bool DoIntersect(const wxRegion& region) wxOVERRIDE;
|
||||
virtual bool DoSubtract(const wxRegion& region) wxOVERRIDE;
|
||||
virtual bool DoXor(const wxRegion& region) wxOVERRIDE;
|
||||
};
|
||||
|
||||
#endif // ports with wxRegion::Combine()
|
||||
|
@@ -418,7 +418,7 @@ public:
|
||||
const wxRect& rect,
|
||||
int flags = 0,
|
||||
wxHeaderSortIconType sortArrow = wxHDR_SORT_ICON_NONE,
|
||||
wxHeaderButtonParams* params = NULL)
|
||||
wxHeaderButtonParams* params = NULL) wxOVERRIDE
|
||||
{ return m_rendererNative.DrawHeaderButton(win, dc, rect, flags, sortArrow, params); }
|
||||
|
||||
virtual int DrawHeaderButtonContents(wxWindow *win,
|
||||
@@ -426,25 +426,25 @@ public:
|
||||
const wxRect& rect,
|
||||
int flags = 0,
|
||||
wxHeaderSortIconType sortArrow = wxHDR_SORT_ICON_NONE,
|
||||
wxHeaderButtonParams* params = NULL)
|
||||
wxHeaderButtonParams* params = NULL) wxOVERRIDE
|
||||
{ return m_rendererNative.DrawHeaderButtonContents(win, dc, rect, flags, sortArrow, params); }
|
||||
|
||||
virtual int GetHeaderButtonHeight(wxWindow *win)
|
||||
virtual int GetHeaderButtonHeight(wxWindow *win) wxOVERRIDE
|
||||
{ return m_rendererNative.GetHeaderButtonHeight(win); }
|
||||
|
||||
virtual int GetHeaderButtonMargin(wxWindow *win)
|
||||
virtual int GetHeaderButtonMargin(wxWindow *win) wxOVERRIDE
|
||||
{ return m_rendererNative.GetHeaderButtonMargin(win); }
|
||||
|
||||
virtual void DrawTreeItemButton(wxWindow *win,
|
||||
wxDC& dc,
|
||||
const wxRect& rect,
|
||||
int flags = 0)
|
||||
int flags = 0) wxOVERRIDE
|
||||
{ m_rendererNative.DrawTreeItemButton(win, dc, rect, flags); }
|
||||
|
||||
virtual void DrawSplitterBorder(wxWindow *win,
|
||||
wxDC& dc,
|
||||
const wxRect& rect,
|
||||
int flags = 0)
|
||||
int flags = 0) wxOVERRIDE
|
||||
{ m_rendererNative.DrawSplitterBorder(win, dc, rect, flags); }
|
||||
|
||||
virtual void DrawSplitterSash(wxWindow *win,
|
||||
@@ -452,80 +452,80 @@ public:
|
||||
const wxSize& size,
|
||||
wxCoord position,
|
||||
wxOrientation orient,
|
||||
int flags = 0)
|
||||
int flags = 0) wxOVERRIDE
|
||||
{ m_rendererNative.DrawSplitterSash(win, dc, size,
|
||||
position, orient, flags); }
|
||||
|
||||
virtual void DrawComboBoxDropButton(wxWindow *win,
|
||||
wxDC& dc,
|
||||
const wxRect& rect,
|
||||
int flags = 0)
|
||||
int flags = 0) wxOVERRIDE
|
||||
{ m_rendererNative.DrawComboBoxDropButton(win, dc, rect, flags); }
|
||||
|
||||
virtual void DrawDropArrow(wxWindow *win,
|
||||
wxDC& dc,
|
||||
const wxRect& rect,
|
||||
int flags = 0)
|
||||
int flags = 0) wxOVERRIDE
|
||||
{ m_rendererNative.DrawDropArrow(win, dc, rect, flags); }
|
||||
|
||||
virtual void DrawCheckBox(wxWindow *win,
|
||||
wxDC& dc,
|
||||
const wxRect& rect,
|
||||
int flags = 0)
|
||||
int flags = 0) wxOVERRIDE
|
||||
{ m_rendererNative.DrawCheckBox( win, dc, rect, flags ); }
|
||||
|
||||
virtual wxSize GetCheckBoxSize(wxWindow *win)
|
||||
virtual wxSize GetCheckBoxSize(wxWindow *win) wxOVERRIDE
|
||||
{ return m_rendererNative.GetCheckBoxSize(win); }
|
||||
|
||||
virtual void DrawPushButton(wxWindow *win,
|
||||
wxDC& dc,
|
||||
const wxRect& rect,
|
||||
int flags = 0)
|
||||
int flags = 0) wxOVERRIDE
|
||||
{ m_rendererNative.DrawPushButton( win, dc, rect, flags ); }
|
||||
|
||||
virtual void DrawCollapseButton(wxWindow *win,
|
||||
wxDC& dc,
|
||||
const wxRect& rect,
|
||||
int flags = 0)
|
||||
int flags = 0) wxOVERRIDE
|
||||
{ m_rendererNative.DrawCollapseButton(win, dc, rect, flags); }
|
||||
|
||||
virtual wxSize GetCollapseButtonSize(wxWindow *win, wxDC& dc)
|
||||
virtual wxSize GetCollapseButtonSize(wxWindow *win, wxDC& dc) wxOVERRIDE
|
||||
{ return m_rendererNative.GetCollapseButtonSize(win, dc); }
|
||||
|
||||
virtual void DrawItemSelectionRect(wxWindow *win,
|
||||
wxDC& dc,
|
||||
const wxRect& rect,
|
||||
int flags = 0)
|
||||
int flags = 0) wxOVERRIDE
|
||||
{ m_rendererNative.DrawItemSelectionRect( win, dc, rect, flags ); }
|
||||
|
||||
virtual void DrawFocusRect(wxWindow* win,
|
||||
wxDC& dc,
|
||||
const wxRect& rect,
|
||||
int flags = 0)
|
||||
int flags = 0) wxOVERRIDE
|
||||
{ m_rendererNative.DrawFocusRect( win, dc, rect, flags ); }
|
||||
|
||||
virtual void DrawChoice(wxWindow* win,
|
||||
wxDC& dc,
|
||||
const wxRect& rect,
|
||||
int flags = 0)
|
||||
int flags = 0) wxOVERRIDE
|
||||
{ m_rendererNative.DrawChoice( win, dc, rect, flags); }
|
||||
|
||||
virtual void DrawComboBox(wxWindow* win,
|
||||
wxDC& dc,
|
||||
const wxRect& rect,
|
||||
int flags = 0)
|
||||
int flags = 0) wxOVERRIDE
|
||||
{ m_rendererNative.DrawComboBox( win, dc, rect, flags); }
|
||||
|
||||
virtual void DrawTextCtrl(wxWindow* win,
|
||||
wxDC& dc,
|
||||
const wxRect& rect,
|
||||
int flags = 0)
|
||||
int flags = 0) wxOVERRIDE
|
||||
{ m_rendererNative.DrawTextCtrl( win, dc, rect, flags); }
|
||||
|
||||
virtual void DrawRadioBitmap(wxWindow* win,
|
||||
wxDC& dc,
|
||||
const wxRect& rect,
|
||||
int flags = 0)
|
||||
int flags = 0) wxOVERRIDE
|
||||
{ m_rendererNative.DrawRadioBitmap(win, dc, rect, flags); }
|
||||
|
||||
#ifdef wxHAS_DRAW_TITLE_BAR_BITMAP
|
||||
@@ -533,7 +533,7 @@ public:
|
||||
wxDC& dc,
|
||||
const wxRect& rect,
|
||||
wxTitleBarButton button,
|
||||
int flags = 0)
|
||||
int flags = 0) wxOVERRIDE
|
||||
{ m_rendererNative.DrawTitleBarBitmap(win, dc, rect, button, flags); }
|
||||
#endif // wxHAS_DRAW_TITLE_BAR_BITMAP
|
||||
|
||||
@@ -542,7 +542,7 @@ public:
|
||||
const wxRect& rect,
|
||||
int value,
|
||||
int max,
|
||||
int flags = 0)
|
||||
int flags = 0) wxOVERRIDE
|
||||
{ m_rendererNative.DrawGauge(win, dc, rect, value, max, flags); }
|
||||
|
||||
virtual void DrawItemText(wxWindow* win,
|
||||
@@ -551,13 +551,13 @@ public:
|
||||
const wxRect& rect,
|
||||
int align = wxALIGN_LEFT | wxALIGN_TOP,
|
||||
int flags = 0,
|
||||
wxEllipsizeMode ellipsizeMode = wxELLIPSIZE_END)
|
||||
wxEllipsizeMode ellipsizeMode = wxELLIPSIZE_END) wxOVERRIDE
|
||||
{ m_rendererNative.DrawItemText(win, dc, text, rect, align, flags, ellipsizeMode); }
|
||||
|
||||
virtual wxSplitterRenderParams GetSplitterParams(const wxWindow *win)
|
||||
virtual wxSplitterRenderParams GetSplitterParams(const wxWindow *win) wxOVERRIDE
|
||||
{ return m_rendererNative.GetSplitterParams(win); }
|
||||
|
||||
virtual wxRendererVersion GetVersion() const
|
||||
virtual wxRendererVersion GetVersion() const wxOVERRIDE
|
||||
{ return m_rendererNative.GetVersion(); }
|
||||
|
||||
protected:
|
||||
|
@@ -124,11 +124,11 @@ public:
|
||||
void CalculateScaling(wxDC* dc, wxRect& textRect, wxRect& headerRect, wxRect& footerRect);
|
||||
|
||||
// wxPrintout virtual functions
|
||||
virtual bool OnPrintPage(int page);
|
||||
virtual bool HasPage(int page);
|
||||
virtual void GetPageInfo(int *minPage, int *maxPage, int *selPageFrom, int *selPageTo);
|
||||
virtual bool OnBeginDocument(int startPage, int endPage);
|
||||
virtual void OnPreparePrinting();
|
||||
virtual bool OnPrintPage(int page) wxOVERRIDE;
|
||||
virtual bool HasPage(int page) wxOVERRIDE;
|
||||
virtual void GetPageInfo(int *minPage, int *maxPage, int *selPageFrom, int *selPageTo) wxOVERRIDE;
|
||||
virtual bool OnBeginDocument(int startPage, int endPage) wxOVERRIDE;
|
||||
virtual void OnPreparePrinting() wxOVERRIDE;
|
||||
|
||||
private:
|
||||
|
||||
|
@@ -53,7 +53,7 @@ public:
|
||||
virtual void SetThumbPosition(int viewStart) = 0;
|
||||
virtual void SetScrollbar(int position, int thumbSize,
|
||||
int range, int pageSize,
|
||||
bool refresh = true) = 0;
|
||||
bool refresh = true) wxOVERRIDE = 0;
|
||||
|
||||
// implementation-only
|
||||
bool IsNeeded() const { return GetRange() > GetThumbSize(); }
|
||||
|
@@ -431,13 +431,13 @@ public:
|
||||
#ifdef __WXMSW__
|
||||
// we need to return a special WM_GETDLGCODE value to process just the
|
||||
// arrows but let the other navigation characters through
|
||||
virtual WXLRESULT MSWWindowProc(WXUINT nMsg, WXWPARAM wParam, WXLPARAM lParam)
|
||||
virtual WXLRESULT MSWWindowProc(WXUINT nMsg, WXWPARAM wParam, WXLPARAM lParam) wxOVERRIDE
|
||||
{
|
||||
return FilterMSWWindowProc(nMsg, T::MSWWindowProc(nMsg, wParam, lParam));
|
||||
}
|
||||
|
||||
// Take into account the scroll origin.
|
||||
virtual void MSWAdjustBrushOrg(int* xOrg, int* yOrg) const
|
||||
virtual void MSWAdjustBrushOrg(int* xOrg, int* yOrg) const wxOVERRIDE
|
||||
{
|
||||
CalcUnscrolledPosition(*xOrg, *yOrg, xOrg, yOrg);
|
||||
}
|
||||
|
@@ -5356,7 +5356,7 @@ public:
|
||||
bool GetControl() const;
|
||||
bool GetAlt() const;
|
||||
|
||||
virtual wxEvent* Clone() const { return new wxStyledTextEvent(*this); }
|
||||
virtual wxEvent* Clone() const wxOVERRIDE { return new wxStyledTextEvent(*this); }
|
||||
|
||||
#ifndef SWIG
|
||||
private:
|
||||
|
@@ -44,8 +44,8 @@ public:
|
||||
// Must be implemented to return all the completions for the given prefix.
|
||||
virtual void GetCompletions(const wxString& prefix, wxArrayString& res) = 0;
|
||||
|
||||
virtual bool Start(const wxString& prefix);
|
||||
virtual wxString GetNext();
|
||||
virtual bool Start(const wxString& prefix) wxOVERRIDE;
|
||||
virtual wxString GetNext() wxOVERRIDE;
|
||||
|
||||
private:
|
||||
wxArrayString m_completions;
|
||||
@@ -72,7 +72,7 @@ public:
|
||||
}
|
||||
|
||||
virtual void GetCompletions(const wxString& WXUNUSED(prefix),
|
||||
wxArrayString& res)
|
||||
wxArrayString& res) wxOVERRIDE
|
||||
{
|
||||
res = m_strings;
|
||||
}
|
||||
|
@@ -227,9 +227,9 @@ class WXDLLIMPEXP_BASE wxResourceTranslationsLoader
|
||||
{
|
||||
public:
|
||||
virtual wxMsgCatalog *LoadCatalog(const wxString& domain,
|
||||
const wxString& lang);
|
||||
const wxString& lang) wxOVERRIDE;
|
||||
|
||||
virtual wxArrayString GetAvailableTranslations(const wxString& domain) const;
|
||||
virtual wxArrayString GetAvailableTranslations(const wxString& domain) const wxOVERRIDE;
|
||||
|
||||
protected:
|
||||
// returns resource type to use for translations
|
||||
|
@@ -157,7 +157,7 @@ public:
|
||||
SetMax(max);
|
||||
}
|
||||
|
||||
virtual bool TransferToWindow()
|
||||
virtual bool TransferToWindow() wxOVERRIDE
|
||||
{
|
||||
if ( m_value )
|
||||
{
|
||||
@@ -171,7 +171,7 @@ public:
|
||||
return true;
|
||||
}
|
||||
|
||||
virtual bool TransferFromWindow()
|
||||
virtual bool TransferFromWindow() wxOVERRIDE
|
||||
{
|
||||
if ( m_value )
|
||||
{
|
||||
@@ -204,7 +204,7 @@ protected:
|
||||
|
||||
// Implement wxNumValidatorBase virtual method which is the same for
|
||||
// both integer and floating point numbers.
|
||||
virtual wxString NormalizeString(const wxString& s) const
|
||||
virtual wxString NormalizeString(const wxString& s) const wxOVERRIDE
|
||||
{
|
||||
LongestValueType value;
|
||||
return BaseValidator::FromString(s, &value) ? NormalizeValue(value)
|
||||
@@ -312,7 +312,7 @@ public:
|
||||
this->DoSetMax(std::numeric_limits<ValueType>::max());
|
||||
}
|
||||
|
||||
virtual wxObject *Clone() const { return new wxIntegerValidator(*this); }
|
||||
virtual wxObject *Clone() const wxOVERRIDE { return new wxIntegerValidator(*this); }
|
||||
|
||||
private:
|
||||
wxDECLARE_NO_ASSIGN_CLASS(wxIntegerValidator);
|
||||
@@ -417,7 +417,7 @@ public:
|
||||
this->SetPrecision(precision);
|
||||
}
|
||||
|
||||
virtual wxObject *Clone() const
|
||||
virtual wxObject *Clone() const wxOVERRIDE
|
||||
{
|
||||
return new wxFloatingPointValidator(*this);
|
||||
}
|
||||
|
Reference in New Issue
Block a user