mirror of
https://github.com/wailsapp/wails.git
synced 2025-05-02 03:20:09 +08:00
chore: fix some typos in comments (#3357)
Signed-off-by: reallylowest <sunjinping@outlook.com>
This commit is contained in:
parent
1f74b337ff
commit
e7756e9274
@ -245,7 +245,7 @@ void SetMinMaxSize(GtkWindow *window, int min_width, int min_height, int max_wid
|
||||
gtk_window_set_geometry_hints(window, NULL, &size, flags);
|
||||
}
|
||||
|
||||
// function to disable the context menu but propogate the event
|
||||
// function to disable the context menu but propagate the event
|
||||
static gboolean disableContextMenu(GtkWidget *widget, WebKitContextMenu *context_menu, GdkEvent *event, WebKitHitTestResult *hit_test_result, gpointer data)
|
||||
{
|
||||
// return true to disable the context menu
|
||||
@ -254,7 +254,7 @@ static gboolean disableContextMenu(GtkWidget *widget, WebKitContextMenu *context
|
||||
|
||||
void DisableContextMenu(void *webview)
|
||||
{
|
||||
// Disable the context menu but propogate the event
|
||||
// Disable the context menu but propagate the event
|
||||
g_signal_connect(WEBKIT_WEB_VIEW(webview), "context-menu", G_CALLBACK(disableContextMenu), NULL);
|
||||
}
|
||||
|
||||
|
@ -54,7 +54,7 @@ func (cb *ComboBox) OnSelectedChange() *EventManager {
|
||||
return &cb.onSelectedChange
|
||||
}
|
||||
|
||||
// Message processer
|
||||
// Message processor
|
||||
func (cb *ComboBox) WndProc(msg uint32, wparam, lparam uintptr) uintptr {
|
||||
switch msg {
|
||||
case w32.WM_COMMAND:
|
||||
|
@ -438,7 +438,7 @@ func (lv *ListView) OnEndScroll() *EventManager {
|
||||
return &lv.onEndScroll
|
||||
}
|
||||
|
||||
// Message processer
|
||||
// Message processor
|
||||
func (lv *ListView) WndProc(msg uint32, wparam, lparam uintptr) uintptr {
|
||||
switch msg {
|
||||
/*case w32.WM_ERASEBKGND:
|
||||
|
@ -248,7 +248,7 @@ func (tv *TreeView) OnViewChange() *EventManager {
|
||||
return &tv.onViewChange
|
||||
}
|
||||
|
||||
// Message processer
|
||||
// Message processor
|
||||
func (tv *TreeView) WndProc(msg uint32, wparam, lparam uintptr) uintptr {
|
||||
switch msg {
|
||||
case w32.WM_NOTIFY:
|
||||
|
@ -17,6 +17,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
- Added -m (skip `go mod tidy`) flag to dev command by @te5se in [PR](https://github.com/wailsapp/wails/pull/3275)
|
||||
- Added mac option `DisableZoom` to remove zoom button. Added by @wizzymore in [PR](https://github.com/wailsapp/wails/pull/3289)
|
||||
- Changed Create a project with changing the default name to the project’s name. Changed by [@Twacqwq](https://github.com/Twacqwq) in [PR](https://github.com/wailsapp/wails/pull/3303)
|
||||
- Fix some typos in comments. Changed by [@reallylowest](https://github.com/reallylowest) in [PR](https://github.com/wailsapp/wails/pull/3357)
|
||||
|
||||
## v2.8.0 - 2024-02-08
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user