fix bug VC6 with returning void function

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50752 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Chris Elliott 2007-12-16 20:10:17 +00:00
parent 16b0811668
commit 243ef54b39

View File

@ -187,7 +187,8 @@ public:
virtual void DoGetSize(int *width, int *height) const = 0; virtual void DoGetSize(int *width, int *height) const = 0;
void GetSize(int *width, int *height) const void GetSize(int *width, int *height) const
{ {
return DoGetSize(width, height); DoGetSize(width, height);
return ;
} }
wxSize GetSize() const wxSize GetSize() const