Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
e054fc23
Commit
e054fc23
authored
Nov 03, 2010
by
André Hentschel
Committed by
Alexandre Julliard
Nov 04, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32: Don't paint new button styles instead of crashing.
parent
6c358146
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
button.c
dlls/user32/button.c
+3
-3
No files found.
dlls/user32/button.c
View file @
e054fc23
...
...
@@ -113,7 +113,7 @@ static void UB_Paint( HWND hwnd, HDC hDC, UINT action );
static
void
OB_Paint
(
HWND
hwnd
,
HDC
hDC
,
UINT
action
);
static
void
BUTTON_CheckAutoRadioButton
(
HWND
hwnd
);
#define MAX_BTN_TYPE 1
2
#define MAX_BTN_TYPE 1
6
static
const
WORD
maxCheckState
[
MAX_BTN_TYPE
]
=
{
...
...
@@ -127,7 +127,7 @@ static const WORD maxCheckState[MAX_BTN_TYPE] =
BUTTON_UNCHECKED
,
/* BS_GROUPBOX */
BUTTON_UNCHECKED
,
/* BS_USERBUTTON */
BUTTON_CHECKED
,
/* BS_AUTORADIOBUTTON */
BUTTON_UNCHECKED
,
/*
Not defined
*/
BUTTON_UNCHECKED
,
/*
BS_PUSHBOX
*/
BUTTON_UNCHECKED
/* BS_OWNERDRAW */
};
...
...
@@ -145,7 +145,7 @@ static const pfPaint btnPaintFunc[MAX_BTN_TYPE] =
GB_Paint
,
/* BS_GROUPBOX */
UB_Paint
,
/* BS_USERBUTTON */
CB_Paint
,
/* BS_AUTORADIOBUTTON */
NULL
,
/*
Not defined
*/
NULL
,
/*
BS_PUSHBOX
*/
OB_Paint
/* BS_OWNERDRAW */
};
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment