diff options
| -rw-r--r-- | callbacks_unix.go | 1 | ||||
| -rw-r--r-- | stdwndclass_windows.go | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/callbacks_unix.go b/callbacks_unix.go index fde05ce..8fb52b5 100644 --- a/callbacks_unix.go +++ b/callbacks_unix.go @@ -43,6 +43,7 @@ func our_window_configure_event_callback(widget *C.GtkWidget, event *C.GdkEvent, // top-left is (0,0) so no need for winheight s.doResize(0, 0, width, height, 0) } + // TODO redraw the window and all children? // returning false indicates that we continue processing events related to configure-event; if we choose not to, then after some controls have been added, the layout fails completely and everything stays in the starting position/size // TODO make sure this is the case return C.FALSE diff --git a/stdwndclass_windows.go b/stdwndclass_windows.go index 1f860a5..c2f5079 100644 --- a/stdwndclass_windows.go +++ b/stdwndclass_windows.go @@ -55,6 +55,7 @@ func stdWndProc(s *sysData) func(hwnd _HWND, uMsg uint32, wParam _WPARAM, lParam // top-left corner is (0,0) so no need for winheight s.doResize(int(r.left), int(r.top), int(r.right), int(r.bottom), 0) // TODO use the Defer movement functions here? + // TODO redraw window and all children here? } return 0 case _WM_CLOSE: |
