diff win/dw.c @ 561:c0a708e2cba3

Removed dw_percent_get_range() to simplify coding. The range is now always 0 to 100 no matter what platform or widget size.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Wed, 21 Apr 2004 05:33:51 +0000
parents 1a210e2f214b
children f6de197ecbe9
line wrap: on
line diff
--- a/win/dw.c	Wed Apr 21 04:56:34 2004 +0000
+++ b/win/dw.c	Wed Apr 21 05:33:51 2004 +0000
@@ -5972,16 +5972,6 @@
 }
 
 /*
- * Returns the range of the percent bar.
- * Parameters:
- *          handle: Handle to the percent bar to be queried.
- */
-unsigned int API dw_percent_get_range(HWND handle)
-{
-	return (unsigned int)SendMessage(handle, PBM_GETRANGE, (WPARAM)FALSE, 0);
-}
-
-/*
  * Sets the percent bar position.
  * Parameters:
  *          handle: Handle to the percent bar to be set.