@@ -775,8 +775,7 @@ ColorPickerClass::OnLButtonDown
775775
776776 // Allow the base class to process this message
777777 CWnd::OnLButtonDown (nFlags, point);
778- return ;
779- }
778+ }
780779
781780
782781// ///////////////////////////////////////////////////////////////////////////
@@ -799,8 +798,7 @@ ColorPickerClass::OnLButtonUp
799798
800799 // Allow the base class to process this message
801800 CWnd::OnLButtonUp (nFlags, point);
802- return ;
803- }
801+ }
804802
805803
806804// ///////////////////////////////////////////////////////////////////////////
@@ -844,8 +842,7 @@ ColorPickerClass::OnMouseMove
844842
845843 // Allow the base class to process this message
846844 CWnd::OnMouseMove (nFlags, point);
847- return ;
848- }
845+ }
849846
850847
851848// ///////////////////////////////////////////////////////////////////////////
@@ -897,8 +894,7 @@ ColorPickerClass::Erase_Marker (void)
897894 }
898895
899896 ::ReleaseDC (m_hWnd, hdc);
900- return ;
901- }
897+ }
902898
903899
904900// ///////////////////////////////////////////////////////////////////////////
@@ -932,8 +928,7 @@ ColorPickerClass::Paint_Marker (void)
932928 }
933929
934930 ::ReleaseDC (m_hWnd, hdc);
935- return ;
936- }
931+ }
937932
938933
939934// ///////////////////////////////////////////////////////////////////////////
@@ -951,8 +946,7 @@ ColorPickerClass::Select_Color (int red, int green, int blue)
951946 // Refresh the window
952947 InvalidateRect (NULL , FALSE );
953948 UpdateWindow ();
954- return ;
955- }
949+ }
956950
957951
958952// ///////////////////////////////////////////////////////////////////////////
@@ -966,5 +960,4 @@ ColorPickerClass::Get_Current_Color (int *red, int *green, int *blue)
966960 (*red) = GetRValue (m_CurrentColor);
967961 (*green) = GetGValue (m_CurrentColor);
968962 (*blue) = GetBValue (m_CurrentColor);
969- return ;
970- }
963+ }
0 commit comments