diff options
author | mo <mo@noemail.net> | 2000-07-06 03:17:42 (GMT) |
---|---|---|
committer | mo <mo@noemail.net> | 2000-07-06 03:17:42 (GMT) |
commit | 631fe850678d5d5ba34fffc20a8ad9cc339873f1 (patch) | |
tree | 41624ab1c46012e311224b73a36cc87ae5bebff5 /win/tkWinButton.c | |
parent | 5bb764c93b59bfdb46d66581afa0231b1edf10a2 (diff) | |
download | tk-631fe850678d5d5ba34fffc20a8ad9cc339873f1.zip tk-631fe850678d5d5ba34fffc20a8ad9cc339873f1.tar.gz tk-631fe850678d5d5ba34fffc20a8ad9cc339873f1.tar.bz2 |
* generic/tkFileFilter.c (AddClause): Cast to match function prototype.
* win/stubs.c (_XInitImageFuncPtrs): Add return value for function.
* win/tkWinButton.c (buttonStyles, ButtonBindProc, ComputeStyle):
Remove unused declarations.
* win/tkWinColor.c (GetColorByName, GetColorByValue): Remove unused
function declarations.
* win/tkWinDialog.c (TrySetDirectory): Remove unused function declaration.
* win/tkWinEmbed.c (TkWinEmbeddedEventProc): Cast to match function prototype.
* win/tkWinMenu.c (winMenuMutex, MenuExitProc): Remove unused declaration.
* win/tkWinWindow.c (StackWindow): Remove unused declaration.
* win/tkWinWm.c (ConfigureEvent): Remove unused declaration.
* win/tkWinX.c (winXMutex): Remove unused declaration.
* xlib/ximage.c (XCreateBitmapFromData): Cast to match function prototype.
FossilOrigin-Name: 51f47c0c03aff365cd11fd45c22dc16f8da2f17a
Diffstat (limited to 'win/tkWinButton.c')
-rw-r--r-- | win/tkWinButton.c | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/win/tkWinButton.c b/win/tkWinButton.c index b7acb47..aa35dd7 100644 --- a/win/tkWinButton.c +++ b/win/tkWinButton.c @@ -9,7 +9,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tkWinButton.c,v 1.9 2000/05/17 21:17:22 ericm Exp $ + * RCS: @(#) $Id: tkWinButton.c,v 1.10 2000/07/06 03:17:44 mo Exp $ */ #define OEMRESOURCE @@ -25,10 +25,6 @@ #define CHECK_STYLE (BS_OWNERDRAW | BS_CHECKBOX | WS_CHILD | WS_VISIBLE | WS_CLIPSIBLINGS) #define RADIO_STYLE (BS_OWNERDRAW | BS_RADIOBUTTON | WS_CHILD | WS_VISIBLE | WS_CLIPSIBLINGS) -static DWORD buttonStyles[] = { - LABEL_STYLE, PUSH_STYLE, CHECK_STYLE, RADIO_STYLE -}; - /* * Declaration of Windows specific button structure. */ @@ -83,13 +79,8 @@ static Tcl_ThreadDataKey dataKey; /* * Declarations for functions defined in this file. */ - -static int ButtonBindProc _ANSI_ARGS_((ClientData clientData, - Tcl_Interp *interp, XEvent *eventPtr, - Tk_Window tkwin, KeySym keySym)); static LRESULT CALLBACK ButtonProc _ANSI_ARGS_((HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam)); -static DWORD ComputeStyle _ANSI_ARGS_((WinButton* butPtr)); static Window CreateProc _ANSI_ARGS_((Tk_Window tkwin, Window parent, ClientData instanceData)); static void InitBoxes _ANSI_ARGS_((void)); |