]> source.dussan.org Git - tigervnc.git/commitdiff
Removed the unnecessary methods ViewerToolBar::show() and
authorgeorge82 <george82@3789f03b-4d11-0410-bbf8-ca57d06f2519>
Sat, 10 Jun 2006 11:37:57 +0000 (11:37 +0000)
committergeorge82 <george82@3789f03b-4d11-0410-bbf8-ca57d06f2519>
Sat, 10 Jun 2006 11:37:57 +0000 (11:37 +0000)
ViewerToolBar::hide().

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@635 3789f03b-4d11-0410-bbf8-ca57d06f2519

win/vncviewer/ViewerToolBar.cxx
win/vncviewer/ViewerToolBar.h

index 29b8030117a9ffe6047af25c78fc89e5d74f8fba..8ed795ee67886462ac0ad59b700c9d33b115e1ca 100644 (file)
@@ -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);
-}
index 30e7708f705493729e52d6cbe75c94510df156aa..85c1de5106ed7a75b25df4669c5fc85e645a177b 100644 (file)
@@ -32,7 +32,4 @@ public:
   void create(HWND parentHwnd);
 
   LRESULT processWM_NOTIFY(WPARAM wParam, LPARAM lParam);
-
-  void show();
-  void hide();
 };