summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKian-Meng Ang <kianmeng@cpan.org>2022-01-06 21:48:36 +0800
committerKian-Meng Ang <kianmeng@cpan.org>2022-01-19 06:59:08 +0800
commit3b7a02bb33e08180bd3fa90ac91382b1c7c4266a (patch)
tree999a062e36b71d86a1a228f8615c43b1a8966d1e
parentc09ccd513bd6fba692b61fc8a6910c5c60c6bb21 (diff)
downloaderlang-3b7a02bb33e08180bd3fa90ac91382b1c7c4266a.tar.gz
Fix typos in lib/wx
-rw-r--r--lib/wx/api_gen/README2
-rw-r--r--lib/wx/api_gen/apidiff.escript2
-rw-r--r--lib/wx/api_gen/gl_gen_erl.erl2
-rw-r--r--lib/wx/api_gen/wx_doxygen.conf2
-rw-r--r--lib/wx/api_gen/wx_extra/added_func.h4
-rw-r--r--lib/wx/api_gen/wx_extra/wxEvtHandler.erl4
-rw-r--r--lib/wx/api_gen/wx_extra/wxe_evth.h2
-rw-r--r--lib/wx/api_gen/wx_gen.erl4
-rw-r--r--lib/wx/api_gen/wx_gen.hrl2
-rw-r--r--lib/wx/api_gen/wxapi.conf4
-rw-r--r--lib/wx/c_src/egl_impl.c4
-rw-r--r--lib/wx/c_src/wxe_callback_impl.cpp2
-rw-r--r--lib/wx/c_src/wxe_helpers.cpp4
-rw-r--r--lib/wx/c_src/wxe_impl.cpp2
-rw-r--r--lib/wx/c_src/wxe_nif.h2
-rw-r--r--lib/wx/doc/src/notes.xml6
-rw-r--r--lib/wx/examples/demo/demo_html_tagger.erl2
-rw-r--r--lib/wx/examples/demo/ex_sashWindow.erl2
-rw-r--r--lib/wx/examples/demo/ex_sizers.erl4
-rw-r--r--lib/wx/examples/demo/ex_splitterWindow.erl6
-rw-r--r--lib/wx/examples/simple/menu.erl2
-rw-r--r--lib/wx/examples/simple/minimal.erl2
-rw-r--r--lib/wx/src/gen/glu.erl2
-rw-r--r--lib/wx/src/wxe_master.erl2
-rw-r--r--lib/wx/test/wx_basic_SUITE.erl2
-rw-r--r--lib/wx/test/wx_class_SUITE.erl2
-rw-r--r--lib/wx/test/wx_opengl_SUITE.erl2
-rw-r--r--lib/wx/test/wx_xtra_SUITE.erl6
28 files changed, 41 insertions, 41 deletions
diff --git a/lib/wx/api_gen/README b/lib/wx/api_gen/README
index 394469030c..364dbdd9f2 100644
--- a/lib/wx/api_gen/README
+++ b/lib/wx/api_gen/README
@@ -15,7 +15,7 @@ CONFIGURATION:
Adding/changing stuff/classes should be done by updating wxapi.conf
and running make. Sometimes the code generator will require changes,
- I havn't thought of everything yet.
+ I haven't thought of everything yet.
RUNNING:
I use the following alias wxgen='make GL_DIR=/home/dgud/opengl WX_DIR=/home/dgud/src/wxWidgets'
diff --git a/lib/wx/api_gen/apidiff.escript b/lib/wx/api_gen/apidiff.escript
index 952c5453de..61328e6e3e 100644
--- a/lib/wx/api_gen/apidiff.escript
+++ b/lib/wx/api_gen/apidiff.escript
@@ -207,7 +207,7 @@ write([{#f{c=wxShowEvent,f=getShow},_}|Rest], P, K) ->
write([{#f{c=wxSingleChoiceDialog,f=singleChoiceDialog, a=[]},_}|Rest], P, K) ->
write(Rest, P, K+1);
write([{#f{c=wxSizer,f=recalcSizes},_}|Rest], P, K) ->
- io:format("Removed wxSizer:recalcSizer() was an wxWidgets internal function now deprected~n", []),
+ io:format("Removed wxSizer:recalcSizer() was an wxWidgets internal function now deprecated~n", []),
write(Rest, P, K+1);
write([{#f{c=wxSizerItem,f=setWindow},_}|Rest], P, K) ->
io:format("Removed depr wxSizerItem:setWindow() use assignWindow~n", []),
diff --git a/lib/wx/api_gen/gl_gen_erl.erl b/lib/wx/api_gen/gl_gen_erl.erl
index fa5ce4a91f..bf3fdee1a6 100644
--- a/lib/wx/api_gen/gl_gen_erl.erl
+++ b/lib/wx/api_gen/gl_gen_erl.erl
@@ -149,7 +149,7 @@ glu_api(Fs) ->
w("%% @doc General purpose polygon triangulation.~n",[]),
w("%% The first argument is the normal and the second a list of~n"
- "%% vertex positions. Returned is a list of indecies of the vertices~n"
+ "%% vertex positions. Returned is a list of indices of the vertices~n"
"%% and a binary (64bit native float) containing an array of~n"
"%% vertex positions, it starts with the vertices in Vs and~n"
"%% may contain newly created vertices in the end.~n", []),
diff --git a/lib/wx/api_gen/wx_doxygen.conf b/lib/wx/api_gen/wx_doxygen.conf
index b50e1b8af3..74041c819a 100644
--- a/lib/wx/api_gen/wx_doxygen.conf
+++ b/lib/wx/api_gen/wx_doxygen.conf
@@ -80,7 +80,7 @@ ALIASES += beginFlagTable="<div>"
ALIASES += flag{1}="</div>\li <span class='flag'>\1</span>:<div class='flagDesc'>"
ALIASES += endFlagTable="</div>\n"
-# apperance
+# appearance
ALIASES += appearance{1}="\htmlonly \1 \endhtmlonly"
ALIASES += genericAppearance{1}="\htmlonly \1 \endhtmlonly"
diff --git a/lib/wx/api_gen/wx_extra/added_func.h b/lib/wx/api_gen/wx_extra/added_func.h
index 654cc8b430..d3d8527976 100644
--- a/lib/wx/api_gen/wx_extra/added_func.h
+++ b/lib/wx/api_gen/wx_extra/added_func.h
@@ -28,7 +28,7 @@ class WXDLLIMPEXP_ADV wxTreeCtrlBase : public wxControl
static bool IsTreeItemIdOk(wxTreeItemId id);
};
-// The generater needs constructors (is this still valid?)
+// The generator needs constructors (is this still valid?)
class WXDLLIMPEXP_ADV wxGridCellBoolRenderer : public wxGridCellRenderer
{
public:
@@ -49,7 +49,7 @@ class wxMenuBar {
static bool GetAutoWindowMenu() { return s_macAutoWindowMenu ; }
};
-// Deprectated functions in 3.1
+// Deprecated functions in 3.1
class wxWindow {
public:
diff --git a/lib/wx/api_gen/wx_extra/wxEvtHandler.erl b/lib/wx/api_gen/wx_extra/wxEvtHandler.erl
index 8d0d97e8f0..8c1e4279a3 100644
--- a/lib/wx/api_gen/wx_extra/wxEvtHandler.erl
+++ b/lib/wx/api_gen/wx_extra/wxEvtHandler.erl
@@ -16,7 +16,7 @@
%% Beware that the callback will be in executed in new process each time.
%%
%% <a href="http://www.wxwidgets.org/manuals/stable/wx_wxevthandler.html">
-%% The orginal documentation</a>.
+%% The original documentation</a>.
%%
%%
-module(wxEvtHandler).
@@ -52,7 +52,7 @@ connect(This, EventType) ->
%% This is not used if the 'callback' option is used.
%% Default false.
%% {callback, function()} Use a callback fun(EventRecord::wx(), EventObject::wxObject())
-%% to process the event. Default not specfied i.e. a message will
+%% to process the event. Default not specified i.e. a message will
%% be delivered to the process calling this function.
%% {userData, term()} An erlang term that will be sent with the event. Default: [].
-spec connect(This::wxEvtHandler(), EventType::wxEventType(), [Option]) -> 'ok' when
diff --git a/lib/wx/api_gen/wx_extra/wxe_evth.h b/lib/wx/api_gen/wx_extra/wxe_evth.h
index 2d4d7276a8..7b9b189381 100644
--- a/lib/wx/api_gen/wx_extra/wxe_evth.h
+++ b/lib/wx/api_gen/wx_extra/wxe_evth.h
@@ -55,7 +55,7 @@ class wxeEvtHandler : public wxObject
callback: @verbatim {callback,function()} @endverbatim
Use a callback @verbatim fun(EventRecord::wx(),EventObject::wxObject()) @endverbatim
- to process the event. Default not specfied i.e. a message will
+ to process the event. Default not specified i.e. a message will
be delivered to the process calling this function.
userData: @verbatim {userData,term()} @endverbatim
diff --git a/lib/wx/api_gen/wx_gen.erl b/lib/wx/api_gen/wx_gen.erl
index 8f22bfc850..dbe1997921 100644
--- a/lib/wx/api_gen/wx_gen.erl
+++ b/lib/wx/api_gen/wx_gen.erl
@@ -648,7 +648,7 @@ parse_param(#xmlElement{name=declname,content=[C]},_Opts,T) ->
parse_param(#xmlElement{name=defval,content=[#xmlText{value=Def}]},_Opts,T) ->
T#param{def=string:strip(Def)};
parse_param(#xmlElement{name=defval,content=Other},_Opts,T) ->
- %% For defaults = (modifer wxType *) NULL
+ %% For defaults = (modifier wxType *) NULL
Def0 = foldr(fun(#xmlText{value=V}, Acc) -> V ++ Acc;
(#xmlElement{content=[#xmlText{value=V}]},Acc) ->
V ++ Acc
@@ -1522,7 +1522,7 @@ enum_file(File) ->
parse_enums(Files) ->
DontSearch = ["wxchar","filefn", "platform", "strconv", "filename",
"buffer", "string", "debug", "platinfo"],
- %% Arg need to patch some specials, atleast for wx-2.6
+ %% Arg need to patch some specials, at least for wx-2.6
ExtraSearch = ["layout", "utils", "added__func"],
io:format("~nParse Enums~n~n", []),
parse_enums(Files ++ ExtraSearch,gb_sets:from_list(DontSearch)).
diff --git a/lib/wx/api_gen/wx_gen.hrl b/lib/wx/api_gen/wx_gen.hrl
index 252de3d0c9..ede3b56212 100644
--- a/lib/wx/api_gen/wx_gen.hrl
+++ b/lib/wx/api_gen/wx_gen.hrl
@@ -26,7 +26,7 @@
file = undefined,
options = undefined,
abstract = false,
- id, % Unique integer identifer
+ id, % Unique integer identifier
doc
}).
diff --git a/lib/wx/api_gen/wxapi.conf b/lib/wx/api_gen/wxapi.conf
index ac1fc9c9cd..b9077702ee 100644
--- a/lib/wx/api_gen/wxapi.conf
+++ b/lib/wx/api_gen/wxapi.conf
@@ -1501,7 +1501,7 @@
'RightDockable','Row','SafeSet','SetFlag','Show','ToolbarPane',
'Top','TopDockable','Window',
%% Extended func
- %% These are not initilized by default and thus cause crashes
+ %% These are not initialized by default and thus cause crashes
%% {'GetName',
%% [{pre_hook, [{c, "#if 0\n"}]},
%% {post_hook, [{c, "#endif\n if(!This) throw wxe_badarg(0);\n wxString Result = This->name"}]}]},
@@ -2260,7 +2260,7 @@
{class, wxTaskBarIcon, wxEvtHandler, [],
[{wxTaskBarIcon, [{where, taylormade}]},'~wxTaskBarIcon',
- %%'CreatePopupMenu', virtual overrided is a callback
+ %%'CreatePopupMenu', virtual overridden is a callback
%% 'IsIconInstalled', 'IsOk', not available on mac
'PopupMenu','RemoveIcon','SetIcon']}.
diff --git a/lib/wx/c_src/egl_impl.c b/lib/wx/c_src/egl_impl.c
index 2703f55408..55f06b259e 100644
--- a/lib/wx/c_src/egl_impl.c
+++ b/lib/wx/c_src/egl_impl.c
@@ -279,7 +279,7 @@ int egl_load_functions() {
}
/* *******************************************************************************
- * GLU Tesselation special
+ * GLU Tessellation special
* ******************************************************************************/
static GLUtesselator* tess;
@@ -355,7 +355,7 @@ egl_ogla_error(GLenum errorCode)
{
// const GLubyte *err;
// err = gluErrorString(errorCode);
- // fprintf(stderr, "Tesselation error: %d: %s\r\n", (int) errorCode, err);
+ // fprintf(stderr, "Tessellation error: %d: %s\r\n", (int) errorCode, err);
}
void init_tess()
diff --git a/lib/wx/c_src/wxe_callback_impl.cpp b/lib/wx/c_src/wxe_callback_impl.cpp
index 50f6c0166c..e042f00e13 100644
--- a/lib/wx/c_src/wxe_callback_impl.cpp
+++ b/lib/wx/c_src/wxe_callback_impl.cpp
@@ -46,7 +46,7 @@ wxeEvtListener::wxeEvtListener(ErlNifPid caller, int req, ERL_NIF_TERM req_type,
}
wxeEvtListener::~wxeEvtListener() {
- // enif_fprintf(stderr, "CBD Deleteing %p %T\r\n", this, class_name); fflush(stderr);
+ // enif_fprintf(stderr, "CBD Deleting %p %T\r\n", this, class_name); fflush(stderr);
if(user_data) {
delete user_data;
}
diff --git a/lib/wx/c_src/wxe_helpers.cpp b/lib/wx/c_src/wxe_helpers.cpp
index 69a9c65c27..3f160a08d8 100644
--- a/lib/wx/c_src/wxe_helpers.cpp
+++ b/lib/wx/c_src/wxe_helpers.cpp
@@ -107,7 +107,7 @@ void wxeFifo::DelQueue(unsigned int i)
void wxeFifo::DeleteCmd(wxeCommand *orig)
{
- orig->op = -2; // Assert: will crash if op is negativ
+ orig->op = -2; // Assert: will crash if op is negative
enif_clear_env(orig->env);
free.push_back(orig);
}
@@ -136,6 +136,6 @@ void wxeFifo::Append(wxeCommand *orig)
curr->env = orig->env;
orig->env = temp;
curr->me_ref = orig->me_ref;
- orig->op = -1; // Assert: will crash if op is negativ
+ orig->op = -1; // Assert: will crash if op is negative
m_q.push_back(curr);
}
diff --git a/lib/wx/c_src/wxe_impl.cpp b/lib/wx/c_src/wxe_impl.cpp
index 9786572ef6..61eea2e8c2 100644
--- a/lib/wx/c_src/wxe_impl.cpp
+++ b/lib/wx/c_src/wxe_impl.cpp
@@ -632,7 +632,7 @@ void WxeApp::destroyMemEnv(wxeMetaCommand &Ecmd)
delete refd;
ptr2ref.erase(it);
} // overridden allocs deletes meta-data in clearPtr
- } else { // Not alloced in erl just delete references
+ } else { // Not allocated in erl just delete references
if(refd->ref >= global_me->next) { // if it is not part of global ptrs
delete refd;
ptr2ref.erase(it);
diff --git a/lib/wx/c_src/wxe_nif.h b/lib/wx/c_src/wxe_nif.h
index 3e934bdd6b..f0963de560 100644
--- a/lib/wx/c_src/wxe_nif.h
+++ b/lib/wx/c_src/wxe_nif.h
@@ -38,7 +38,7 @@ extern ERL_NIF_TERM WXE_ATOM__wx_invoke_cb_;
extern ERL_NIF_TERM WXE_ATOM_define;
extern ERL_NIF_TERM WXE_ATOM_global;
-/* Used for comparsions */
+/* Used for comparisons */
extern ERL_NIF_TERM WXE_ATOM_wxWindow;
extern ERL_NIF_TERM WXE_ATOM_wxSizer;
diff --git a/lib/wx/doc/src/notes.xml b/lib/wx/doc/src/notes.xml
index af72001c24..2a24d3790a 100644
--- a/lib/wx/doc/src/notes.xml
+++ b/lib/wx/doc/src/notes.xml
@@ -216,7 +216,7 @@
<item>
<p>
Fixed wx initialization on mac, top level menus did not
- always work on newer MacOS versions. The menues will not
+ always work on newer MacOS versions. The menus will not
work until wxWidgets-3.1.5 is released and used on these
MacOS versions.</p>
<p>
@@ -996,7 +996,7 @@
<item>
<p>
Wx on MacOS X generated complains on stderr about certain
- cocoa functions not beeing called from the "Main thread".
+ cocoa functions not being called from the "Main thread".
This is now corrected.</p>
<p>
Own Id: OTP-9081</p>
@@ -1174,7 +1174,7 @@
<list>
<item>
<p>wxHtmlWindow class implemented.</p> <p>All exceptions
- from callbacks are now catched and written to the
+ from callbacks are now caught and written to the
log.</p> <p>Some defines where wrong in 'wx.hrl'.</p>
<p><c>wx:batch/1</c> and friends could hang forever if
for instance a breakpoint was set inside the fun. That
diff --git a/lib/wx/examples/demo/demo_html_tagger.erl b/lib/wx/examples/demo/demo_html_tagger.erl
index cc24cbaa67..d0137259f1 100644
--- a/lib/wx/examples/demo/demo_html_tagger.erl
+++ b/lib/wx/examples/demo/demo_html_tagger.erl
@@ -23,7 +23,7 @@
%% That's because this program uses some pretty dodgy techniques to
%% get at the data it requires.
-%% I use epp_dodger to parse the file and the new imporved erl_scan
+%% I use epp_dodger to parse the file and the new improved erl_scan
%% find the exact values of the tokens
%% epp_dodger returns an objects of type erl_syntax which are pretty
diff --git a/lib/wx/examples/demo/ex_sashWindow.erl b/lib/wx/examples/demo/ex_sashWindow.erl
index 63528f65d1..7ff85b442c 100644
--- a/lib/wx/examples/demo/ex_sashWindow.erl
+++ b/lib/wx/examples/demo/ex_sashWindow.erl
@@ -65,7 +65,7 @@ do_init(Config) ->
Win2 = wxPanel:new(BottomSash, []),
wxStaticText:new(Win2, ?wxID_ANY, "This is the bottom sash", []),
- %% Make the bottom edge of the top sash dragable
+ %% Make the bottom edge of the top sash draggable
wxSashWindow:setSashVisible(TopSash, ?wxSASH_BOTTOM, true),
wxPanel:connect(Panel, sash_dragged),
wxPanel:connect(Panel, size),
diff --git a/lib/wx/examples/demo/ex_sizers.erl b/lib/wx/examples/demo/ex_sizers.erl
index 800f17f014..50e3bd3320 100644
--- a/lib/wx/examples/demo/ex_sizers.erl
+++ b/lib/wx/examples/demo/ex_sizers.erl
@@ -59,7 +59,7 @@ do_init(Config) ->
"Weighting Factor",
"Edge Affinity",
"Spacer",
- "Centering In Avalible Space",
+ "Centering In Available Space",
"Simple Border",
"East And West Border",
"North And South Border",
@@ -149,7 +149,7 @@ create_example(Parent, Example) ->
north_and_south_border(Panel);
"Simple Border" ->
simple_border(Panel);
- "Centering In Avalible Space" ->
+ "Centering In Available Space" ->
centering_in_avalible_space(Panel);
"Spacer" ->
spacer(Panel);
diff --git a/lib/wx/examples/demo/ex_splitterWindow.erl b/lib/wx/examples/demo/ex_splitterWindow.erl
index 14f63600a3..0946a73229 100644
--- a/lib/wx/examples/demo/ex_splitterWindow.erl
+++ b/lib/wx/examples/demo/ex_splitterWindow.erl
@@ -54,14 +54,14 @@ do_init(Config) ->
Splitter = wxSplitterWindow:new(Panel, []),
- Win1 = wxTextCtrl:new(Splitter, 1, [{value, "Splitted Window 1"},
+ Win1 = wxTextCtrl:new(Splitter, 1, [{value, "Split Window 1"},
{style, ?wxDEFAULT bor ?wxTE_MULTILINE}]),
- Win2 = wxTextCtrl:new(Splitter, 1, [{value, "Splitted Window 1"},
+ Win2 = wxTextCtrl:new(Splitter, 1, [{value, "Split Window 1"},
{style, ?wxDEFAULT bor ?wxTE_MULTILINE}]),
wxSplitterWindow:splitVertically(Splitter, Win1, Win2),
wxSplitterWindow:setSashGravity(Splitter, 0.5),
- %% Set pane-size =/= 0 to not unsplit on doubleclick
+ %% Set pane-size =/= 0 to not unsplit on double-click
%% on the splitter
wxSplitterWindow:setMinimumPaneSize(Splitter,50),
diff --git a/lib/wx/examples/simple/menu.erl b/lib/wx/examples/simple/menu.erl
index 829c88a3d5..5477f6c921 100644
--- a/lib/wx/examples/simple/menu.erl
+++ b/lib/wx/examples/simple/menu.erl
@@ -309,7 +309,7 @@ create_help_menu() ->
HelpMenu = wxMenu:new(),
% unlike wxwidgets the stock menu items still need text to be given,
% although help text does appear
- % Note the keybord accelerator
+ % Note the keyboard accelerator
wxMenu:append(HelpMenu, wxMenuItem:new([
{id, ?menuID_HELP_ABOUT},
%{text, "&About\tF1"},
diff --git a/lib/wx/examples/simple/minimal.erl b/lib/wx/examples/simple/minimal.erl
index 45efc06462..6011bbbc8b 100644
--- a/lib/wx/examples/simple/minimal.erl
+++ b/lib/wx/examples/simple/minimal.erl
@@ -55,7 +55,7 @@ create_window(Wx) ->
% unlike wxwidgets the stock menu items still need text to be given,
% although help text does appear
_QuitMenuItem = wxMenu:append(FileM, ?wxID_EXIT, "&Quit"),
- % Note the keybord accelerator
+ % Note the keyboard accelerator
_AboutMenuItem = wxMenu:append(HelpM, ?wxID_ABOUT, "&About...\tF1"),
wxMenu:appendSeparator(HelpM),
diff --git a/lib/wx/src/gen/glu.erl b/lib/wx/src/gen/glu.erl
index 6d4d390205..9c48a03b26 100644
--- a/lib/wx/src/gen/glu.erl
+++ b/lib/wx/src/gen/glu.erl
@@ -55,7 +55,7 @@
%% @doc General purpose polygon triangulation.
%% The first argument is the normal and the second a list of
-%% vertex positions. Returned is a list of indecies of the vertices
+%% vertex positions. Returned is a list of indices of the vertices
%% and a binary (64bit native float) containing an array of
%% vertex positions, it starts with the vertices in Vs and
%% may contain newly created vertices in the end.
diff --git a/lib/wx/src/wxe_master.erl b/lib/wx/src/wxe_master.erl
index c3496a0026..24a122663e 100644
--- a/lib/wx/src/wxe_master.erl
+++ b/lib/wx/src/wxe_master.erl
@@ -74,7 +74,7 @@ init_env(SilentStart) ->
%%--------------------------------------------------------------------
-%% Initalizes the opengl library
+%% Initializes the opengl library
%%--------------------------------------------------------------------
init_opengl() ->
case get(wx_init_opengl) of
diff --git a/lib/wx/test/wx_basic_SUITE.erl b/lib/wx/test/wx_basic_SUITE.erl
index de86a8362b..fa77c37f15 100644
--- a/lib/wx/test/wx_basic_SUITE.erl
+++ b/lib/wx/test/wx_basic_SUITE.erl
@@ -607,7 +607,7 @@ check_events([{sync_event, #wx{event=#wxPaint{}}, Obj}|Rest], Async, Sync) ->
?mt(wxPaintEvent, Obj),
check_events(Rest, Async, Sync+1);
check_events([], Async, Sync) ->
- case Async > 0 of %% Test sync explictly
+ case Async > 0 of %% Test sync explicitly
true -> ok;
false -> {Async, Sync}
end.
diff --git a/lib/wx/test/wx_class_SUITE.erl b/lib/wx/test/wx_class_SUITE.erl
index b7c036e6da..794fd947a5 100644
--- a/lib/wx/test/wx_class_SUITE.erl
+++ b/lib/wx/test/wx_class_SUITE.erl
@@ -87,7 +87,7 @@ calendarCtrl(Config) ->
true ->
?log("DateAttr is null~n",[]);
false ->
- ?log("DateAttr is useable~n",[]),
+ ?log("DateAttr is usable~n",[]),
DateAttr = ?mt(wxCalendarDateAttr, wxCalendarDateAttr:new()),
wxCalendarDateAttr:setBackgroundColour(DateAttr, {0,243,0}),
wxCalendarCtrl:setAttr(Cal, Day, DateAttr),
diff --git a/lib/wx/test/wx_opengl_SUITE.erl b/lib/wx/test/wx_opengl_SUITE.erl
index 28c5b70383..443dc3b05b 100644
--- a/lib/wx/test/wx_opengl_SUITE.erl
+++ b/lib/wx/test/wx_opengl_SUITE.erl
@@ -88,7 +88,7 @@ end_per_group(_GroupName, Config) ->
{{7,8,3,2},{0.0,-1.0,0.0}}]).
-%% Test we can create a glCanvas and that functions are loaded dynamicly
+%% Test we can create a glCanvas and that functions are loaded dynamically
canvas(TestInfo) when is_atom(TestInfo) -> wx_test_lib:tc_info(TestInfo);
canvas(Config) ->
WX = ?mr(wx_ref, wx:new()),
diff --git a/lib/wx/test/wx_xtra_SUITE.erl b/lib/wx/test/wx_xtra_SUITE.erl
index a87f4a83b1..2b35c2c660 100644
--- a/lib/wx/test/wx_xtra_SUITE.erl
+++ b/lib/wx/test/wx_xtra_SUITE.erl
@@ -68,7 +68,7 @@ end_per_group(_GroupName, Config) ->
%% before wx:destroy is called.
destroy_app(TestInfo) when is_atom(TestInfo) -> wx_test_lib:tc_info(TestInfo);
destroy_app(_Config) ->
- %% This is timing releated but we test a couple of times
+ %% This is timing related but we test a couple of times
wx_test_lib:flush(),
?m(ok, destroy_app_test(15)).
@@ -102,7 +102,7 @@ destroy_app2(_Config) ->
ok.
-%% This should work, and does but not when run automaticly on windows
+%% This should work, and does but not when run automatically on windows
%% for some strange reason (it just hangs), run it last.
app_dies(TestInfo) when is_atom(TestInfo) -> wx_test_lib:tc_info(TestInfo);
app_dies(_Config) ->
@@ -160,7 +160,7 @@ oops(Die, Line) when (Die =:= last) orelse (Die =< Line) ->
oops(_,_) -> ok.
-%% This have happend often enough that I have special code to handle
+%% This have happened often enough that I have special code to handle
%% this user error (i.e. using the a window twice in an sizer).
multiple_add_in_sizer(TestInfo) when is_atom(TestInfo) -> wx_test_lib:tc_info(TestInfo);
multiple_add_in_sizer(Config) ->