]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/spinctrl.cpp
A little better failure message
[wxWidgets.git] / src / msw / spinctrl.cpp
index a0be1e83d4143b9a3e5ee9c68009ab846c95de7b..36396bf241f62fd0d3c096c2a3f06e71450d5946 100644 (file)
@@ -378,7 +378,7 @@ bool wxSpinCtrl::Create(wxWindow *parent,
     if ( sizeText.y <= 0 )
     {
         int cx, cy;
-        wxGetCharSize(GetHWND(), &cx, &cy, &GetFont());
+        wxGetCharSize(GetHWND(), &cx, &cy, GetFont());
 
         sizeText.y = EDIT_HEIGHT_FROM_CHAR_HEIGHT(cy);
     }
@@ -526,7 +526,7 @@ wxSize wxSpinCtrl::DoGetBestSize() const
     sizeBtn.x += DEFAULT_ITEM_WIDTH + MARGIN_BETWEEN;
 
     int y;
-    wxGetCharSize(GetHWND(), NULL, &y, &GetFont());
+    wxGetCharSize(GetHWND(), NULL, &y, GetFont());
     y = EDIT_HEIGHT_FROM_CHAR_HEIGHT(y);
 
     // JACS: we should always use the height calculated