summaryrefslogtreecommitdiff
path: root/redo/window_windows.c
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-08-04 13:13:59 -0400
committerPietro Gagliardi <[email protected]>2014-08-04 13:13:59 -0400
commit0496cf77b52e1713749fe40a8ef1b22f4918ad1d (patch)
tree8635b78a59a0df4c634f523222aea313434eec67 /redo/window_windows.c
parent950548563dfc284f913e78895eeead6e8a14553a (diff)
Changed Tab on Windows to store each control in a *layout (see previous commit). Now I can throw out containerShow()/containerHide()/Show()/Hide(). This also will let me do the right thing with sizer and dialog base units again, and even get rid of sizer's confusion once and for all!
Diffstat (limited to 'redo/window_windows.c')
-rw-r--r--redo/window_windows.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/redo/window_windows.c b/redo/window_windows.c
index 67a4440..5ed4de9 100644
--- a/redo/window_windows.c
+++ b/redo/window_windows.c
@@ -69,7 +69,7 @@ HWND newWindow(LPWSTR title, int width, int height, BOOL child, void *data)
style = WS_OVERLAPPEDWINDOW;
parent = NULL;
if (child) {
- style = WS_CHILD;
+ style = WS_CHILD | WS_VISIBLE;
parent = msgwin;
}
hwnd = CreateWindowExW(