wordpad: Make print_preview() and preview_page_hittest() static.
This commit is contained in:
parent
a56375fcb5
commit
a413afa3e5
|
@ -891,7 +891,7 @@ static void update_preview_buttons(HWND hMainWnd)
|
|||
EnableWindow(GetDlgItem(hReBar, ID_PREVIEW_ZOOMOUT), preview.zoomlevel > 0);
|
||||
}
|
||||
|
||||
LRESULT print_preview(HWND hwndPreview)
|
||||
static LRESULT print_preview(HWND hwndPreview)
|
||||
{
|
||||
HDC hdc;
|
||||
RECT window, background;
|
||||
|
@ -1039,7 +1039,7 @@ static void toggle_num_pages(HWND hMainWnd)
|
|||
|
||||
/* Returns the page shown that the point is in (1 or 2) or 0 if the point
|
||||
* isn't inside either page */
|
||||
int preview_page_hittest(POINT pt)
|
||||
static int preview_page_hittest(POINT pt)
|
||||
{
|
||||
RECT rc;
|
||||
rc.left = preview.spacing.cx;
|
||||
|
|
|
@ -247,7 +247,6 @@ LRESULT preview_command(HWND, WPARAM);
|
|||
void init_preview(HWND, LPWSTR);
|
||||
void close_preview(HWND);
|
||||
BOOL preview_isactive(void);
|
||||
LRESULT print_preview(HWND);
|
||||
void get_default_printer_opts(void);
|
||||
void registry_set_pagemargins(HKEY);
|
||||
void registry_read_pagemargins(HKEY);
|
||||
|
|
Loading…
Reference in New Issue