X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c0ed460c2e7802793d591c84f3cfdbff159c5549..cfad3750c3ecc821ffae8b9b3de852551270846d:/src/msw/statbox.cpp diff --git a/src/msw/statbox.cpp b/src/msw/statbox.cpp index eb82270972..0be462b295 100644 --- a/src/msw/statbox.cpp +++ b/src/msw/statbox.cpp @@ -131,10 +131,10 @@ void wxStaticBox::SetSize(int x, int y, int width, int height, int sizeFlags) int cy; int cyf; - wxGetCharSize(GetHWND(), &cx, &cy, & GetFont()); + wxGetCharSize(GetHWND(), &cx, &cy, & this->GetFont()); GetTextExtent(wxGetWindowText(m_hWnd), ¤t_width, &cyf, - NULL,NULL, & GetFont()); + NULL,NULL, & this->GetFont()); if ( w1 < 0 ) w1 = current_width + 3*cx; if ( h1 < 0 )