No changes, just fixes for typos in comments in wxMSW headers.

Closes #16706.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@78239 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2014-12-05 22:18:38 +00:00
parent e841e90fef
commit 08fedc69ef
6 changed files with 9 additions and 9 deletions

View File

@@ -54,7 +54,7 @@ public:
void SetSize(int w, int h) { m_width = w; m_height = h; } 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; virtual void Free() = 0;
// for compatibility, the member fields are public // for compatibility, the member fields are public

View File

@@ -26,7 +26,7 @@
WX_DEFINE_EXPORTED_ARRAY_PTR(wxOwnerDrawn *, wxListBoxItemsArray); WX_DEFINE_EXPORTED_ARRAY_PTR(wxOwnerDrawn *, wxListBoxItemsArray);
#endif // wxUSE_OWNER_DRAWN #endif // wxUSE_OWNER_DRAWN
// forward decl for GetSelections() // forward declaration for GetSelections()
class WXDLLIMPEXP_FWD_BASE wxArrayInt; class WXDLLIMPEXP_FWD_BASE wxArrayInt;
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------
@@ -130,7 +130,7 @@ public:
WXDWORD MSWGetStyle(long style, WXDWORD *exstyle) const; WXDWORD MSWGetStyle(long style, WXDWORD *exstyle) const;
// under XP when using "transition effect for menus and tooltips" if we // 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() virtual bool MSWShouldPropagatePrintChild()
{ {
return false; return false;

View File

@@ -35,7 +35,7 @@ public:
GetRGB(int pixel, GetRGB(int pixel,
unsigned char *red, unsigned char *green, unsigned char *blue) const; unsigned char *red, unsigned char *green, unsigned char *blue) const;
// implemetation // implementation
WXHPALETTE GetHPALETTE() const; WXHPALETTE GetHPALETTE() const;
void SetHPALETTE(WXHPALETTE pal); void SetHPALETTE(WXHPALETTE pal);

View File

@@ -222,7 +222,7 @@ protected:
WXHANDLE m_handle; 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 // the struct fields and also sets cbSize member to the correct value (and so
// can be only used with structures which have this member...) // can be only used with structures which have this member...)
template <class T> template <class T>
@@ -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. // mask is created using light grey as the transparent colour.
extern HICON wxBitmapToHICON(const wxBitmap& bmp); 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. // size.
extern extern
HCURSOR wxBitmapToHCURSOR(const wxBitmap& bmp, int hotSpotX, int hotSpotY); 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() // 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 // an argument which should be a pointer or reference to the object of the
// corresponding class (this depends on the macro) // corresponding class (this depends on the macro)
// --------------------------------------------------------------------------- // ---------------------------------------------------------------------------

View File

@@ -56,7 +56,7 @@ namespace wxMSWMessageDialog
wxString btnCancelLabel; wxString btnCancelLabel;
wxString btnHelpLabel; 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. // stored in the provided TASKDIALOGCONFIG parameter.
// NOTE: The wxMSWTaskDialogConfig object needs to remain accessible // NOTE: The wxMSWTaskDialogConfig object needs to remain accessible
// during the subsequent call to TaskDialogIndirect(). // during the subsequent call to TaskDialogIndirect().

View File

@@ -1,6 +1,6 @@
///////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////
// Name: include/wx/msw/webview_missing.h // 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 // Author: Steven Lamerton
// Copyright: (c) 2012 Steven Lamerton // Copyright: (c) 2012 Steven Lamerton
// Licence: wxWindows licence // Licence: wxWindows licence