Fixed errors in the previous commit.
This commit is contained in:
parent
e7801222be
commit
b540d93e3d
|
@ -12,9 +12,9 @@ _UI_EXTERN HWND uiWindowsUtilCreateControlHWND(DWORD dwExStyle, LPCWSTR lpClassN
|
|||
_UI_EXTERN void uiWindowsUtilDestroy(HWND hwnd);
|
||||
_UI_EXTERN void uiWindowsUtilSetParent(HWND hwnd, uiControl *parent);
|
||||
_UI_EXTERN void uiWindowsUtilResize(HWND hwnd, intmax_t x, intmax_t y, intmax_t width, intmax_t height, uiSizing *d);
|
||||
_UI_EXTERN void uiWIndowsUtilShow(HWND hwnd);
|
||||
_UI_EXTERN void uiWindowsUtilShow(HWND hwnd);
|
||||
_UI_EXTERN void uiWindowsUtilHide(HWND hwnd);
|
||||
_UI_EXTERN void uiWIndowsUtilEnable(HWND hwnd);
|
||||
_UI_EXTERN void uiWindowsUtilEnable(HWND hwnd);
|
||||
_UI_EXTERN void uiWindowsUtilDisable(HWND hwnd);
|
||||
_UI_EXTERN uintptr_t uiWindowsUtilStartZOrder(HWND hwnd);
|
||||
_UI_EXTERN uintptr_t uiWindowsUtilSetZOrder(HWND hwnd, uintptr_t insertAfter);
|
||||
|
|
|
@ -116,7 +116,7 @@ static void recreateUpDown(struct spinbox *s)
|
|||
SendMessageW(s->updown, UDM_SETPOS32, 0, (LPARAM) current);
|
||||
}
|
||||
if (uiControlContainerVisible(uiControl(s)))
|
||||
uiWIndowsUtilShow(s->updown);
|
||||
uiWindowsUtilShow(s->updown);
|
||||
s->inhibitChanged = FALSE;
|
||||
}
|
||||
|
||||
|
@ -135,10 +135,10 @@ static void spinboxResize(uiControl *c, intmax_t x, intmax_t y, intmax_t width,
|
|||
f(s->hwnd); \
|
||||
f(s->updown); \
|
||||
}
|
||||
COMMIT(Show, uiWIndowsUtilShow)
|
||||
COMMIT(Hide, uiWIndowsUtilHide)
|
||||
COMMIT(Enable, uiWIndowsUtilEnable)
|
||||
COMMIT(Disable, uiWIndowsUtilDisable)
|
||||
COMMIT(Show, uiWindowsUtilShow)
|
||||
COMMIT(Hide, uiWindowsUtilHide)
|
||||
COMMIT(Enable, uiWindowsUtilEnable)
|
||||
COMMIT(Disable, uiWindowsUtilDisable)
|
||||
|
||||
// TODO does it go here relative of other things?
|
||||
static void defaultOnChanged(uiSpinbox *s, void *data)
|
||||
|
|
Loading…
Reference in New Issue