bug-ncurses
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

setCDKRadioCurrentItem in latest CDK


From: Fu Steve X
Subject: setCDKRadioCurrentItem in latest CDK
Date: Tue, 10 May 2005 12:15:34 -0400

After the updating to cdk-5.0-20050424, my application quit working.  I found it was the function call:

        setCDKRadioCurrentItem(Radio, 0)

It is defined in the header file cdk_int.h as:     
        #define scroller_KEY_HOME(w) \
      (w)->currentTop   = 0; \
      (w)->currentItem = 0; \
      (w)->currentHigh = 0
Probably the attribute selectedItem is missing.

So I put the following to my code to work around it.
        Radio->selectedItem = 0;
      Radio->currentItem = 0;
      Radio->currentHigh = 0;



reply via email to

[Prev in Thread] Current Thread [Next in Thread]