]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/carbon/statbox.cpp
Applied patch [ 1184295 ] wxDateTimePickerCtrl Create() fix for wxDP_ALLOWNONE
[wxWidgets.git] / src / mac / carbon / statbox.cpp
index 50e62f2b92681269f9c36d0e2c44e2f8cbbfef18..d0e09ff22730205f01fd0cae6ce05fe605acc99b 100644 (file)
@@ -76,7 +76,7 @@ void wxStaticBox::GetBordersForSizer(int *borderTop, int *borderOther) const
 
     }
 
-    *borderTop = extraTop + box->GetCharHeight();
+    *borderTop = extraTop + GetCharHeight();
     *borderOther = other;
 }