diff options
| -rw-r--r-- | redo/basicctrls_windows.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/redo/basicctrls_windows.go b/redo/basicctrls_windows.go index 5ad5066..9f5fe54 100644 --- a/redo/basicctrls_windows.go +++ b/redo/basicctrls_windows.go @@ -70,6 +70,7 @@ func (b *button) buttonpreferredSize(d *sizing) (width, height int) { return int(size.cx), int(size.cy) } // that failed, fall back +println("message failed; falling back") // don't worry about the error return from GetSystemMetrics(); there's no way to tell (explicitly documented as such) xmargins := 2 * int(C.GetSystemMetrics(C.SM_CXEDGE)) return xmargins + int(b.textlen), fromdlgunitsY(buttonHeight, d) |
