diff options
author | Alexander Neumann <an2048@gmail.com> | 2012-09-15 20:18:29 +0200 |
---|---|---|
committer | Alexander Neumann <an2048@gmail.com> | 2012-09-15 20:18:29 +0200 |
commit | 95cf3782dcb0803494222b6af49840c89b1b94f7 (patch) | |
tree | da60435ad024f013286d05f0fa55c4260ed30fe1 /groupbox.go | |
parent | Clean up handling of subclassed windows. (diff) | |
download | wireguard-windows-95cf3782dcb0803494222b6af49840c89b1b94f7.tar.xz wireguard-windows-95cf3782dcb0803494222b6af49840c89b1b94f7.zip |
Export WndProc
Diffstat (limited to 'groupbox.go')
-rw-r--r-- | groupbox.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/groupbox.go b/groupbox.go index 92382531..24cf3aa9 100644 --- a/groupbox.go +++ b/groupbox.go @@ -130,11 +130,11 @@ func (gb *GroupBox) SetLayout(value Layout) error { return gb.composite.SetLayout(value) } -func (gb *GroupBox) wndProc(hwnd HWND, msg uint32, wParam, lParam uintptr) uintptr { +func (gb *GroupBox) WndProc(hwnd HWND, msg uint32, wParam, lParam uintptr) uintptr { if gb.composite != nil { switch msg { case WM_COMMAND, WM_NOTIFY: - gb.composite.wndProc(hwnd, msg, wParam, lParam) + gb.composite.WndProc(hwnd, msg, wParam, lParam) case WM_SIZE, WM_SIZING: wbcb := gb.WidgetBase.ClientBounds() @@ -155,5 +155,5 @@ func (gb *GroupBox) wndProc(hwnd HWND, msg uint32, wParam, lParam uintptr) uintp } } - return gb.WidgetBase.wndProc(hwnd, msg, wParam, lParam) + return gb.WidgetBase.WndProc(hwnd, msg, wParam, lParam) } |