diff options
| author | Pietro Gagliardi <[email protected]> | 2015-04-07 21:05:47 -0400 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2015-04-07 21:05:47 -0400 |
| commit | c4fa92e18f5c06ed1c4b9c99391d96dec51da6b8 (patch) | |
| tree | 4e74cf0672f5e93c8b3f1884b2657219e83fef84 /new/newcontrol_windows.c | |
| parent | 1bb187d55bad0b34b1fad22f77ce88a9d42e79dd (diff) | |
Decided to remove containerShow() and containerHide() for now.
Diffstat (limited to 'new/newcontrol_windows.c')
| -rw-r--r-- | new/newcontrol_windows.c | 12 |
1 files changed, 0 insertions, 12 deletions
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; |
