From 936a1e58054e77cafe8df5409c37638fe8dd764c Mon Sep 17 00:00:00 2001 From: george82 Date: Sat, 10 Jun 2006 11:37:57 +0000 Subject: [PATCH] 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 --- win/vncviewer/ViewerToolBar.cxx | 10 ---------- win/vncviewer/ViewerToolBar.h | 3 --- 2 files changed, 13 deletions(-) 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(); }; -- 2.39.5