]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/button.cpp
fixed warnings after GetFont prototype change
[wxWidgets.git] / src / msw / button.cpp
index d0c52ac1947251c7e276bf572c0c5711ac112abd..06e356af658a4369e7ad98d7c09d845cea529b54 100644 (file)
@@ -203,7 +203,7 @@ wxSize wxButton::DoGetBestSize() const
     GetTextExtent(wxGetWindowText(GetHWND()), &wBtn, NULL);
 
     int wChar, hChar;
-    wxGetCharSize(GetHWND(), &wChar, &hChar, &GetFont());
+    wxGetCharSize(GetHWND(), &wChar, &hChar, GetFont());
 
     // add a margin -- the button is wider than just its label
     wBtn += 3*wChar;