Commit a413afa3 authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

wordpad: Make print_preview() and preview_page_hittest() static.

parent a56375fc
...@@ -891,7 +891,7 @@ static void update_preview_buttons(HWND hMainWnd) ...@@ -891,7 +891,7 @@ static void update_preview_buttons(HWND hMainWnd)
EnableWindow(GetDlgItem(hReBar, ID_PREVIEW_ZOOMOUT), preview.zoomlevel > 0); EnableWindow(GetDlgItem(hReBar, ID_PREVIEW_ZOOMOUT), preview.zoomlevel > 0);
} }
LRESULT print_preview(HWND hwndPreview) static LRESULT print_preview(HWND hwndPreview)
{ {
HDC hdc; HDC hdc;
RECT window, background; RECT window, background;
...@@ -1039,7 +1039,7 @@ static void toggle_num_pages(HWND hMainWnd) ...@@ -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 /* Returns the page shown that the point is in (1 or 2) or 0 if the point
* isn't inside either page */ * isn't inside either page */
int preview_page_hittest(POINT pt) static int preview_page_hittest(POINT pt)
{ {
RECT rc; RECT rc;
rc.left = preview.spacing.cx; rc.left = preview.spacing.cx;
......
...@@ -247,7 +247,6 @@ LRESULT preview_command(HWND, WPARAM); ...@@ -247,7 +247,6 @@ LRESULT preview_command(HWND, WPARAM);
void init_preview(HWND, LPWSTR); void init_preview(HWND, LPWSTR);
void close_preview(HWND); void close_preview(HWND);
BOOL preview_isactive(void); BOOL preview_isactive(void);
LRESULT print_preview(HWND);
void get_default_printer_opts(void); void get_default_printer_opts(void);
void registry_set_pagemargins(HKEY); void registry_set_pagemargins(HKEY);
void registry_read_pagemargins(HKEY); void registry_read_pagemargins(HKEY);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment