mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 11:26:10 +00:00
Make THEME_update_color_and_size static and drop THEME_ prefix.
This commit is contained in:
parent
44d6e39c8b
commit
a15006fe34
1 changed files with 3 additions and 3 deletions
|
@ -327,8 +327,8 @@ static BOOL fill_theme_list (HWND comboTheme, HWND comboColor, HWND comboSize)
|
|||
/* Update the color & size combo boxes when the selection of the theme
|
||||
* combo changed. Selects the current color and size scheme if the theme
|
||||
* is currently active, otherwise the first color and size. */
|
||||
BOOL THEME_update_color_and_size (int themeIndex, HWND comboColor,
|
||||
HWND comboSize)
|
||||
static BOOL update_color_and_size (int themeIndex, HWND comboColor,
|
||||
HWND comboSize)
|
||||
{
|
||||
if (themeIndex == 0)
|
||||
{
|
||||
|
@ -437,7 +437,7 @@ static void init_dialog (HWND dialog)
|
|||
static void on_theme_changed(HWND dialog) {
|
||||
int index = SendMessageW (GetDlgItem (dialog, IDC_THEME_THEMECOMBO),
|
||||
CB_GETCURSEL, 0, 0);
|
||||
if (!THEME_update_color_and_size (index, GetDlgItem (dialog, IDC_THEME_COLORCOMBO),
|
||||
if (!update_color_and_size (index, GetDlgItem (dialog, IDC_THEME_COLORCOMBO),
|
||||
GetDlgItem (dialog, IDC_THEME_SIZECOMBO)))
|
||||
{
|
||||
SendMessageW (GetDlgItem (dialog, IDC_THEME_COLORCOMBO), CB_SETCURSEL, (WPARAM)-1, 0);
|
||||
|
|
Loading…
Reference in a new issue