X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3af706cc3164bacc24899e0fc827c28e7ea812b6..580ca0a4e10dbd2fb0a144065004394b9d5dcc56:/include/wx/gdicmn.h diff --git a/include/wx/gdicmn.h b/include/wx/gdicmn.h index a3ff41b1c4..7accd3a796 100644 --- a/include/wx/gdicmn.h +++ b/include/wx/gdicmn.h @@ -239,8 +239,8 @@ public: void DecBy(int d) { DecBy(d, d); } - void Scale(float xscale, float yscale) - { x = (int)(x*xscale); y = (int)(y*yscale); } + wxSize& Scale(float xscale, float yscale) + { x = (int)(x*xscale); y = (int)(y*yscale); return *this; } // accessors void Set(int xx, int yy) { x = xx; y = yy; }