Fixed control enabling on Windows uiWindows.

This commit is contained in:
Pietro Gagliardi 2015-05-04 14:32:55 -04:00
parent e59aeb19ca
commit 23e3230156
1 changed files with 2 additions and 2 deletions

View File

@ -1,8 +1,6 @@
// 27 april 2015
#include "uipriv_windows.h"
// TODO enable/disable container
#define windowClass L"libui_uiWindowClass"
struct window {
@ -157,6 +155,7 @@ static void windowEnable(uiControl *c)
struct window *w = (struct window *) c;
EnableWindow(w->hwnd, TRUE);
uiControlEnable(uiControl(w->bin));
}
static void windowDisable(uiControl *c)
@ -164,6 +163,7 @@ static void windowDisable(uiControl *c)
struct window *w = (struct window *) c;
EnableWindow(w->hwnd, FALSE);
uiControlDisable(uiControl(w->bin));
}
static char *windowTitle(uiWindow *ww)