Add wxWindowBase::SetDoubleBuffered() stub
This method was already provided by wxGTK and wxMSW, but not wxOSX nor any other ports. Provide a stub for it in wxWindowBase to allow user code to call it on all platforms, there is no harm in that even if it doesn't (and can't) do anything under macOS.
This commit is contained in:
@@ -122,8 +122,7 @@ public:
|
||||
virtual bool DoIsExposed( int x, int y ) const wxOVERRIDE;
|
||||
virtual bool DoIsExposed( int x, int y, int w, int h ) const wxOVERRIDE;
|
||||
|
||||
// currently wxGTK2-only
|
||||
void SetDoubleBuffered(bool on);
|
||||
virtual void SetDoubleBuffered(bool on) wxOVERRIDE;
|
||||
virtual bool IsDoubleBuffered() const wxOVERRIDE;
|
||||
|
||||
// SetLabel(), which does nothing in wxWindow
|
||||
|
Reference in New Issue
Block a user