~ubuntu-branches/ubuntu/saucy/wine1.2/saucy

« back to all changes in this revision

Viewing changes to dlls/user32/button.c

  • Committer: Bazaar Package Importer
  • Author(s): Scott Ritchie
  • Date: 2010-12-06 00:21:37 UTC
  • mfrom: (1.1.17 upstream)
  • Revision ID: james.westby@ubuntu.com-20101206002137-ywazcomhqf97iw3c
Tags: 1.2.2-0ubuntu1
* New upstream release (LP: #685474)
  - Support for animated cursors. 
  - Translation updates.
  - Various bug fixes. (LP: #665270)
* Add Japanese font aliases to workaround lack of fontconfig substitution
* Recommend requisite umefont as a default (same as Crossover)
* Conflict with "wine" << 1.2.1 to prevent upgrade failures from very old
  ppa packages.

Show diffs side-by-side

added added

removed removed

Lines of Context:
114
114
static void OB_Paint( HWND hwnd, HDC hDC, UINT action );
115
115
static void BUTTON_CheckAutoRadioButton( HWND hwnd );
116
116
 
117
 
#define MAX_BTN_TYPE  12
 
117
#define MAX_BTN_TYPE  16
118
118
 
119
119
static const WORD maxCheckState[MAX_BTN_TYPE] =
120
120
{
128
128
    BUTTON_UNCHECKED,   /* BS_GROUPBOX */
129
129
    BUTTON_UNCHECKED,   /* BS_USERBUTTON */
130
130
    BUTTON_CHECKED,     /* BS_AUTORADIOBUTTON */
131
 
    BUTTON_UNCHECKED,   /* Not defined */
 
131
    BUTTON_UNCHECKED,   /* BS_PUSHBOX */
132
132
    BUTTON_UNCHECKED    /* BS_OWNERDRAW */
133
133
};
134
134
 
146
146
    GB_Paint,    /* BS_GROUPBOX */
147
147
    UB_Paint,    /* BS_USERBUTTON */
148
148
    CB_Paint,    /* BS_AUTORADIOBUTTON */
149
 
    NULL,        /* Not defined */
 
149
    NULL,        /* BS_PUSHBOX */
150
150
    OB_Paint     /* BS_OWNERDRAW */
151
151
};
152
152