]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/statbox.cpp
Added (untested) support for sub-locales.
[wxWidgets.git] / src / msw / statbox.cpp
index eb82270972f24a35402388ca42ec610053aa0823..0be462b295667065d7f678ba416eec9f7b675ca3 100644 (file)
@@ -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), &current_width, &cyf,
-                NULL,NULL, & GetFont());
+                NULL,NULL, & this->GetFont());
   if ( w1 < 0 )
    w1 = current_width + 3*cx;
   if ( h1 < 0 )