From c4fa92e18f5c06ed1c4b9c99391d96dec51da6b8 Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Tue, 7 Apr 2015 21:05:47 -0400 Subject: Decided to remove containerShow() and containerHide() for now. --- new/newcontrol_windows.c | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'new/newcontrol_windows.c') diff --git a/new/newcontrol_windows.c b/new/newcontrol_windows.c index a7288f7..1ea9947 100644 --- a/new/newcontrol_windows.c +++ b/new/newcontrol_windows.c @@ -42,16 +42,6 @@ static void singleResize(uiControl *c, intmax_t x, intmax_t y, intmax_t width, i logLastError("error moving control in singleResize()"); } -static void singleContainerShow(uiControl *c) -{ - ShowWindow(S(c)->hwnd, SW_SHOW); -} - -static void singleContainerHide(uiControl *c) -{ - ShowWindow(S(c)->hwnd, SW_HIDE); -} - static LRESULT CALLBACK singleSubclassProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam, UINT_PTR uIdSubclass, DWORD_PTR dwRefData) { uiSingleHWNDControl *c = (uiSingleHWNDControl *) dwRefData; @@ -93,8 +83,6 @@ uiControl *uiWindowsNewControl(uiWindowsNewControlParams *p) c->control.setParent = singleSetParent; c->control.preferredSize = singlePreferredSize; c->control.resize = singleResize; - c->control.containerShow = singleContainerShow; - c->control.containerHide = singleContainerHide; c->onWM_COMMAND = p->onWM_COMMAND; c->onWM_NOTIFY = p->onWM_NOTIFY; -- cgit v1.2.3