diff --git a/include/wx/msw/gdiimage.h b/include/wx/msw/gdiimage.h index d085e50a4a..18ebbb8f20 100644 --- a/include/wx/msw/gdiimage.h +++ b/include/wx/msw/gdiimage.h @@ -54,7 +54,7 @@ public: void SetSize(int w, int h) { m_width = w; m_height = h; } - // free the ressources we allocated + // free the resources we allocated virtual void Free() = 0; // for compatibility, the member fields are public diff --git a/include/wx/msw/listbox.h b/include/wx/msw/listbox.h index 1181d0fc89..a08cd9ad16 100644 --- a/include/wx/msw/listbox.h +++ b/include/wx/msw/listbox.h @@ -26,7 +26,7 @@ WX_DEFINE_EXPORTED_ARRAY_PTR(wxOwnerDrawn *, wxListBoxItemsArray); #endif // wxUSE_OWNER_DRAWN -// forward decl for GetSelections() +// forward declaration for GetSelections() class WXDLLIMPEXP_FWD_BASE wxArrayInt; // ---------------------------------------------------------------------------- @@ -130,7 +130,7 @@ public: WXDWORD MSWGetStyle(long style, WXDWORD *exstyle) const; // under XP when using "transition effect for menus and tooltips" if we - // return true for WM_PRINTCLIENT here then it causes noticable slowdown + // return true for WM_PRINTCLIENT here then it causes noticeable slowdown virtual bool MSWShouldPropagatePrintChild() { return false; diff --git a/include/wx/msw/palette.h b/include/wx/msw/palette.h index 78477b4320..0472a07b44 100644 --- a/include/wx/msw/palette.h +++ b/include/wx/msw/palette.h @@ -35,7 +35,7 @@ public: GetRGB(int pixel, unsigned char *red, unsigned char *green, unsigned char *blue) const; - // implemetation + // implementation WXHPALETTE GetHPALETTE() const; void SetHPALETTE(WXHPALETTE pal); diff --git a/include/wx/msw/private.h b/include/wx/msw/private.h index c4bf30e918..afa0459a53 100644 --- a/include/wx/msw/private.h +++ b/include/wx/msw/private.h @@ -222,7 +222,7 @@ protected: WXHANDLE m_handle; }; -// a template to make initializing Windows styructs less painful: it zeroes all +// a template to make initializing Windows structs less painful: it zeros all // the struct fields and also sets cbSize member to the correct value (and so // can be only used with structures which have this member...) template @@ -344,7 +344,7 @@ extern HBITMAP wxInvertMask(HBITMAP hbmpMask, int w = 0, int h = 0); // mask is created using light grey as the transparent colour. extern HICON wxBitmapToHICON(const wxBitmap& bmp); -// Same requirments as above apply and the bitmap must also have the correct +// Same requirements as above apply and the bitmap must also have the correct // size. extern HCURSOR wxBitmapToHCURSOR(const wxBitmap& bmp, int hotSpotX, int hotSpotY); @@ -861,7 +861,7 @@ private: // --------------------------------------------------------------------------- // macros to make casting between WXFOO and FOO a bit easier: the GetFoo() -// returns Foo cast to the Windows type for oruselves, while GetFooOf() takes +// returns Foo cast to the Windows type for ourselves, while GetFooOf() takes // an argument which should be a pointer or reference to the object of the // corresponding class (this depends on the macro) // --------------------------------------------------------------------------- diff --git a/include/wx/msw/private/msgdlg.h b/include/wx/msw/private/msgdlg.h index e8946503be..cb56df484b 100644 --- a/include/wx/msw/private/msgdlg.h +++ b/include/wx/msw/private/msgdlg.h @@ -56,7 +56,7 @@ namespace wxMSWMessageDialog wxString btnCancelLabel; wxString btnHelpLabel; - // Will create a task dialog with it's paremeters for it's creation + // Will create a task dialog with it's parameters for it's creation // stored in the provided TASKDIALOGCONFIG parameter. // NOTE: The wxMSWTaskDialogConfig object needs to remain accessible // during the subsequent call to TaskDialogIndirect(). diff --git a/include/wx/msw/webview_missing.h b/include/wx/msw/webview_missing.h index 70143ae7f7..514ae1e56c 100644 --- a/include/wx/msw/webview_missing.h +++ b/include/wx/msw/webview_missing.h @@ -1,6 +1,6 @@ ///////////////////////////////////////////////////////////////////////////// // Name: include/wx/msw/webview_missing.h -// Purpose: Defintions / classes commonly missing used by wxWebViewIE +// Purpose: Definitions / classes commonly missing used by wxWebViewIE // Author: Steven Lamerton // Copyright: (c) 2012 Steven Lamerton // Licence: wxWindows licence