More use of wxOVERRIDE
This commit is contained in:
@@ -128,13 +128,13 @@ public:
|
||||
|
||||
virtual ~wxBitmap() {}
|
||||
|
||||
wxImage ConvertToImage() const;
|
||||
wxImage ConvertToImage() const wxOVERRIDE;
|
||||
|
||||
// get the given part of bitmap
|
||||
wxBitmap GetSubBitmap( const wxRect& rect ) const;
|
||||
wxBitmap GetSubBitmap( const wxRect& rect ) const wxOVERRIDE;
|
||||
|
||||
virtual bool Create(int width, int height, int depth = wxBITMAP_SCREEN_DEPTH);
|
||||
virtual bool Create(const wxSize& sz, int depth = wxBITMAP_SCREEN_DEPTH)
|
||||
virtual bool Create(int width, int height, int depth = wxBITMAP_SCREEN_DEPTH) wxOVERRIDE;
|
||||
virtual bool Create(const wxSize& sz, int depth = wxBITMAP_SCREEN_DEPTH) wxOVERRIDE
|
||||
{ return Create(sz.GetWidth(), sz.GetHeight(), depth); }
|
||||
|
||||
virtual bool Create(const void* data, wxBitmapType type, int width, int height, int depth = 1);
|
||||
@@ -146,7 +146,7 @@ public:
|
||||
bool Create(int width, int height, const wxDC& dc);
|
||||
|
||||
// Create a bitmap with a scale factor, width and height are multiplied with that factor
|
||||
bool CreateScaled(int logwidth, int logheight, int depth, double logicalScale);
|
||||
bool CreateScaled(int logwidth, int logheight, int depth, double logicalScale) wxOVERRIDE;
|
||||
|
||||
// virtual bool Create( WXHICON icon) ;
|
||||
virtual bool LoadFile(const wxString& name, wxBitmapType type = wxBITMAP_DEFAULT_TYPE);
|
||||
@@ -159,28 +159,28 @@ public:
|
||||
{ return (wxBitmapRefData *)m_refData; }
|
||||
|
||||
// copies the contents and mask of the given (colour) icon to the bitmap
|
||||
virtual bool CopyFromIcon(const wxIcon& icon);
|
||||
virtual bool CopyFromIcon(const wxIcon& icon) wxOVERRIDE;
|
||||
|
||||
int GetWidth() const;
|
||||
int GetHeight() const;
|
||||
int GetDepth() const;
|
||||
int GetWidth() const wxOVERRIDE;
|
||||
int GetHeight() const wxOVERRIDE;
|
||||
int GetDepth() const wxOVERRIDE;
|
||||
|
||||
#if WXWIN_COMPATIBILITY_3_0
|
||||
wxDEPRECATED_MSG("this value is determined during creation, this method could lead to inconsistencies")
|
||||
void SetWidth(int width);
|
||||
void SetWidth(int width) wxOVERRIDE;
|
||||
wxDEPRECATED_MSG("this value is determined during creation, this method could lead to inconsistencies")
|
||||
void SetHeight(int height);
|
||||
void SetHeight(int height) wxOVERRIDE;
|
||||
wxDEPRECATED_MSG("this value is determined during creation, this method could lead to inconsistencies")
|
||||
void SetDepth(int depth);
|
||||
void SetDepth(int depth) wxOVERRIDE;
|
||||
#endif
|
||||
|
||||
#if wxUSE_PALETTE
|
||||
wxPalette* GetPalette() const;
|
||||
void SetPalette(const wxPalette& palette);
|
||||
wxPalette* GetPalette() const wxOVERRIDE;
|
||||
void SetPalette(const wxPalette& palette) wxOVERRIDE;
|
||||
#endif // wxUSE_PALETTE
|
||||
|
||||
wxMask *GetMask() const;
|
||||
void SetMask(wxMask *mask) ;
|
||||
wxMask *GetMask() const wxOVERRIDE;
|
||||
void SetMask(wxMask *mask) wxOVERRIDE;
|
||||
|
||||
static void InitStandardHandlers();
|
||||
|
||||
@@ -233,14 +233,14 @@ public:
|
||||
void EndRawAccess();
|
||||
#endif
|
||||
|
||||
double GetScaleFactor() const;
|
||||
double GetScaleFactor() const wxOVERRIDE;
|
||||
|
||||
void SetSelectedInto(wxDC *dc);
|
||||
wxDC *GetSelectedInto() const;
|
||||
|
||||
protected:
|
||||
virtual wxGDIRefData *CreateGDIRefData() const;
|
||||
virtual wxGDIRefData *CloneGDIRefData(const wxGDIRefData *data) const;
|
||||
virtual wxGDIRefData *CreateGDIRefData() const wxOVERRIDE;
|
||||
virtual wxGDIRefData *CloneGDIRefData(const wxGDIRefData *data) const wxOVERRIDE;
|
||||
};
|
||||
|
||||
#endif // _WX_BITMAP_H_
|
||||
|
@@ -39,7 +39,7 @@ public:
|
||||
|
||||
protected:
|
||||
|
||||
virtual wxSize DoGetBestSize() const;
|
||||
virtual wxSize DoGetBestSize() const wxOVERRIDE;
|
||||
|
||||
wxDECLARE_DYNAMIC_CLASS(wxBitmapButton);
|
||||
};
|
||||
|
@@ -26,17 +26,17 @@ public:
|
||||
wxBrush(const wxBitmap& stipple);
|
||||
virtual ~wxBrush();
|
||||
|
||||
virtual void SetColour(const wxColour& col) ;
|
||||
virtual void SetColour(unsigned char r, unsigned char g, unsigned char b) ;
|
||||
virtual void SetStyle(wxBrushStyle style) ;
|
||||
virtual void SetStipple(const wxBitmap& stipple) ;
|
||||
virtual void SetColour(const wxColour& col) wxOVERRIDE;
|
||||
virtual void SetColour(unsigned char r, unsigned char g, unsigned char b) wxOVERRIDE;
|
||||
virtual void SetStyle(wxBrushStyle style) wxOVERRIDE;
|
||||
virtual void SetStipple(const wxBitmap& stipple) wxOVERRIDE;
|
||||
|
||||
bool operator==(const wxBrush& brush) const;
|
||||
bool operator!=(const wxBrush& brush) const { return !(*this == brush); }
|
||||
|
||||
wxColour GetColour() const;
|
||||
wxBrushStyle GetStyle() const ;
|
||||
wxBitmap *GetStipple() const ;
|
||||
wxColour GetColour() const wxOVERRIDE;
|
||||
wxBrushStyle GetStyle() const wxOVERRIDE;
|
||||
wxBitmap *GetStipple() const wxOVERRIDE;
|
||||
|
||||
|
||||
wxDEPRECATED_MSG("use wxBRUSHSTYLE_XXX constants")
|
||||
@@ -46,8 +46,8 @@ public:
|
||||
void SetStyle(int style) { SetStyle((wxBrushStyle)style); }
|
||||
|
||||
protected:
|
||||
virtual wxGDIRefData *CreateGDIRefData() const;
|
||||
virtual wxGDIRefData *CloneGDIRefData(const wxGDIRefData *data) const;
|
||||
virtual wxGDIRefData *CreateGDIRefData() const wxOVERRIDE;
|
||||
virtual wxGDIRefData *CloneGDIRefData(const wxGDIRefData *data) const wxOVERRIDE;
|
||||
|
||||
private:
|
||||
wxDECLARE_DYNAMIC_CLASS(wxBrush);
|
||||
|
@@ -40,13 +40,13 @@ public:
|
||||
const wxValidator& validator = wxDefaultValidator,
|
||||
const wxString& name = wxButtonNameStr);
|
||||
|
||||
virtual void SetLabel(const wxString& label);
|
||||
virtual wxWindow *SetDefault();
|
||||
virtual void Command(wxCommandEvent& event);
|
||||
virtual void SetLabel(const wxString& label) wxOVERRIDE;
|
||||
virtual wxWindow *SetDefault() wxOVERRIDE;
|
||||
virtual void Command(wxCommandEvent& event) wxOVERRIDE;
|
||||
|
||||
// osx specific event handling common for all osx-ports
|
||||
|
||||
virtual bool OSXHandleClicked( double timestampsec );
|
||||
virtual bool OSXHandleClicked(double timestampsec) wxOVERRIDE;
|
||||
|
||||
#if wxOSX_USE_COCOA
|
||||
void OSXUpdateAfterLabelChange(const wxString& label);
|
||||
|
@@ -23,13 +23,13 @@ public:
|
||||
wxOSXPrintData();
|
||||
virtual ~wxOSXPrintData();
|
||||
|
||||
virtual bool TransferTo( wxPrintData &data );
|
||||
virtual bool TransferFrom( const wxPrintData &data );
|
||||
virtual bool TransferTo( wxPrintData &data ) wxOVERRIDE;
|
||||
virtual bool TransferFrom( const wxPrintData &data ) wxOVERRIDE;
|
||||
|
||||
virtual bool IsOk() const ;
|
||||
virtual bool IsOk() const wxOVERRIDE;
|
||||
|
||||
virtual void TransferFrom( const wxPageSetupDialogData * );
|
||||
virtual void TransferTo( wxPageSetupDialogData * );
|
||||
virtual void TransferFrom( const wxPageSetupDialogData * ) wxOVERRIDE;
|
||||
virtual void TransferTo( wxPageSetupDialogData * ) wxOVERRIDE;
|
||||
|
||||
virtual void TransferFrom( const wxPrintDialogData * );
|
||||
virtual void TransferTo( wxPrintDialogData * );
|
||||
@@ -69,8 +69,8 @@ public:
|
||||
|
||||
WX_NSPrintInfo GetNSPrintInfo() { return m_macPrintInfo; }
|
||||
protected:
|
||||
virtual void UpdateFromPMState();
|
||||
virtual void UpdateToPMState();
|
||||
virtual void UpdateFromPMState() wxOVERRIDE;
|
||||
virtual void UpdateToPMState() wxOVERRIDE;
|
||||
|
||||
WX_NSPrintInfo m_macPrintInfo;
|
||||
private:
|
||||
|
@@ -37,24 +37,24 @@ public:
|
||||
virtual ~wxRegion();
|
||||
|
||||
// wxRegionBase methods
|
||||
virtual void Clear();
|
||||
virtual bool IsEmpty() const;
|
||||
virtual void Clear() wxOVERRIDE;
|
||||
virtual bool IsEmpty() const wxOVERRIDE;
|
||||
|
||||
// Internal
|
||||
WXHRGN GetWXHRGN() const ;
|
||||
|
||||
protected:
|
||||
virtual wxGDIRefData *CreateGDIRefData() const;
|
||||
virtual wxGDIRefData *CloneGDIRefData(const wxGDIRefData *data) const;
|
||||
virtual wxGDIRefData *CreateGDIRefData() const wxOVERRIDE;
|
||||
virtual wxGDIRefData *CloneGDIRefData(const wxGDIRefData *data) const wxOVERRIDE;
|
||||
|
||||
virtual bool DoIsEqual(const wxRegion& region) const;
|
||||
virtual bool DoGetBox(wxCoord& x, wxCoord& y, wxCoord& w, wxCoord& h) const;
|
||||
virtual wxRegionContain DoContainsPoint(wxCoord x, wxCoord y) const;
|
||||
virtual wxRegionContain DoContainsRect(const wxRect& rect) const;
|
||||
virtual bool DoIsEqual(const wxRegion& region) const wxOVERRIDE;
|
||||
virtual bool DoGetBox(wxCoord& x, wxCoord& y, wxCoord& w, wxCoord& h) const wxOVERRIDE;
|
||||
virtual wxRegionContain DoContainsPoint(wxCoord x, wxCoord y) const wxOVERRIDE;
|
||||
virtual wxRegionContain DoContainsRect(const wxRect& rect) const wxOVERRIDE;
|
||||
|
||||
virtual bool DoOffset(wxCoord x, wxCoord y);
|
||||
virtual bool DoCombine(const wxRegion& region, wxRegionOp op);
|
||||
virtual bool DoUnionWithRect(const wxRect& rect);
|
||||
virtual bool DoOffset(wxCoord x, wxCoord y) wxOVERRIDE;
|
||||
virtual bool DoCombine(const wxRegion& region, wxRegionOp op) wxOVERRIDE;
|
||||
virtual bool DoUnionWithRect(const wxRect& rect) wxOVERRIDE;
|
||||
|
||||
private:
|
||||
wxDECLARE_DYNAMIC_CLASS(wxRegion);
|
||||
|
@@ -30,17 +30,17 @@ public:
|
||||
const wxSize& size = wxDefaultSize, long style = 0,
|
||||
const wxValidator& validator = wxDefaultValidator,
|
||||
const wxString& name = wxCheckBoxNameStr);
|
||||
virtual void SetValue(bool);
|
||||
virtual bool GetValue() const;
|
||||
virtual void SetValue(bool) wxOVERRIDE;
|
||||
virtual bool GetValue() const wxOVERRIDE;
|
||||
|
||||
virtual void Command(wxCommandEvent& event);
|
||||
virtual void Command(wxCommandEvent& event) wxOVERRIDE;
|
||||
|
||||
// osx specific event handling common for all osx-ports
|
||||
|
||||
virtual bool OSXHandleClicked( double timestampsec );
|
||||
virtual bool OSXHandleClicked( double timestampsec ) wxOVERRIDE;
|
||||
protected:
|
||||
void DoSet3StateValue(wxCheckBoxState val);
|
||||
virtual wxCheckBoxState DoGet3StateValue() const;
|
||||
void DoSet3StateValue(wxCheckBoxState val) wxOVERRIDE;
|
||||
virtual wxCheckBoxState DoGet3StateValue() const wxOVERRIDE;
|
||||
|
||||
wxDECLARE_DYNAMIC_CLASS(wxCheckBox);
|
||||
};
|
||||
@@ -70,10 +70,10 @@ public:
|
||||
const wxSize& size = wxDefaultSize, long style = 0,
|
||||
const wxValidator& validator = wxDefaultValidator,
|
||||
const wxString& name = wxCheckBoxNameStr);
|
||||
virtual void SetValue(bool);
|
||||
virtual bool GetValue() const;
|
||||
virtual void SetValue(bool) wxOVERRIDE;
|
||||
virtual bool GetValue() const wxOVERRIDE;
|
||||
virtual void SetLabel(const wxBitmap *bitmap);
|
||||
virtual void SetLabel( const wxString & WXUNUSED(name) ) {}
|
||||
virtual void SetLabel( const wxString & WXUNUSED(name) ) wxOVERRIDE {}
|
||||
|
||||
wxDECLARE_DYNAMIC_CLASS(wxBitmapCheckBox);
|
||||
};
|
||||
|
@@ -66,28 +66,28 @@ public:
|
||||
const wxValidator& validator = wxDefaultValidator,
|
||||
const wxString& name = wxChoiceNameStr);
|
||||
|
||||
virtual unsigned int GetCount() const ;
|
||||
virtual int GetSelection() const ;
|
||||
virtual void SetSelection(int n);
|
||||
virtual unsigned int GetCount() const wxOVERRIDE;
|
||||
virtual int GetSelection() const wxOVERRIDE;
|
||||
virtual void SetSelection(int n) wxOVERRIDE;
|
||||
|
||||
virtual int FindString(const wxString& s, bool bCase = false) const;
|
||||
virtual wxString GetString(unsigned int n) const ;
|
||||
virtual void SetString(unsigned int pos, const wxString& s);
|
||||
virtual int FindString(const wxString& s, bool bCase = false) const wxOVERRIDE;
|
||||
virtual wxString GetString(unsigned int n) const wxOVERRIDE;
|
||||
virtual void SetString(unsigned int pos, const wxString& s) wxOVERRIDE;
|
||||
// osx specific event handling common for all osx-ports
|
||||
|
||||
virtual bool OSXHandleClicked( double timestampsec );
|
||||
virtual bool OSXHandleClicked(double timestampsec) wxOVERRIDE;
|
||||
|
||||
protected:
|
||||
virtual void DoDeleteOneItem(unsigned int n);
|
||||
virtual void DoClear();
|
||||
virtual void DoDeleteOneItem(unsigned int n) wxOVERRIDE;
|
||||
virtual void DoClear() wxOVERRIDE;
|
||||
|
||||
virtual wxSize DoGetBestSize() const ;
|
||||
virtual wxSize DoGetBestSize() const wxOVERRIDE;
|
||||
virtual int DoInsertItems(const wxArrayStringsAdapter& items,
|
||||
unsigned int pos,
|
||||
void **clientData, wxClientDataType type);
|
||||
void **clientData, wxClientDataType type) wxOVERRIDE;
|
||||
|
||||
virtual void DoSetItemClientData(unsigned int n, void* clientData);
|
||||
virtual void* DoGetItemClientData(unsigned int n) const;
|
||||
virtual void DoSetItemClientData(unsigned int n, void* clientData) wxOVERRIDE;
|
||||
virtual void* DoGetItemClientData(unsigned int n) const wxOVERRIDE;
|
||||
|
||||
wxArrayString m_strings;
|
||||
wxChoiceDataArray m_datas ;
|
||||
|
@@ -26,33 +26,33 @@ public:
|
||||
virtual ~wxClipboard();
|
||||
|
||||
// open the clipboard before SetData() and GetData()
|
||||
virtual bool Open();
|
||||
virtual bool Open() wxOVERRIDE;
|
||||
|
||||
// close the clipboard after SetData() and GetData()
|
||||
virtual void Close();
|
||||
virtual void Close() wxOVERRIDE;
|
||||
|
||||
// query whether the clipboard is opened
|
||||
virtual bool IsOpened() const;
|
||||
virtual bool IsOpened() const wxOVERRIDE;
|
||||
|
||||
// set the clipboard data. all other formats will be deleted.
|
||||
virtual bool SetData( wxDataObject *data );
|
||||
virtual bool SetData( wxDataObject *data ) wxOVERRIDE;
|
||||
|
||||
// add to the clipboard data.
|
||||
virtual bool AddData( wxDataObject *data );
|
||||
virtual bool AddData( wxDataObject *data ) wxOVERRIDE;
|
||||
|
||||
// ask if data in correct format is available
|
||||
virtual bool IsSupported( const wxDataFormat& format );
|
||||
virtual bool IsSupported( const wxDataFormat& format ) wxOVERRIDE;
|
||||
|
||||
// fill data with data on the clipboard (if available)
|
||||
virtual bool GetData( wxDataObject& data );
|
||||
virtual bool GetData( wxDataObject& data ) wxOVERRIDE;
|
||||
|
||||
// clears wxTheClipboard and the system's clipboard if possible
|
||||
virtual void Clear();
|
||||
virtual void Clear() wxOVERRIDE;
|
||||
|
||||
// flushes the clipboard: this means that the data which is currently on
|
||||
// clipboard will stay available even after the application exits (possibly
|
||||
// eating memory), otherwise the clipboard will be emptied on exit
|
||||
virtual bool Flush();
|
||||
virtual bool Flush() wxOVERRIDE;
|
||||
|
||||
private:
|
||||
wxDataObject *m_data;
|
||||
|
@@ -20,18 +20,18 @@ public:
|
||||
|
||||
void EndModalSession();
|
||||
|
||||
virtual void WakeUp();
|
||||
virtual void WakeUp() wxOVERRIDE;
|
||||
|
||||
void OSXUseLowLevelWakeup(bool useIt)
|
||||
{ m_osxLowLevelWakeUp = useIt ; }
|
||||
|
||||
protected:
|
||||
virtual int DoDispatchTimeout(unsigned long timeout);
|
||||
virtual int DoDispatchTimeout(unsigned long timeout) wxOVERRIDE;
|
||||
|
||||
virtual void OSXDoRun();
|
||||
virtual void OSXDoStop();
|
||||
virtual void OSXDoRun() wxOVERRIDE;
|
||||
virtual void OSXDoStop() wxOVERRIDE;
|
||||
|
||||
virtual CFRunLoopRef CFGetCurrentRunLoop() const;
|
||||
virtual CFRunLoopRef CFGetCurrentRunLoop() const wxOVERRIDE;
|
||||
|
||||
void* m_modalSession;
|
||||
|
||||
|
@@ -56,8 +56,8 @@ public :
|
||||
|
||||
void Init();
|
||||
|
||||
virtual bool IsVisible() const ;
|
||||
virtual void SetVisibility(bool);
|
||||
virtual bool IsVisible() const wxOVERRIDE;
|
||||
virtual void SetVisibility(bool) wxOVERRIDE;
|
||||
|
||||
// we provide a static function which can be reused from
|
||||
// wxNonOwnedWindowCocoaImpl too
|
||||
@@ -68,70 +68,70 @@ public :
|
||||
|
||||
virtual bool ShowWithEffect(bool show,
|
||||
wxShowEffect effect,
|
||||
unsigned timeout);
|
||||
unsigned timeout) wxOVERRIDE;
|
||||
|
||||
virtual void Raise();
|
||||
virtual void Raise() wxOVERRIDE;
|
||||
|
||||
virtual void Lower();
|
||||
virtual void Lower() wxOVERRIDE;
|
||||
|
||||
virtual void ScrollRect( const wxRect *rect, int dx, int dy );
|
||||
virtual void ScrollRect( const wxRect *rect, int dx, int dy ) wxOVERRIDE;
|
||||
|
||||
virtual WXWidget GetWXWidget() const { return m_osxView; }
|
||||
virtual WXWidget GetWXWidget() const wxOVERRIDE { return m_osxView; }
|
||||
|
||||
virtual void SetBackgroundColour(const wxColour&);
|
||||
virtual bool SetBackgroundStyle(wxBackgroundStyle style);
|
||||
virtual void SetBackgroundColour(const wxColour&) wxOVERRIDE;
|
||||
virtual bool SetBackgroundStyle(wxBackgroundStyle style) wxOVERRIDE;
|
||||
|
||||
virtual void GetContentArea( int &left , int &top , int &width , int &height ) const;
|
||||
virtual void Move(int x, int y, int width, int height);
|
||||
virtual void GetPosition( int &x, int &y ) const;
|
||||
virtual void GetSize( int &width, int &height ) const;
|
||||
virtual void SetControlSize( wxWindowVariant variant );
|
||||
virtual void GetContentArea( int &left, int &top, int &width, int &height ) const wxOVERRIDE;
|
||||
virtual void Move(int x, int y, int width, int height) wxOVERRIDE;
|
||||
virtual void GetPosition( int &x, int &y ) const wxOVERRIDE;
|
||||
virtual void GetSize( int &width, int &height ) const wxOVERRIDE;
|
||||
virtual void SetControlSize( wxWindowVariant variant ) wxOVERRIDE;
|
||||
|
||||
virtual void SetNeedsDisplay( const wxRect* where = NULL );
|
||||
virtual bool GetNeedsDisplay() const;
|
||||
virtual void SetNeedsDisplay( const wxRect* where = NULL ) wxOVERRIDE;
|
||||
virtual bool GetNeedsDisplay() const wxOVERRIDE;
|
||||
|
||||
virtual void SetDrawingEnabled(bool enabled);
|
||||
virtual void SetDrawingEnabled(bool enabled) wxOVERRIDE;
|
||||
|
||||
virtual bool CanFocus() const;
|
||||
virtual bool CanFocus() const wxOVERRIDE;
|
||||
// return true if successful
|
||||
virtual bool SetFocus();
|
||||
virtual bool HasFocus() const;
|
||||
virtual bool SetFocus() wxOVERRIDE;
|
||||
virtual bool HasFocus() const wxOVERRIDE;
|
||||
|
||||
void RemoveFromParent();
|
||||
void Embed( wxWidgetImpl *parent );
|
||||
void RemoveFromParent() wxOVERRIDE;
|
||||
void Embed( wxWidgetImpl *parent ) wxOVERRIDE;
|
||||
|
||||
void SetDefaultButton( bool isDefault );
|
||||
void PerformClick();
|
||||
virtual void SetLabel(const wxString& title, wxFontEncoding encoding);
|
||||
void SetDefaultButton( bool isDefault ) wxOVERRIDE;
|
||||
void PerformClick() wxOVERRIDE;
|
||||
virtual void SetLabel(const wxString& title, wxFontEncoding encoding) wxOVERRIDE;
|
||||
|
||||
void SetCursor( const wxCursor & cursor );
|
||||
void CaptureMouse();
|
||||
void ReleaseMouse();
|
||||
void SetCursor( const wxCursor & cursor ) wxOVERRIDE;
|
||||
void CaptureMouse() wxOVERRIDE;
|
||||
void ReleaseMouse() wxOVERRIDE;
|
||||
#if wxUSE_DRAG_AND_DROP
|
||||
void SetDropTarget(wxDropTarget* target);
|
||||
void SetDropTarget(wxDropTarget* target) wxOVERRIDE;
|
||||
#endif
|
||||
wxInt32 GetValue() const;
|
||||
void SetValue( wxInt32 v );
|
||||
wxBitmap GetBitmap() const;
|
||||
void SetBitmap( const wxBitmap& bitmap );
|
||||
void SetBitmapPosition( wxDirection dir );
|
||||
void SetupTabs( const wxNotebook ¬ebook );
|
||||
void GetBestRect( wxRect *r ) const;
|
||||
bool IsEnabled() const;
|
||||
void Enable( bool enable );
|
||||
bool ButtonClickDidStateChange() { return true ;}
|
||||
void SetMinimum( wxInt32 v );
|
||||
void SetMaximum( wxInt32 v );
|
||||
wxInt32 GetMinimum() const;
|
||||
wxInt32 GetMaximum() const;
|
||||
void PulseGauge();
|
||||
void SetScrollThumb( wxInt32 value, wxInt32 thumbSize );
|
||||
wxInt32 GetValue() const wxOVERRIDE;
|
||||
void SetValue( wxInt32 v ) wxOVERRIDE;
|
||||
wxBitmap GetBitmap() const wxOVERRIDE;
|
||||
void SetBitmap( const wxBitmap& bitmap ) wxOVERRIDE;
|
||||
void SetBitmapPosition( wxDirection dir ) wxOVERRIDE;
|
||||
void SetupTabs( const wxNotebook ¬ebook ) wxOVERRIDE;
|
||||
void GetBestRect( wxRect *r ) const wxOVERRIDE;
|
||||
bool IsEnabled() const wxOVERRIDE;
|
||||
void Enable( bool enable ) wxOVERRIDE;
|
||||
bool ButtonClickDidStateChange() wxOVERRIDE { return true; }
|
||||
void SetMinimum( wxInt32 v ) wxOVERRIDE;
|
||||
void SetMaximum( wxInt32 v ) wxOVERRIDE;
|
||||
wxInt32 GetMinimum() const wxOVERRIDE;
|
||||
wxInt32 GetMaximum() const wxOVERRIDE;
|
||||
void PulseGauge() wxOVERRIDE;
|
||||
void SetScrollThumb( wxInt32 value, wxInt32 thumbSize ) wxOVERRIDE;
|
||||
|
||||
void SetFont( const wxFont & font , const wxColour& foreground , long windowStyle, bool ignoreBlack = true );
|
||||
void SetToolTip( wxToolTip* tooltip );
|
||||
void SetFont( const wxFont & font, const wxColour& foreground, long windowStyle, bool ignoreBlack = true ) wxOVERRIDE;
|
||||
void SetToolTip( wxToolTip* tooltip ) wxOVERRIDE;
|
||||
|
||||
void InstallEventHandler( WXWidget control = NULL );
|
||||
bool EnableTouchEvents(int eventsMask);
|
||||
void InstallEventHandler( WXWidget control = NULL ) wxOVERRIDE;
|
||||
bool EnableTouchEvents(int eventsMask) wxOVERRIDE;
|
||||
|
||||
virtual bool ShouldHandleKeyNavigation(const wxKeyEvent &event) const;
|
||||
bool DoHandleKeyNavigation(const wxKeyEvent &event);
|
||||
@@ -162,7 +162,7 @@ public :
|
||||
virtual bool IsFlipped() const { return m_isFlipped; }
|
||||
#endif
|
||||
|
||||
virtual double GetContentScaleFactor() const;
|
||||
virtual double GetContentScaleFactor() const wxOVERRIDE;
|
||||
|
||||
// cocoa thunk connected calls
|
||||
|
||||
@@ -242,7 +242,7 @@ public :
|
||||
void GetPosition( int &x, int &y ) const wxOVERRIDE;
|
||||
void GetSize( int &width, int &height ) const wxOVERRIDE;
|
||||
|
||||
void GetContentArea( int &left , int &top , int &width , int &height ) const wxOVERRIDE;
|
||||
void GetContentArea( int &left, int &top, int &width, int &height ) const wxOVERRIDE;
|
||||
bool SetShape(const wxRegion& region) wxOVERRIDE;
|
||||
|
||||
virtual void SetTitle( const wxString& title, wxFontEncoding encoding ) wxOVERRIDE;
|
||||
@@ -304,13 +304,13 @@ class wxButtonCocoaImpl : public wxWidgetCocoaImpl, public wxButtonImpl
|
||||
{
|
||||
public:
|
||||
wxButtonCocoaImpl(wxWindowMac *wxpeer, wxNSButton *v);
|
||||
virtual void SetBitmap(const wxBitmap& bitmap);
|
||||
virtual void SetBitmap(const wxBitmap& bitmap) wxOVERRIDE;
|
||||
#if wxUSE_MARKUP
|
||||
virtual void SetLabelMarkup(const wxString& markup);
|
||||
virtual void SetLabelMarkup(const wxString& markup) wxOVERRIDE;
|
||||
#endif // wxUSE_MARKUP
|
||||
|
||||
void SetPressedBitmap( const wxBitmap& bitmap );
|
||||
void GetLayoutInset(int &left , int &top , int &right, int &bottom) const;
|
||||
void SetPressedBitmap( const wxBitmap& bitmap ) wxOVERRIDE;
|
||||
void GetLayoutInset(int &left, int &top, int &right, int &bottom) const wxOVERRIDE;
|
||||
void SetAcceleratorFromLabel(const wxString& label);
|
||||
|
||||
NSButton *GetNSButton() const;
|
||||
|
@@ -27,7 +27,7 @@ public:
|
||||
|
||||
bool Create(wxWindow *parent, wxColourData *data = NULL);
|
||||
|
||||
int ShowModal();
|
||||
int ShowModal() wxOVERRIDE;
|
||||
wxColourData& GetColourData() { return m_colourData; }
|
||||
|
||||
protected:
|
||||
|
@@ -82,53 +82,53 @@ class WXDLLIMPEXP_CORE wxComboBox :
|
||||
const wxValidator& validator = wxDefaultValidator,
|
||||
const wxString& name = wxComboBoxNameStr);
|
||||
|
||||
virtual int GetSelection() const;
|
||||
virtual void GetSelection(long *from, long *to) const;
|
||||
virtual void SetSelection(int n);
|
||||
virtual void SetSelection(long from, long to);
|
||||
virtual int FindString(const wxString& s, bool bCase = false) const;
|
||||
virtual wxString GetString(unsigned int n) const;
|
||||
virtual wxString GetStringSelection() const;
|
||||
virtual void SetString(unsigned int n, const wxString& s);
|
||||
virtual int GetSelection() const wxOVERRIDE;
|
||||
virtual void GetSelection(long *from, long *to) const wxOVERRIDE;
|
||||
virtual void SetSelection(int n) wxOVERRIDE;
|
||||
virtual void SetSelection(long from, long to) wxOVERRIDE;
|
||||
virtual int FindString(const wxString& s, bool bCase = false) const wxOVERRIDE;
|
||||
virtual wxString GetString(unsigned int n) const wxOVERRIDE;
|
||||
virtual wxString GetStringSelection() const wxOVERRIDE;
|
||||
virtual void SetString(unsigned int n, const wxString& s) wxOVERRIDE;
|
||||
|
||||
virtual unsigned int GetCount() const;
|
||||
virtual unsigned int GetCount() const wxOVERRIDE;
|
||||
|
||||
virtual void SetValue(const wxString& value);
|
||||
virtual void SetValue(const wxString& value) wxOVERRIDE;
|
||||
// these methods are provided by wxTextEntry for the native impl.
|
||||
|
||||
#if wxOSX_USE_COCOA
|
||||
virtual void Popup();
|
||||
virtual void Dismiss();
|
||||
virtual void Popup() wxOVERRIDE;
|
||||
virtual void Dismiss() wxOVERRIDE;
|
||||
#endif // wxOSX_USE_COCOA
|
||||
|
||||
|
||||
// osx specific event handling common for all osx-ports
|
||||
|
||||
virtual bool OSXHandleClicked( double timestampsec );
|
||||
virtual bool OSXHandleClicked(double timestampsec) wxOVERRIDE;
|
||||
|
||||
#if wxOSX_USE_COCOA
|
||||
wxComboWidgetImpl* GetComboPeer() const;
|
||||
#endif
|
||||
protected:
|
||||
// List functions
|
||||
virtual void DoDeleteOneItem(unsigned int n);
|
||||
virtual void DoClear();
|
||||
virtual void DoDeleteOneItem(unsigned int n) wxOVERRIDE;
|
||||
virtual void DoClear() wxOVERRIDE;
|
||||
|
||||
// wxTextEntry functions
|
||||
virtual wxWindow *GetEditableWindow() { return this; }
|
||||
virtual wxWindow *GetEditableWindow() wxOVERRIDE { return this; }
|
||||
|
||||
// override the base class virtuals involved in geometry calculations
|
||||
virtual wxSize DoGetBestSize() const;
|
||||
virtual wxSize DoGetBestSize() const wxOVERRIDE;
|
||||
|
||||
virtual int DoInsertItems(const wxArrayStringsAdapter& items,
|
||||
unsigned int pos,
|
||||
void **clientData, wxClientDataType type);
|
||||
void **clientData, wxClientDataType type) wxOVERRIDE;
|
||||
|
||||
virtual void DoSetItemClientData(unsigned int n, void* clientData);
|
||||
virtual void * DoGetItemClientData(unsigned int n) const;
|
||||
virtual void DoSetItemClientData(unsigned int n, void* clientData) wxOVERRIDE;
|
||||
virtual void * DoGetItemClientData(unsigned int n) const wxOVERRIDE;
|
||||
|
||||
|
||||
virtual void EnableTextChangedEvents(bool enable);
|
||||
virtual void EnableTextChangedEvents(bool enable) wxOVERRIDE;
|
||||
|
||||
// the subcontrols
|
||||
wxComboBoxText* m_text;
|
||||
|
@@ -36,7 +36,7 @@ public:
|
||||
const wxString& name = wxControlNameStr);
|
||||
|
||||
// Simulates an event
|
||||
virtual void Command(wxCommandEvent& event) { ProcessCommand(event); }
|
||||
virtual void Command(wxCommandEvent& event) wxOVERRIDE { ProcessCommand(event); }
|
||||
|
||||
// implementation from now on
|
||||
// --------------------------
|
||||
|
@@ -25,22 +25,22 @@ public:
|
||||
|
||||
// sets the "should exit" flag and wakes up the loop so that it terminates
|
||||
// soon
|
||||
virtual void ScheduleExit(int rc = 0);
|
||||
virtual void ScheduleExit(int rc = 0) wxOVERRIDE;
|
||||
|
||||
// return true if any events are available
|
||||
virtual bool Pending() const;
|
||||
virtual bool Pending() const wxOVERRIDE;
|
||||
|
||||
// dispatch a single event, return false if we should exit from the loop
|
||||
virtual bool Dispatch();
|
||||
virtual bool Dispatch() wxOVERRIDE;
|
||||
|
||||
// same as Dispatch() but doesn't wait for longer than the specified (in
|
||||
// ms) timeout, return true if an event was processed, false if we should
|
||||
// exit the loop or -1 if timeout expired
|
||||
virtual int DispatchTimeout(unsigned long timeout);
|
||||
virtual int DispatchTimeout(unsigned long timeout) wxOVERRIDE;
|
||||
|
||||
// implement this to wake up the loop: usually done by posting a dummy event
|
||||
// to it (can be called from non main thread)
|
||||
virtual void WakeUp();
|
||||
virtual void WakeUp() wxOVERRIDE;
|
||||
|
||||
bool ShouldProcessIdleEvents() const { return m_processIdleEvents ; }
|
||||
|
||||
@@ -53,13 +53,13 @@ public:
|
||||
protected:
|
||||
// enters a loop calling OnNextIteration(), Pending() and Dispatch() and
|
||||
// terminating when Exit() is called
|
||||
virtual int DoRun();
|
||||
virtual int DoRun() wxOVERRIDE;
|
||||
|
||||
// may be overridden to perform some action at the start of each new event
|
||||
// loop iteration
|
||||
virtual void OnNextIteration() {}
|
||||
|
||||
virtual void DoYieldFor(long eventsToProcess);
|
||||
virtual void DoYieldFor(long eventsToProcess) wxOVERRIDE;
|
||||
|
||||
void CommonModeObserverCallBack(CFRunLoopObserverRef observer, int activity);
|
||||
void DefaultModeObserverCallBack(CFRunLoopObserverRef observer, int activity);
|
||||
|
@@ -104,7 +104,7 @@ public:
|
||||
static int GetCount();
|
||||
bool Create(int nDev = 1);
|
||||
void AddCookie(CFTypeRef Data, int i);
|
||||
virtual void BuildCookies(CFArrayRef Array);
|
||||
virtual void BuildCookies(CFArrayRef Array) wxOVERRIDE;
|
||||
void DoBuildCookies(CFArrayRef Array);
|
||||
};
|
||||
|
||||
|
@@ -323,7 +323,7 @@ public:
|
||||
virtual size_t ToWChar(wchar_t * dst, size_t dstSize, const char * src, size_t srcSize = wxNO_LEN) const;
|
||||
virtual size_t FromWChar(char *dst, size_t dstSize, const wchar_t *src, size_t srcSize = wxNO_LEN) const;
|
||||
|
||||
virtual wxMBConv *Clone() const { return new wxMBConv_cf(*this); }
|
||||
virtual wxMBConv *Clone() const wxOVERRIDE { return new wxMBConv_cf(*this); }
|
||||
|
||||
bool IsOk() const
|
||||
{
|
||||
|
@@ -20,10 +20,10 @@ public:
|
||||
wxOSXTimerImpl(wxTimer *timer);
|
||||
virtual ~wxOSXTimerImpl();
|
||||
|
||||
virtual bool Start(int milliseconds = -1, bool one_shot = false);
|
||||
virtual void Stop();
|
||||
virtual bool Start(int milliseconds = -1, bool one_shot = false) wxOVERRIDE;
|
||||
virtual void Stop() wxOVERRIDE;
|
||||
|
||||
virtual bool IsRunning() const;
|
||||
virtual bool IsRunning() const wxOVERRIDE;
|
||||
|
||||
private:
|
||||
wxOSXTimerInfo *m_info;
|
||||
|
@@ -36,8 +36,8 @@ public:
|
||||
WXHCURSOR GetHCURSOR() const;
|
||||
|
||||
protected:
|
||||
virtual wxGDIRefData *CreateGDIRefData() const;
|
||||
virtual wxGDIRefData *CloneGDIRefData(const wxGDIRefData *data) const;
|
||||
virtual wxGDIRefData *CreateGDIRefData() const wxOVERRIDE;
|
||||
virtual wxGDIRefData *CloneGDIRefData(const wxGDIRefData *data) const wxOVERRIDE;
|
||||
|
||||
private:
|
||||
void InitFromStock(wxStockCursor);
|
||||
|
@@ -26,24 +26,24 @@ public:
|
||||
virtual ~wxBitmapDataObject();
|
||||
|
||||
// override base class virtual to update PNG data too
|
||||
virtual void SetBitmap(const wxBitmap& bitmap);
|
||||
virtual void SetBitmap(const wxBitmap& bitmap) wxOVERRIDE;
|
||||
|
||||
// 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;
|
||||
// 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);
|
||||
}
|
||||
@@ -68,19 +68,19 @@ public:
|
||||
|
||||
void AddFile( const wxString &filename );
|
||||
|
||||
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);
|
||||
}
|
||||
|
@@ -42,29 +42,29 @@ public:
|
||||
virtual ~wxDataViewColumn();
|
||||
|
||||
// implement wxHeaderColumnBase pure virtual methods
|
||||
virtual wxAlignment GetAlignment() const { return m_alignment; }
|
||||
virtual int GetFlags() const { return m_flags; }
|
||||
virtual wxAlignment GetAlignment() const wxOVERRIDE { return m_alignment; }
|
||||
virtual int GetFlags() const wxOVERRIDE { return m_flags; }
|
||||
virtual int GetMaxWidth() const { return m_maxWidth; }
|
||||
virtual int GetMinWidth() const { return m_minWidth; }
|
||||
virtual wxString GetTitle() const { return m_title; }
|
||||
virtual int GetWidth() const;
|
||||
virtual bool IsSortOrderAscending() const { return m_ascending; }
|
||||
virtual bool IsSortKey() const;
|
||||
virtual bool IsHidden() const;
|
||||
virtual int GetMinWidth() const wxOVERRIDE { return m_minWidth; }
|
||||
virtual wxString GetTitle() const wxOVERRIDE { return m_title; }
|
||||
virtual int GetWidth() const wxOVERRIDE;
|
||||
virtual bool IsSortOrderAscending() const wxOVERRIDE { return m_ascending; }
|
||||
virtual bool IsSortKey() const wxOVERRIDE;
|
||||
virtual bool IsHidden() const wxOVERRIDE;
|
||||
|
||||
virtual void SetAlignment (wxAlignment align);
|
||||
virtual void SetBitmap (wxBitmap const& bitmap);
|
||||
virtual void SetFlags (int flags) { m_flags = flags; /*SetIndividualFlags(flags); */ }
|
||||
virtual void SetHidden (bool hidden);
|
||||
virtual void SetAlignment (wxAlignment align) wxOVERRIDE;
|
||||
virtual void SetBitmap (wxBitmap const& bitmap) wxOVERRIDE;
|
||||
virtual void SetFlags (int flags) wxOVERRIDE { m_flags = flags; /*SetIndividualFlags(flags); */ }
|
||||
virtual void SetHidden (bool hidden) wxOVERRIDE;
|
||||
virtual void SetMaxWidth (int maxWidth);
|
||||
virtual void SetMinWidth (int minWidth);
|
||||
virtual void SetReorderable(bool reorderable);
|
||||
virtual void SetResizeable (bool resizable);
|
||||
virtual void UnsetAsSortKey();
|
||||
virtual void SetSortable (bool sortable);
|
||||
virtual void SetSortOrder (bool ascending);
|
||||
virtual void SetTitle (wxString const& title);
|
||||
virtual void SetWidth (int width);
|
||||
virtual void SetMinWidth (int minWidth) wxOVERRIDE;
|
||||
virtual void SetReorderable(bool reorderable) wxOVERRIDE;
|
||||
virtual void SetResizeable (bool resizable) wxOVERRIDE;
|
||||
virtual void UnsetAsSortKey() wxOVERRIDE;
|
||||
virtual void SetSortable (bool sortable) wxOVERRIDE;
|
||||
virtual void SetSortOrder (bool ascending) wxOVERRIDE;
|
||||
virtual void SetTitle (wxString const& title) wxOVERRIDE;
|
||||
virtual void SetWidth (int width) wxOVERRIDE;
|
||||
|
||||
// implementation only
|
||||
wxDataViewColumnNativeData* GetNativeData() const
|
||||
|
@@ -42,10 +42,10 @@ public:
|
||||
const wxString& name = wxDatePickerCtrlNameStr);
|
||||
|
||||
// Implement the base class pure virtuals.
|
||||
virtual void SetRange(const wxDateTime& dt1, const wxDateTime& dt2);
|
||||
virtual bool GetRange(wxDateTime *dt1, wxDateTime *dt2) const;
|
||||
virtual void SetRange(const wxDateTime& dt1, const wxDateTime& dt2) wxOVERRIDE;
|
||||
virtual bool GetRange(wxDateTime *dt1, wxDateTime *dt2) const wxOVERRIDE;
|
||||
|
||||
virtual void OSXGenerateEvent(const wxDateTime& dt);
|
||||
virtual void OSXGenerateEvent(const wxDateTime& dt) wxOVERRIDE;
|
||||
|
||||
private:
|
||||
wxDECLARE_DYNAMIC_CLASS_NO_COPY(wxDatePickerCtrl);
|
||||
|
@@ -20,8 +20,8 @@ class WXDLLIMPEXP_ADV wxDateTimePickerCtrl : public wxDateTimePickerCtrlBase
|
||||
{
|
||||
public:
|
||||
// Implement the base class pure virtuals.
|
||||
virtual void SetValue(const wxDateTime& dt);
|
||||
virtual wxDateTime GetValue() const;
|
||||
virtual void SetValue(const wxDateTime& dt) wxOVERRIDE;
|
||||
virtual wxDateTime GetValue() const wxOVERRIDE;
|
||||
|
||||
// Implementation only.
|
||||
virtual void OSXGenerateEvent(const wxDateTime& dt) = 0;
|
||||
|
@@ -28,8 +28,8 @@ public:
|
||||
wxWindowDCImpl( wxDC *owner, wxWindow *window );
|
||||
virtual ~wxWindowDCImpl();
|
||||
|
||||
virtual void DoGetSize( int *width, int *height ) const;
|
||||
virtual wxBitmap DoGetAsBitmap(const wxRect *subrect) const;
|
||||
virtual void DoGetSize( int *width, int *height ) const wxOVERRIDE;
|
||||
virtual wxBitmap DoGetAsBitmap(const wxRect *subrect) const wxOVERRIDE;
|
||||
|
||||
protected:
|
||||
bool m_release;
|
||||
|
@@ -22,14 +22,14 @@ public:
|
||||
|
||||
virtual ~wxMemoryDCImpl();
|
||||
|
||||
virtual void DoGetSize( int *width, int *height ) const;
|
||||
virtual wxBitmap DoGetAsBitmap(const wxRect *subrect) const
|
||||
virtual void DoGetSize( int *width, int *height ) const wxOVERRIDE;
|
||||
virtual wxBitmap DoGetAsBitmap(const wxRect *subrect) const wxOVERRIDE
|
||||
{ return subrect == NULL ? GetSelectedBitmap() : GetSelectedBitmap().GetSubBitmap(*subrect); }
|
||||
virtual void DoSelect(const wxBitmap& bitmap);
|
||||
virtual void DoSelect(const wxBitmap& bitmap) wxOVERRIDE;
|
||||
|
||||
virtual const wxBitmap& GetSelectedBitmap() const
|
||||
virtual const wxBitmap& GetSelectedBitmap() const wxOVERRIDE
|
||||
{ return m_selected; }
|
||||
virtual wxBitmap& GetSelectedBitmap()
|
||||
virtual wxBitmap& GetSelectedBitmap() wxOVERRIDE
|
||||
{ return m_selected; }
|
||||
|
||||
private:
|
||||
|
@@ -25,18 +25,18 @@ public:
|
||||
wxPrinterDCImpl( wxPrinterDC *owner, const wxPrintData& printdata );
|
||||
virtual ~wxPrinterDCImpl();
|
||||
|
||||
virtual bool StartDoc( const wxString& WXUNUSED(message) ) ;
|
||||
virtual void EndDoc(void) ;
|
||||
virtual void StartPage(void) ;
|
||||
virtual void EndPage(void) ;
|
||||
virtual bool StartDoc( const wxString& WXUNUSED(message) ) wxOVERRIDE;
|
||||
virtual void EndDoc(void) wxOVERRIDE;
|
||||
virtual void StartPage(void) wxOVERRIDE;
|
||||
virtual void EndPage(void) wxOVERRIDE;
|
||||
|
||||
wxRect GetPaperRect() const;
|
||||
wxRect GetPaperRect() const wxOVERRIDE;
|
||||
|
||||
wxPrintData& GetPrintData() { return m_printData; }
|
||||
virtual wxSize GetPPI() const;
|
||||
virtual wxSize GetPPI() const wxOVERRIDE;
|
||||
|
||||
protected:
|
||||
virtual void DoGetSize( int *width, int *height ) const;
|
||||
virtual void DoGetSize( int *width, int *height ) const wxOVERRIDE;
|
||||
|
||||
wxPrintData m_printData ;
|
||||
wxNativePrinterDC* m_nativePrinterDC ;
|
||||
|
@@ -20,7 +20,7 @@ public:
|
||||
wxScreenDCImpl( wxDC *owner );
|
||||
virtual ~wxScreenDCImpl();
|
||||
|
||||
virtual wxBitmap DoGetAsBitmap(const wxRect *subrect) const;
|
||||
virtual wxBitmap DoGetAsBitmap(const wxRect *subrect) const wxOVERRIDE;
|
||||
private:
|
||||
void* m_overlayWindow;
|
||||
|
||||
|
@@ -46,18 +46,18 @@ public:
|
||||
virtual ~wxDialog();
|
||||
|
||||
// virtual bool Destroy();
|
||||
virtual bool Show(bool show = true);
|
||||
virtual bool Show(bool show = true) wxOVERRIDE;
|
||||
|
||||
// return true if we're showing the dialog modally
|
||||
virtual bool IsModal() const;
|
||||
virtual bool IsModal() const wxOVERRIDE;
|
||||
|
||||
// show the dialog modally and return the value passed to EndModal()
|
||||
virtual int ShowModal();
|
||||
virtual int ShowModal() wxOVERRIDE;
|
||||
|
||||
virtual void ShowWindowModal();
|
||||
virtual void ShowWindowModal() wxOVERRIDE;
|
||||
|
||||
// may be called to terminate the dialog with the given return code
|
||||
virtual void EndModal(int retCode);
|
||||
virtual void EndModal(int retCode) wxOVERRIDE;
|
||||
|
||||
static bool OSXHasModalDialogsOpen();
|
||||
void OSXBeginModalDialog();
|
||||
@@ -71,7 +71,7 @@ public:
|
||||
// implementation
|
||||
// --------------
|
||||
|
||||
wxDialogModality GetModality() const;
|
||||
wxDialogModality GetModality() const wxOVERRIDE;
|
||||
|
||||
#if wxOSX_USE_COCOA
|
||||
virtual void ModalFinishedCallback(void* WXUNUSED(panel), int WXUNUSED(returnCode)) {}
|
||||
@@ -85,7 +85,7 @@ protected:
|
||||
void EndWindowModal();
|
||||
|
||||
// mac also takes command-period as cancel
|
||||
virtual bool IsEscapeKey(const wxKeyEvent& event);
|
||||
virtual bool IsEscapeKey(const wxKeyEvent& event) wxOVERRIDE;
|
||||
|
||||
|
||||
wxDialogModality m_modality;
|
||||
|
@@ -45,11 +45,11 @@ public:
|
||||
~wxDirDialog();
|
||||
#endif
|
||||
|
||||
virtual int ShowModal();
|
||||
virtual int ShowModal() wxOVERRIDE;
|
||||
|
||||
#if wxOSX_USE_COCOA
|
||||
virtual void ShowWindowModal();
|
||||
virtual void ModalFinishedCallback(void* panel, int returnCode);
|
||||
virtual void ShowWindowModal() wxOVERRIDE;
|
||||
virtual void ModalFinishedCallback(void* panel, int returnCode) wxOVERRIDE;
|
||||
#endif
|
||||
|
||||
private:
|
||||
|
@@ -50,10 +50,10 @@ class WXDLLIMPEXP_CORE wxDropTarget: public wxDropTargetBase
|
||||
|
||||
wxDropTarget(wxDataObject *dataObject = NULL );
|
||||
|
||||
virtual wxDragResult OnDragOver(wxCoord x, wxCoord y, wxDragResult def);
|
||||
virtual bool OnDrop(wxCoord x, wxCoord y);
|
||||
virtual wxDragResult OnData(wxCoord x, wxCoord y, wxDragResult def);
|
||||
virtual bool GetData();
|
||||
virtual wxDragResult OnDragOver(wxCoord x, wxCoord y, wxDragResult def) wxOVERRIDE;
|
||||
virtual bool OnDrop(wxCoord x, wxCoord y) wxOVERRIDE;
|
||||
virtual wxDragResult OnData(wxCoord x, wxCoord y, wxDragResult def) wxOVERRIDE;
|
||||
virtual bool GetData() wxOVERRIDE;
|
||||
// NOTE: This is needed by the generic wxDataViewCtrl, not sure how to implement.
|
||||
virtual wxDataFormat GetMatchingPair();
|
||||
|
||||
@@ -90,7 +90,7 @@ 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;
|
||||
|
||||
wxWindow* GetWindow() { return m_window ; }
|
||||
void SetCurrentDragPasteboard( void* dragpasteboard ) { m_currentDragPasteboard = dragpasteboard ; }
|
||||
|
@@ -29,9 +29,9 @@ public:
|
||||
// implementation only
|
||||
// -------------------
|
||||
|
||||
virtual bool MacRender();
|
||||
virtual bool MacRender() wxOVERRIDE;
|
||||
|
||||
virtual wxDC* GetDC(); // creates a device context and keeps it
|
||||
virtual wxDC* GetDC() wxOVERRIDE; // creates a device context and keeps it
|
||||
void SetDC(wxDC* newDCPtr); // this method takes ownership of the pointer
|
||||
|
||||
private:
|
||||
@@ -82,11 +82,11 @@ public:
|
||||
void EnableMarkup(bool enable = true);
|
||||
#endif // wxUSE_MARKUP && Cocoa
|
||||
|
||||
virtual bool MacRender();
|
||||
virtual bool MacRender() wxOVERRIDE;
|
||||
|
||||
virtual void OSXOnCellChanged(NSObject *value,
|
||||
const wxDataViewItem& item,
|
||||
unsigned col);
|
||||
unsigned col) wxOVERRIDE;
|
||||
|
||||
private:
|
||||
#if wxUSE_MARKUP && wxOSX_USE_COCOA
|
||||
@@ -110,7 +110,7 @@ public:
|
||||
wxDataViewCellMode mode = wxDATAVIEW_CELL_INERT,
|
||||
int align = wxDVR_DEFAULT_ALIGNMENT);
|
||||
|
||||
virtual bool MacRender();
|
||||
virtual bool MacRender() wxOVERRIDE;
|
||||
|
||||
private:
|
||||
wxDECLARE_DYNAMIC_CLASS_NO_COPY(wxDataViewBitmapRenderer);
|
||||
@@ -128,14 +128,14 @@ public:
|
||||
wxDataViewCellMode mode = wxDATAVIEW_CELL_EDITABLE,
|
||||
int alignment = wxDVR_DEFAULT_ALIGNMENT );
|
||||
|
||||
virtual bool MacRender();
|
||||
virtual bool MacRender() wxOVERRIDE;
|
||||
|
||||
wxString GetChoice(size_t index) const { return m_choices[index]; }
|
||||
const wxArrayString& GetChoices() const { return m_choices; }
|
||||
|
||||
virtual void OSXOnCellChanged(NSObject *value,
|
||||
const wxDataViewItem& item,
|
||||
unsigned col);
|
||||
unsigned col) wxOVERRIDE;
|
||||
|
||||
private:
|
||||
wxArrayString m_choices;
|
||||
@@ -174,11 +174,11 @@ public:
|
||||
wxDataViewCellMode mode = wxDATAVIEW_CELL_INERT,
|
||||
int align = wxDVR_DEFAULT_ALIGNMENT);
|
||||
|
||||
virtual bool MacRender();
|
||||
virtual bool MacRender() wxOVERRIDE;
|
||||
|
||||
virtual void OSXOnCellChanged(NSObject *value,
|
||||
const wxDataViewItem& item,
|
||||
unsigned col);
|
||||
unsigned col) wxOVERRIDE;
|
||||
|
||||
private:
|
||||
wxDECLARE_DYNAMIC_CLASS_NO_COPY(wxDataViewIconTextRenderer);
|
||||
@@ -200,11 +200,11 @@ public:
|
||||
|
||||
void ShowAsRadio();
|
||||
|
||||
virtual bool MacRender();
|
||||
virtual bool MacRender() wxOVERRIDE;
|
||||
|
||||
virtual void OSXOnCellChanged(NSObject *value,
|
||||
const wxDataViewItem& item,
|
||||
unsigned col);
|
||||
unsigned col) wxOVERRIDE;
|
||||
|
||||
private:
|
||||
void DoInitButtonCell(int buttonType);
|
||||
@@ -226,11 +226,11 @@ public:
|
||||
wxDataViewCellMode mode = wxDATAVIEW_CELL_INERT,
|
||||
int align = wxDVR_DEFAULT_ALIGNMENT);
|
||||
|
||||
virtual bool MacRender();
|
||||
virtual bool MacRender() wxOVERRIDE;
|
||||
|
||||
virtual void OSXOnCellChanged(NSObject *value,
|
||||
const wxDataViewItem& item,
|
||||
unsigned col);
|
||||
unsigned col) wxOVERRIDE;
|
||||
|
||||
private:
|
||||
wxDECLARE_DYNAMIC_CLASS_NO_COPY(wxDataViewProgressRenderer);
|
||||
@@ -249,11 +249,11 @@ public:
|
||||
wxDataViewCellMode mode = wxDATAVIEW_CELL_ACTIVATABLE,
|
||||
int align = wxDVR_DEFAULT_ALIGNMENT);
|
||||
|
||||
virtual bool MacRender();
|
||||
virtual bool MacRender() wxOVERRIDE;
|
||||
|
||||
virtual void OSXOnCellChanged(NSObject *value,
|
||||
const wxDataViewItem& item,
|
||||
unsigned col);
|
||||
unsigned col) wxOVERRIDE;
|
||||
|
||||
private:
|
||||
wxDECLARE_DYNAMIC_CLASS_NO_COPY(wxDataViewDateRenderer);
|
||||
|
@@ -26,11 +26,11 @@ public:
|
||||
|
||||
#ifdef __WXOSX_COCOA__
|
||||
// skip wxGUIEventLoop to avoid missing Enter/Exit notifications
|
||||
virtual int Run() { return wxCFEventLoop::Run(); }
|
||||
virtual int Run() wxOVERRIDE { return wxCFEventLoop::Run(); }
|
||||
#endif
|
||||
protected:
|
||||
virtual void OSXDoRun();
|
||||
virtual void OSXDoStop();
|
||||
virtual void OSXDoRun() wxOVERRIDE;
|
||||
virtual void OSXDoStop() wxOVERRIDE;
|
||||
|
||||
// (in case) the modal window for this event loop
|
||||
wxNonOwnedWindow* m_modalWindow;
|
||||
|
@@ -60,17 +60,17 @@ public:
|
||||
~wxFileDialog();
|
||||
#endif
|
||||
|
||||
virtual void GetPaths(wxArrayString& paths) const { paths = m_paths; }
|
||||
virtual void GetFilenames(wxArrayString& files) const { files = m_fileNames ; }
|
||||
virtual void GetPaths(wxArrayString& paths) const wxOVERRIDE { paths = m_paths; }
|
||||
virtual void GetFilenames(wxArrayString& files) const wxOVERRIDE { files = m_fileNames ; }
|
||||
|
||||
virtual int ShowModal();
|
||||
virtual int ShowModal() wxOVERRIDE;
|
||||
|
||||
#if wxOSX_USE_COCOA
|
||||
virtual void ShowWindowModal();
|
||||
virtual void ModalFinishedCallback(void* panel, int resultCode);
|
||||
virtual void ShowWindowModal() wxOVERRIDE;
|
||||
virtual void ModalFinishedCallback(void* panel, int resultCode) wxOVERRIDE;
|
||||
#endif
|
||||
|
||||
virtual bool SupportsExtraControl() const;
|
||||
virtual bool SupportsExtraControl() const wxOVERRIDE;
|
||||
|
||||
// implementation only
|
||||
|
||||
|
@@ -41,7 +41,7 @@ public:
|
||||
bool Create(wxWindow *parent);
|
||||
bool Create(wxWindow *parent, const wxFontData& data);
|
||||
|
||||
int ShowModal();
|
||||
int ShowModal() wxOVERRIDE;
|
||||
wxFontData& GetFontData() { return m_fontData; }
|
||||
|
||||
protected:
|
||||
|
@@ -39,11 +39,11 @@ class WXDLLIMPEXP_CORE wxGauge: public wxGaugeBase
|
||||
const wxString& name = wxGaugeNameStr);
|
||||
|
||||
// set gauge range/value
|
||||
virtual void SetRange(int range);
|
||||
virtual void SetValue(int pos);
|
||||
virtual int GetValue() const ;
|
||||
virtual void SetRange(int range) wxOVERRIDE;
|
||||
virtual void SetValue(int pos) wxOVERRIDE;
|
||||
virtual int GetValue() const wxOVERRIDE;
|
||||
|
||||
void Pulse();
|
||||
void Pulse() wxOVERRIDE;
|
||||
|
||||
protected:
|
||||
wxDECLARE_DYNAMIC_CLASS_NO_COPY(wxGauge);
|
||||
|
@@ -43,7 +43,7 @@ public:
|
||||
const wxGLContextAttrs *ctxAttrs = NULL);
|
||||
virtual ~wxGLContext();
|
||||
|
||||
virtual bool SetCurrent(const wxGLCanvas& win) const;
|
||||
virtual bool SetCurrent(const wxGLCanvas& win) const wxOVERRIDE;
|
||||
|
||||
// Mac-specific
|
||||
WXGLContext GetWXGLContext() const { return m_glContext; }
|
||||
|
@@ -119,14 +119,14 @@ public:
|
||||
virtual ~wxMDIChildFrame();
|
||||
|
||||
// un-override the base class override
|
||||
virtual bool IsTopLevel() const { return true; }
|
||||
virtual bool IsTopLevel() const wxOVERRIDE { return true; }
|
||||
|
||||
// implement MDI operations
|
||||
virtual void Activate();
|
||||
virtual void Activate() wxOVERRIDE;
|
||||
|
||||
|
||||
// Mac OS activate event
|
||||
virtual void MacActivate(long timestamp, bool activating);
|
||||
virtual void MacActivate(long timestamp, bool activating) wxOVERRIDE;
|
||||
|
||||
protected:
|
||||
// common part of all ctors
|
||||
@@ -142,10 +142,10 @@ public:
|
||||
virtual ~wxMDIClientWindow();
|
||||
|
||||
virtual bool CreateClient(wxMDIParentFrame *parent,
|
||||
long style = wxVSCROLL | wxHSCROLL);
|
||||
long style = wxVSCROLL | wxHSCROLL) wxOVERRIDE;
|
||||
|
||||
protected:
|
||||
virtual void DoGetClientSize(int *width, int *height) const;
|
||||
virtual void DoGetClientSize(int *width, int *height) const wxOVERRIDE;
|
||||
|
||||
wxDECLARE_DYNAMIC_CLASS(wxMDIClientWindow);
|
||||
};
|
||||
|
@@ -34,9 +34,9 @@ public:
|
||||
|
||||
virtual ~wxMenu();
|
||||
|
||||
virtual void Break();
|
||||
virtual void Break() wxOVERRIDE;
|
||||
|
||||
virtual void SetTitle(const wxString& title);
|
||||
virtual void SetTitle(const wxString& title) wxOVERRIDE;
|
||||
|
||||
bool ProcessCommand(wxCommandEvent& event);
|
||||
|
||||
@@ -73,9 +73,9 @@ protected:
|
||||
// that are expected in the app menu
|
||||
void DoRearrange() ;
|
||||
|
||||
virtual wxMenuItem* DoAppend(wxMenuItem *item);
|
||||
virtual wxMenuItem* DoInsert(size_t pos, wxMenuItem *item);
|
||||
virtual wxMenuItem* DoRemove(wxMenuItem *item);
|
||||
virtual wxMenuItem* DoAppend(wxMenuItem *item) wxOVERRIDE;
|
||||
virtual wxMenuItem* DoInsert(size_t pos, wxMenuItem *item) wxOVERRIDE;
|
||||
virtual wxMenuItem* DoRemove(wxMenuItem *item) wxOVERRIDE;
|
||||
|
||||
private:
|
||||
// common part of all ctors
|
||||
@@ -125,16 +125,16 @@ public:
|
||||
virtual ~wxMenuBar();
|
||||
|
||||
// menubar construction
|
||||
virtual bool Append( wxMenu *menu, const wxString &title );
|
||||
virtual bool Insert(size_t pos, wxMenu *menu, const wxString& title);
|
||||
virtual wxMenu *Replace(size_t pos, wxMenu *menu, const wxString& title);
|
||||
virtual wxMenu *Remove(size_t pos);
|
||||
virtual bool Append( wxMenu *menu, const wxString &title ) wxOVERRIDE;
|
||||
virtual bool Insert(size_t pos, wxMenu *menu, const wxString& title) wxOVERRIDE;
|
||||
virtual wxMenu *Replace(size_t pos, wxMenu *menu, const wxString& title) wxOVERRIDE;
|
||||
virtual wxMenu *Remove(size_t pos) wxOVERRIDE;
|
||||
|
||||
virtual void EnableTop( size_t pos, bool flag );
|
||||
virtual bool IsEnabledTop(size_t pos) const;
|
||||
virtual void SetMenuLabel( size_t pos, const wxString& label );
|
||||
virtual wxString GetMenuLabel( size_t pos ) const;
|
||||
virtual bool Enable( bool enable = true );
|
||||
virtual void EnableTop( size_t pos, bool flag ) wxOVERRIDE;
|
||||
virtual bool IsEnabledTop(size_t pos) const wxOVERRIDE;
|
||||
virtual void SetMenuLabel( size_t pos, const wxString& label ) wxOVERRIDE;
|
||||
virtual wxString GetMenuLabel( size_t pos ) const wxOVERRIDE;
|
||||
virtual bool Enable( bool enable = true ) wxOVERRIDE;
|
||||
// for virtual function hiding
|
||||
virtual void Enable( int itemid, bool enable )
|
||||
{
|
||||
@@ -142,6 +142,7 @@ public:
|
||||
}
|
||||
|
||||
// implementation from now on
|
||||
|
||||
// returns TRUE if we're attached to a frame
|
||||
bool IsAttached() const { return m_menuBarFrame != NULL; }
|
||||
// get the frame we live in
|
||||
@@ -149,7 +150,7 @@ public:
|
||||
|
||||
// if the menubar is modified, the display is not updated automatically,
|
||||
// call this function to update it (m_menuBarFrame should be !NULL)
|
||||
void Refresh(bool eraseBackground = true, const wxRect *rect = NULL);
|
||||
void Refresh(bool eraseBackground = true, const wxRect *rect = NULL) wxOVERRIDE;
|
||||
|
||||
#if wxABI_VERSION >= 30001
|
||||
wxMenu *OSXGetAppleMenu() const { return m_appleMenu; }
|
||||
@@ -167,9 +168,9 @@ public:
|
||||
|
||||
static WXHMENU MacGetWindowMenuHMenu() { return s_macWindowMenuHandle ; }
|
||||
|
||||
virtual void DoGetPosition(int *x, int *y) const;
|
||||
virtual void DoGetSize(int *width, int *height) const;
|
||||
virtual void DoGetClientSize(int *width, int *height) const;
|
||||
virtual void DoGetPosition(int *x, int *y) const wxOVERRIDE;
|
||||
virtual void DoGetSize(int *width, int *height) const wxOVERRIDE;
|
||||
virtual void DoGetClientSize(int *width, int *height) const wxOVERRIDE;
|
||||
|
||||
protected:
|
||||
// common part of all ctors
|
||||
|
@@ -37,7 +37,7 @@ public:
|
||||
virtual ~wxMenuItem();
|
||||
|
||||
// override base class virtuals
|
||||
virtual void SetItemLabel(const wxString& strName);
|
||||
virtual void SetItemLabel(const wxString& strName) wxOVERRIDE;
|
||||
|
||||
virtual void Enable(bool bDoEnable = true);
|
||||
virtual void Check(bool bDoCheck = true);
|
||||
|
@@ -56,8 +56,8 @@ public:
|
||||
WXHMETAFILE GetHMETAFILE() const ;
|
||||
void SetHMETAFILE(WXHMETAFILE mf) ;
|
||||
protected:
|
||||
virtual wxGDIRefData *CreateGDIRefData() const;
|
||||
virtual wxGDIRefData *CloneGDIRefData(const wxGDIRefData *data) const;
|
||||
virtual wxGDIRefData *CreateGDIRefData() const wxOVERRIDE;
|
||||
virtual wxGDIRefData *CloneGDIRefData(const wxGDIRefData *data) const wxOVERRIDE;
|
||||
|
||||
wxDECLARE_DYNAMIC_CLASS(wxMetafile);
|
||||
};
|
||||
@@ -81,7 +81,7 @@ public:
|
||||
void SetMetaFile(wxMetafile *mf) { m_metaFile = mf; }
|
||||
|
||||
protected:
|
||||
virtual void DoGetSize(int *width, int *height) const;
|
||||
virtual void DoGetSize(int *width, int *height) const wxOVERRIDE;
|
||||
|
||||
wxMetafile* m_metaFile;
|
||||
|
||||
@@ -149,17 +149,17 @@ public:
|
||||
{ return m_metafile; }
|
||||
|
||||
// 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); }
|
||||
protected:
|
||||
wxMetafile m_metafile;
|
||||
|
@@ -25,11 +25,11 @@ public:
|
||||
~wxMessageDialog();
|
||||
#endif
|
||||
|
||||
virtual int ShowModal();
|
||||
virtual int ShowModal() wxOVERRIDE;
|
||||
|
||||
#if wxOSX_USE_COCOA
|
||||
virtual void ShowWindowModal();
|
||||
virtual void ModalFinishedCallback(void* panel, int resultCode);
|
||||
virtual void ShowWindowModal() wxOVERRIDE;
|
||||
virtual void ModalFinishedCallback(void* panel, int resultCode) wxOVERRIDE;
|
||||
#endif
|
||||
|
||||
protected:
|
||||
|
@@ -63,16 +63,16 @@ public:
|
||||
virtual void SubclassWin(WXWindow nativeWindow);
|
||||
virtual void UnsubclassWin();
|
||||
|
||||
virtual wxPoint GetClientAreaOrigin() const;
|
||||
virtual wxPoint GetClientAreaOrigin() const wxOVERRIDE;
|
||||
|
||||
// implement base class pure virtuals
|
||||
|
||||
virtual bool SetTransparent(wxByte alpha);
|
||||
virtual bool CanSetTransparent();
|
||||
virtual bool SetTransparent(wxByte alpha) wxOVERRIDE;
|
||||
virtual bool CanSetTransparent() wxOVERRIDE;
|
||||
|
||||
virtual bool SetBackgroundStyle(wxBackgroundStyle style);
|
||||
virtual bool SetBackgroundStyle(wxBackgroundStyle style) wxOVERRIDE;
|
||||
|
||||
virtual void Update();
|
||||
virtual void Update() wxOVERRIDE;
|
||||
|
||||
WXWindow GetWXWindow() const ;
|
||||
static wxNonOwnedWindow* GetFromWXWindow( WXWindow win );
|
||||
@@ -90,21 +90,21 @@ public:
|
||||
static void MacDelayedDeactivation(long timestamp);
|
||||
virtual void MacActivate( long timestamp , bool inIsActivating ) ;
|
||||
|
||||
virtual void SetWindowStyleFlag(long flags);
|
||||
virtual void SetWindowStyleFlag(long flags) wxOVERRIDE;
|
||||
|
||||
virtual void Raise();
|
||||
virtual void Lower();
|
||||
virtual bool Show( bool show = true );
|
||||
virtual void Raise() wxOVERRIDE;
|
||||
virtual void Lower() wxOVERRIDE;
|
||||
virtual bool Show( bool show = true ) wxOVERRIDE;
|
||||
|
||||
virtual void SetExtraStyle(long exStyle) ;
|
||||
virtual void SetExtraStyle(long exStyle) wxOVERRIDE;
|
||||
|
||||
virtual bool SetBackgroundColour( const wxColour &colour );
|
||||
virtual bool SetBackgroundColour( const wxColour &colour ) wxOVERRIDE;
|
||||
|
||||
wxNonOwnedWindowImpl* GetNonOwnedPeer() const { return m_nowpeer; }
|
||||
|
||||
#if wxOSX_USE_COCOA_OR_IPHONE
|
||||
// override the base class method to return an NSWindow instead of NSView
|
||||
virtual void *OSXGetViewOrWindow() const;
|
||||
virtual void *OSXGetViewOrWindow() const wxOVERRIDE;
|
||||
#endif // Cocoa
|
||||
|
||||
// osx specific event handling common for all osx-ports
|
||||
@@ -120,25 +120,25 @@ public:
|
||||
|
||||
void WindowWasPainted();
|
||||
|
||||
virtual bool Destroy();
|
||||
virtual bool Destroy() wxOVERRIDE;
|
||||
|
||||
protected:
|
||||
// common part of all ctors
|
||||
void Init();
|
||||
|
||||
virtual void DoGetPosition( int *x, int *y ) const;
|
||||
virtual void DoGetSize( int *width, int *height ) const;
|
||||
virtual void DoMoveWindow(int x, int y, int width, int height);
|
||||
virtual void DoGetClientSize(int *width, int *height) const;
|
||||
virtual void DoGetPosition( int *x, int *y ) const wxOVERRIDE;
|
||||
virtual void DoGetSize( int *width, int *height ) const wxOVERRIDE;
|
||||
virtual void DoMoveWindow(int x, int y, int width, int height) wxOVERRIDE;
|
||||
virtual void DoGetClientSize(int *width, int *height) const wxOVERRIDE;
|
||||
|
||||
virtual bool OSXShowWithEffect(bool show,
|
||||
wxShowEffect effect,
|
||||
unsigned timeout);
|
||||
unsigned timeout) wxOVERRIDE;
|
||||
|
||||
virtual bool DoClearShape();
|
||||
virtual bool DoSetRegionShape(const wxRegion& region);
|
||||
virtual bool DoClearShape() wxOVERRIDE;
|
||||
virtual bool DoSetRegionShape(const wxRegion& region) wxOVERRIDE;
|
||||
#if wxUSE_GRAPHICS_CONTEXT
|
||||
virtual bool DoSetPathShape(const wxGraphicsPath& path);
|
||||
virtual bool DoSetPathShape(const wxGraphicsPath& path) wxOVERRIDE;
|
||||
#endif // wxUSE_GRAPHICS_CONTEXT
|
||||
|
||||
virtual void WillBeDestroyed();
|
||||
|
@@ -27,11 +27,11 @@ public:
|
||||
int GetPixel(unsigned char red, unsigned char green, unsigned char blue) const;
|
||||
bool GetRGB(int pixel, unsigned char *red, unsigned char *green, unsigned char *blue) const;
|
||||
|
||||
virtual int GetColoursCount() const;
|
||||
virtual int GetColoursCount() const wxOVERRIDE;
|
||||
|
||||
protected:
|
||||
virtual wxGDIRefData *CreateGDIRefData() const;
|
||||
virtual wxGDIRefData *CloneGDIRefData(const wxGDIRefData *data) const;
|
||||
virtual wxGDIRefData *CreateGDIRefData() const wxOVERRIDE;
|
||||
virtual wxGDIRefData *CloneGDIRefData(const wxGDIRefData *data) const wxOVERRIDE;
|
||||
|
||||
private:
|
||||
wxDECLARE_DYNAMIC_CLASS(wxPalette);
|
||||
|
@@ -32,25 +32,25 @@ public:
|
||||
bool operator!=(const wxPen& pen) const { return !(*this == pen); }
|
||||
|
||||
// Override in order to recreate the pen
|
||||
void SetColour(const wxColour& col) ;
|
||||
void SetColour(unsigned char r, unsigned char g, unsigned char b) ;
|
||||
void SetColour(const wxColour& col) wxOVERRIDE;
|
||||
void SetColour(unsigned char r, unsigned char g, unsigned char b) wxOVERRIDE;
|
||||
|
||||
void SetWidth(int width) ;
|
||||
void SetStyle(wxPenStyle style) ;
|
||||
void SetStipple(const wxBitmap& stipple) ;
|
||||
void SetDashes(int nb_dashes, const wxDash *dash) ;
|
||||
void SetJoin(wxPenJoin join) ;
|
||||
void SetCap(wxPenCap cap) ;
|
||||
void SetWidth(int width) wxOVERRIDE;
|
||||
void SetStyle(wxPenStyle style) wxOVERRIDE;
|
||||
void SetStipple(const wxBitmap& stipple) wxOVERRIDE;
|
||||
void SetDashes(int nb_dashes, const wxDash *dash) wxOVERRIDE;
|
||||
void SetJoin(wxPenJoin join) wxOVERRIDE;
|
||||
void SetCap(wxPenCap cap) wxOVERRIDE;
|
||||
|
||||
wxColour GetColour() const ;
|
||||
int GetWidth() const;
|
||||
wxPenStyle GetStyle() const;
|
||||
wxPenJoin GetJoin() const;
|
||||
wxPenCap GetCap() const;
|
||||
int GetDashes(wxDash **ptr) const;
|
||||
wxColour GetColour() const wxOVERRIDE;
|
||||
int GetWidth() const wxOVERRIDE;
|
||||
wxPenStyle GetStyle() const wxOVERRIDE;
|
||||
wxPenJoin GetJoin() const wxOVERRIDE;
|
||||
wxPenCap GetCap() const wxOVERRIDE;
|
||||
int GetDashes(wxDash **ptr) const wxOVERRIDE;
|
||||
int GetDashCount() const;
|
||||
|
||||
wxBitmap *GetStipple() const ;
|
||||
wxBitmap *GetStipple() const wxOVERRIDE;
|
||||
|
||||
|
||||
wxDEPRECATED_MSG("use wxPENSTYLE_XXX constants")
|
||||
@@ -65,8 +65,8 @@ public:
|
||||
bool RealizeResource();
|
||||
|
||||
protected:
|
||||
virtual wxGDIRefData *CreateGDIRefData() const;
|
||||
virtual wxGDIRefData *CloneGDIRefData(const wxGDIRefData *data) const;
|
||||
virtual wxGDIRefData *CreateGDIRefData() const wxOVERRIDE;
|
||||
virtual wxGDIRefData *CloneGDIRefData(const wxGDIRefData *data) const wxOVERRIDE;
|
||||
|
||||
private:
|
||||
void Unshare();
|
||||
|
@@ -26,7 +26,7 @@ public:
|
||||
|
||||
bool Create(wxWindow *parent, int flags = wxBORDER_NONE);
|
||||
|
||||
virtual bool Show(bool show = true);
|
||||
virtual bool Show(bool show = true) wxOVERRIDE;
|
||||
|
||||
wxDECLARE_DYNAMIC_CLASS_NO_COPY(wxPopupWindow);
|
||||
};
|
||||
|
@@ -33,11 +33,11 @@ public:
|
||||
virtual ~wxMacPrintDialog();
|
||||
|
||||
bool Create(wxWindow *parent, wxPrintDialogData* data = NULL);
|
||||
virtual int ShowModal();
|
||||
virtual int ShowModal() wxOVERRIDE;
|
||||
|
||||
virtual wxPrintDialogData& GetPrintDialogData() { return m_printDialogData; }
|
||||
virtual wxPrintData& GetPrintData() { return m_printDialogData.GetPrintData(); }
|
||||
virtual wxDC *GetPrintDC();
|
||||
virtual wxPrintDialogData& GetPrintDialogData() wxOVERRIDE { return m_printDialogData; }
|
||||
virtual wxPrintData& GetPrintData() wxOVERRIDE { return m_printDialogData.GetPrintData(); }
|
||||
virtual wxDC *GetPrintDC() wxOVERRIDE;
|
||||
|
||||
private:
|
||||
wxPrintDialogData m_printDialogData;
|
||||
@@ -60,10 +60,10 @@ public:
|
||||
wxMacPageSetupDialog(wxWindow *parent, wxPageSetupDialogData *data = NULL);
|
||||
virtual ~wxMacPageSetupDialog();
|
||||
|
||||
virtual wxPageSetupDialogData& GetPageSetupDialogData();
|
||||
virtual wxPageSetupDialogData& GetPageSetupDialogData() wxOVERRIDE;
|
||||
|
||||
bool Create(wxWindow *parent, wxPageSetupDialogData *data = NULL);
|
||||
virtual int ShowModal();
|
||||
virtual int ShowModal() wxOVERRIDE;
|
||||
|
||||
private:
|
||||
wxPageSetupDialogData m_pageSetupData;
|
||||
@@ -86,7 +86,7 @@ class WXDLLIMPEXP_CORE wxMacPageMarginsDialog : public wxDialog
|
||||
public:
|
||||
wxMacPageMarginsDialog(wxFrame* parent, wxPageSetupDialogData* data);
|
||||
bool TransferToWindow();
|
||||
bool TransferDataFromWindow();
|
||||
bool TransferDataFromWindow() wxOVERRIDE;
|
||||
|
||||
virtual wxPageSetupDialogData& GetPageSetupDialogData() { return *m_pageSetupDialogData; }
|
||||
|
||||
|
@@ -27,9 +27,9 @@ public:
|
||||
|
||||
virtual bool Print(wxWindow *parent,
|
||||
wxPrintout *printout,
|
||||
bool prompt = true);
|
||||
virtual wxDC* PrintDialog(wxWindow *parent);
|
||||
virtual bool Setup(wxWindow *parent);
|
||||
bool prompt = true) wxOVERRIDE;
|
||||
virtual wxDC* PrintDialog(wxWindow *parent) wxOVERRIDE;
|
||||
virtual bool Setup(wxWindow *parent) wxOVERRIDE;
|
||||
|
||||
};
|
||||
|
||||
@@ -51,8 +51,8 @@ public:
|
||||
wxPrintData *data);
|
||||
virtual ~wxMacPrintPreview();
|
||||
|
||||
virtual bool Print(bool interactive);
|
||||
virtual void DetermineScaling();
|
||||
virtual bool Print(bool interactive) wxOVERRIDE;
|
||||
virtual void DetermineScaling() wxOVERRIDE;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
@@ -40,14 +40,14 @@ public:
|
||||
|
||||
// implementation
|
||||
|
||||
void Command(wxCommandEvent& event);
|
||||
void Command(wxCommandEvent& event) wxOVERRIDE;
|
||||
wxRadioButton *AddInCycle(wxRadioButton *cycle);
|
||||
void RemoveFromCycle();
|
||||
wxRadioButton *NextInCycle() {return m_cycle;}
|
||||
|
||||
// osx specific event handling common for all osx-ports
|
||||
|
||||
virtual bool OSXHandleClicked( double timestampsec );
|
||||
virtual bool OSXHandleClicked(double timestampsec) wxOVERRIDE;
|
||||
protected:
|
||||
|
||||
wxRadioButton *m_cycle;
|
||||
|
@@ -64,7 +64,7 @@ public:
|
||||
static void SoundStopped(const wxSoundData* data);
|
||||
|
||||
protected:
|
||||
bool DoPlay(unsigned flags) const;
|
||||
bool DoPlay(unsigned flags) const wxOVERRIDE;
|
||||
void Init();
|
||||
|
||||
private:
|
||||
|
@@ -51,22 +51,22 @@ public:
|
||||
|
||||
|
||||
// accessors
|
||||
virtual void SetRange(int minVal, int maxVal);
|
||||
virtual int GetValue() const ;
|
||||
virtual void SetValue(int val);
|
||||
virtual void SetRange(int minVal, int maxVal) wxOVERRIDE;
|
||||
virtual int GetValue() const wxOVERRIDE;
|
||||
virtual void SetValue(int val) wxOVERRIDE;
|
||||
|
||||
// implementation
|
||||
|
||||
virtual void TriggerScrollEvent( wxEventType scrollEvent ) ;
|
||||
virtual void TriggerScrollEvent( wxEventType scrollEvent ) wxOVERRIDE;
|
||||
|
||||
// osx specific event handling common for all osx-ports
|
||||
|
||||
virtual bool OSXHandleClicked( double timestampsec );
|
||||
virtual bool OSXHandleClicked( double timestampsec ) wxOVERRIDE;
|
||||
|
||||
protected:
|
||||
void SendThumbTrackEvent() ;
|
||||
|
||||
virtual wxSize DoGetBestSize() const;
|
||||
virtual wxSize DoGetBestSize() const wxOVERRIDE;
|
||||
|
||||
private:
|
||||
wxDECLARE_DYNAMIC_CLASS(wxSpinButton);
|
||||
|
@@ -34,15 +34,15 @@ public:
|
||||
long style = 0,
|
||||
const wxString& name = wxStaticBoxNameStr);
|
||||
|
||||
virtual void Command(wxCommandEvent& WXUNUSED(event)) {}
|
||||
virtual void Command(wxCommandEvent& WXUNUSED(event)) wxOVERRIDE {}
|
||||
virtual void ProcessCommand(wxCommandEvent& WXUNUSED(event)) {}
|
||||
|
||||
virtual void GetBordersForSizer(int *borderTop, int *borderOther) const;
|
||||
virtual void GetBordersForSizer(int *borderTop, int *borderOther) const wxOVERRIDE;
|
||||
|
||||
virtual bool AcceptsFocus() const { return false; }
|
||||
virtual bool AcceptsFocus() const wxOVERRIDE { return false; }
|
||||
|
||||
// protect native font of box
|
||||
virtual bool SetFont( const wxFont &font );
|
||||
virtual bool SetFont( const wxFont &font ) wxOVERRIDE;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
@@ -34,20 +34,20 @@ public:
|
||||
const wxString& name = wxStaticTextNameStr);
|
||||
|
||||
// accessors
|
||||
void SetLabel( const wxString &str ) ;
|
||||
bool SetFont( const wxFont &font );
|
||||
void SetLabel( const wxString &str ) wxOVERRIDE;
|
||||
bool SetFont( const wxFont &font ) wxOVERRIDE;
|
||||
|
||||
virtual bool AcceptsFocus() const { return false; }
|
||||
virtual bool AcceptsFocus() const wxOVERRIDE { return false; }
|
||||
|
||||
protected :
|
||||
|
||||
virtual wxString DoGetLabel() const;
|
||||
virtual void DoSetLabel(const wxString& str);
|
||||
virtual wxString DoGetLabel() const wxOVERRIDE;
|
||||
virtual void DoSetLabel(const wxString& str) wxOVERRIDE;
|
||||
|
||||
virtual wxSize DoGetBestSize() const ;
|
||||
virtual wxSize DoGetBestSize() const wxOVERRIDE;
|
||||
|
||||
#if wxUSE_MARKUP && wxOSX_USE_COCOA
|
||||
virtual bool DoSetLabelMarkup(const wxString& markup);
|
||||
virtual bool DoSetLabelMarkup(const wxString& markup) wxOVERRIDE;
|
||||
#endif // wxUSE_MARKUP && wxOSX_USE_COCOA
|
||||
|
||||
wxDECLARE_DYNAMIC_CLASS_NO_COPY(wxStaticText);
|
||||
|
@@ -34,58 +34,58 @@ public:
|
||||
wxTextEntry();
|
||||
virtual ~wxTextEntry();
|
||||
|
||||
virtual bool IsEditable() const;
|
||||
virtual bool IsEditable() const wxOVERRIDE;
|
||||
|
||||
// If the return values from and to are the same, there is no selection.
|
||||
virtual void GetSelection(long* from, long* to) const;
|
||||
virtual void GetSelection(long* from, long* to) const wxOVERRIDE;
|
||||
|
||||
// operations
|
||||
// ----------
|
||||
|
||||
// editing
|
||||
virtual void Clear();
|
||||
virtual void Remove(long from, long to);
|
||||
virtual void Clear() wxOVERRIDE;
|
||||
virtual void Remove(long from, long to) wxOVERRIDE;
|
||||
|
||||
// set the max number of characters which may be entered
|
||||
// in a single line text control
|
||||
virtual void SetMaxLength(unsigned long len);
|
||||
virtual void SetMaxLength(unsigned long len) wxOVERRIDE;
|
||||
|
||||
virtual void ForceUpper();
|
||||
virtual void ForceUpper() wxOVERRIDE;
|
||||
|
||||
// writing text inserts it at the current position;
|
||||
// appending always inserts it at the end
|
||||
virtual void WriteText(const wxString& text);
|
||||
virtual void WriteText(const wxString& text) wxOVERRIDE;
|
||||
|
||||
// Clipboard operations
|
||||
virtual void Copy();
|
||||
virtual void Cut();
|
||||
virtual void Paste();
|
||||
virtual void Copy() wxOVERRIDE;
|
||||
virtual void Cut() wxOVERRIDE;
|
||||
virtual void Paste() wxOVERRIDE;
|
||||
|
||||
virtual bool CanCopy() const;
|
||||
virtual bool CanCut() const;
|
||||
virtual bool CanPaste() const;
|
||||
virtual bool CanCopy() const wxOVERRIDE;
|
||||
virtual bool CanCut() const wxOVERRIDE;
|
||||
virtual bool CanPaste() const wxOVERRIDE;
|
||||
|
||||
// Undo/redo
|
||||
virtual void Undo();
|
||||
virtual void Redo();
|
||||
virtual void Undo() wxOVERRIDE;
|
||||
virtual void Redo() wxOVERRIDE;
|
||||
|
||||
virtual bool CanUndo() const;
|
||||
virtual bool CanRedo() const;
|
||||
virtual bool CanUndo() const wxOVERRIDE;
|
||||
virtual bool CanRedo() const wxOVERRIDE;
|
||||
|
||||
// Insertion point
|
||||
virtual void SetInsertionPoint(long pos);
|
||||
virtual void SetInsertionPointEnd();
|
||||
virtual long GetInsertionPoint() const;
|
||||
virtual void SetInsertionPoint(long pos) wxOVERRIDE;
|
||||
virtual void SetInsertionPointEnd() wxOVERRIDE;
|
||||
virtual long GetInsertionPoint() const wxOVERRIDE;
|
||||
virtual wxTextPos GetLastPosition() const;
|
||||
|
||||
virtual void SetSelection(long from, long to);
|
||||
virtual void SetEditable(bool editable);
|
||||
virtual void SetSelection(long from, long to) wxOVERRIDE;
|
||||
virtual void SetEditable(bool editable) wxOVERRIDE;
|
||||
|
||||
virtual bool SendMaxLenEvent();
|
||||
|
||||
// set the grayed out hint text
|
||||
virtual bool SetHint(const wxString& hint);
|
||||
virtual wxString GetHint() const;
|
||||
virtual bool SetHint(const wxString& hint) wxOVERRIDE;
|
||||
virtual wxString GetHint() const wxOVERRIDE;
|
||||
|
||||
// Implementation
|
||||
// --------------
|
||||
@@ -95,10 +95,10 @@ public:
|
||||
|
||||
protected:
|
||||
|
||||
virtual wxString DoGetValue() const;
|
||||
virtual wxString DoGetValue() const wxOVERRIDE;
|
||||
|
||||
virtual bool DoAutoCompleteStrings(const wxArrayString& choices);
|
||||
virtual bool DoAutoCompleteCustom(wxTextCompleter *completer);
|
||||
virtual bool DoAutoCompleteStrings(const wxArrayString& choices) wxOVERRIDE;
|
||||
virtual bool DoAutoCompleteCustom(wxTextCompleter *completer) wxOVERRIDE;
|
||||
|
||||
// The object providing auto-completions or NULL if none.
|
||||
wxTextCompleter *m_completer;
|
||||
|
@@ -37,15 +37,15 @@ public:
|
||||
const wxValidator& validator = wxDefaultValidator,
|
||||
const wxString& name = wxCheckBoxNameStr);
|
||||
|
||||
virtual void SetValue(bool value);
|
||||
virtual bool GetValue() const ;
|
||||
virtual void SetValue(bool value) wxOVERRIDE;
|
||||
virtual bool GetValue() const wxOVERRIDE;
|
||||
|
||||
virtual bool OSXHandleClicked( double timestampsec );
|
||||
virtual bool OSXHandleClicked( double timestampsec ) wxOVERRIDE;
|
||||
|
||||
virtual void Command(wxCommandEvent& event);
|
||||
virtual void Command(wxCommandEvent& event) wxOVERRIDE;
|
||||
|
||||
protected:
|
||||
virtual wxBorder GetDefaultBorder() const { return wxBORDER_NONE; }
|
||||
virtual wxBorder GetDefaultBorder() const wxOVERRIDE { return wxBORDER_NONE; }
|
||||
|
||||
private:
|
||||
wxDECLARE_DYNAMIC_CLASS_NO_COPY(wxToggleButton);
|
||||
|
@@ -41,7 +41,7 @@ public:
|
||||
const wxValidator& validator = wxDefaultValidator,
|
||||
const wxString& name = wxTimePickerCtrlNameStr);
|
||||
|
||||
virtual void OSXGenerateEvent(const wxDateTime& dt);
|
||||
virtual void OSXGenerateEvent(const wxDateTime& dt) wxOVERRIDE;
|
||||
|
||||
private:
|
||||
wxDECLARE_DYNAMIC_CLASS_NO_COPY(wxTimePickerCtrl);
|
||||
|
Reference in New Issue
Block a user