From: george82 Date: Sat, 10 Jun 2006 11:37:57 +0000 (+0000) Subject: Removed the unnecessary methods ViewerToolBar::show() and X-Git-Tag: v0.0.90~384^2~248 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=936a1e58054e77cafe8df5409c37638fe8dd764c;p=tigervnc.git Removed the unnecessary methods ViewerToolBar::show() and ViewerToolBar::hide(). git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@635 3789f03b-4d11-0410-bbf8-ca57d06f2519 --- diff --git a/win/vncviewer/ViewerToolBar.cxx b/win/vncviewer/ViewerToolBar.cxx index 29b80301..8ed795ee 100644 --- a/win/vncviewer/ViewerToolBar.cxx +++ b/win/vncviewer/ViewerToolBar.cxx @@ -105,13 +105,3 @@ LRESULT ViewerToolBar::processWM_NOTIFY(WPARAM wParam, LPARAM lParam) { } return 0; } - -void ViewerToolBar::show() { - ShowWindow(getHandle(), SW_SHOW); - SendMessage(parentHwnd, WM_SIZE, 0, 0); -} - -void ViewerToolBar::hide() { - ShowWindow(getHandle(), SW_HIDE); - SendMessage(parentHwnd, WM_SIZE, 0, 0); -} diff --git a/win/vncviewer/ViewerToolBar.h b/win/vncviewer/ViewerToolBar.h index 30e7708f..85c1de51 100644 --- a/win/vncviewer/ViewerToolBar.h +++ b/win/vncviewer/ViewerToolBar.h @@ -32,7 +32,4 @@ public: void create(HWND parentHwnd); LRESULT processWM_NOTIFY(WPARAM wParam, LPARAM lParam); - - void show(); - void hide(); };