From: Unknown (JL) Date: Sun, 28 Nov 1999 22:12:21 +0000 (+0000) Subject: DoSetSize has to be virtual because subtype controls may have different implementation X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/394e8031cb25dbda3c6efacc217af157e6717ed0 DoSetSize has to be virtual because subtype controls may have different implementation git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4741 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/mac/control.h b/include/wx/mac/control.h index 6f7c964c95..3770d647f2 100644 --- a/include/wx/mac/control.h +++ b/include/wx/mac/control.h @@ -56,7 +56,7 @@ public: virtual void MacSuperShown( bool show ) ; virtual bool MacCanFocus() const ; - void DoSetSize(int x, int y,int width, int height,int sizeFlags ) ; + virtual void DoSetSize(int x, int y,int width, int height,int sizeFlags ) ; virtual void OnKeyDown( wxKeyEvent &event ) ; virtual void OnMouseEvent( wxMouseEvent &event ) ; virtual void OnPaint(wxPaintEvent& event) ;