]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/statbox.cpp
wxListbook needs to clean up the wxListCtrl when DeleteAllPages is called.
[wxWidgets.git] / src / msw / statbox.cpp
index 646fd625679e1af574359daefc249bd31dc71a6b..2edf27b718e6baba6233d49cc87c1538d39522bc 100644 (file)
@@ -143,7 +143,7 @@ bool wxStaticBox::Create(wxWindow *parent,
 wxSize wxStaticBox::DoGetBestSize() const
 {
     int cx, cy;
-    wxGetCharSize(GetHWND(), &cx, &cy, &GetFont());
+    wxGetCharSize(GetHWND(), &cx, &cy, GetFont());
 
     int wBox;
     GetTextExtent(wxGetWindowText(m_hWnd), &wBox, &cy);