summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--vcl/inc/osx/salnativewidgets.h4
-rw-r--r--vcl/osx/salnativewidgets.cxx2
2 files changed, 3 insertions, 3 deletions
diff --git a/vcl/inc/osx/salnativewidgets.h b/vcl/inc/osx/salnativewidgets.h
index 67d3a37612e7..3fdcdc40ca97 100644
--- a/vcl/inc/osx/salnativewidgets.h
+++ b/vcl/inc/osx/salnativewidgets.h
@@ -35,7 +35,7 @@
#define RADIO_BUTTON_SMALL_SIZE 14 // width/height of small radio button without focus ring in pixels
#define RADIO_BUTTON_TEXT_SEPARATOR 3 // space between radio button and following text in pixels
-#define CHECKBOX_SMALL_SIZE 14 // width/heiht of checkbox without focus ring in pixels
+#define CHECKBOX_SMALL_SIZE 14 // width/height of checkbox without focus ring in pixels
#define CHECKBOX_TEXT_SEPARATOR 3 // space between checkbox and following text in pixels
#define SLIDER_WIDTH 19 // width of slider in pixels
@@ -60,7 +60,7 @@
#define SPIN_LOWER_BUTTON_HEIGHT 11 // height of lower spin button without focus ring in pixels
// FIXME: spinboxes are positioned one pixel shifted to the right by VCL. As positioning as well as size should be equal to
-// corresponing editboxes, comboboxes or listboxes, positioning of spinboxes should by equal too. Issue cannot be fixed within
+// corresponding editboxes, comboboxes or listboxes, positioning of spinboxes should by equal too. Issue cannot be fixed within
// native widget drawing code. As a workaround, an offset is considered for spinboxes to align spinboxes correctly.
#define SPINBOX_OFFSET 1 // left offset for alignment with editboxes, comboboxes, and listboxes
diff --git a/vcl/osx/salnativewidgets.cxx b/vcl/osx/salnativewidgets.cxx
index 5248251480c5..230735401993 100644
--- a/vcl/osx/salnativewidgets.cxx
+++ b/vcl/osx/salnativewidgets.cxx
@@ -41,7 +41,7 @@
// AquaSalGraphics::getNativeControlRegion to determine native rectangle in pixels to draw the widget
// AquaSalGraphics::drawNativeControl to do the drawing operation itself
-// getNativeControlRegion has to calculate a content rectangle within it is safe to draw the widget. Furthermore a boundig rectangle
+// getNativeControlRegion has to calculate a content rectangle within it is safe to draw the widget. Furthermore a bounding rectangle
// has to be calculated by getNativeControlRegion to consider adornments like a focus rectangle. As drawNativeControl uses Carbon
// API calls, all widgets are drawn without text. Drawing of text is done separately by VCL on top of graphical Carbon widget
// representation. drawNativeControl is called by VCL using content rectangle determined by getNativeControlRegion.