diff options
author | Vincent Sanders <vince@netsurf-browser.org> | 2011-03-06 23:27:09 +0000 |
---|---|---|
committer | Vincent Sanders <vince@netsurf-browser.org> | 2011-03-06 23:27:09 +0000 |
commit | b925439a14ac8c8787034f30631ad60dd626a299 (patch) | |
tree | 6d94f728b8d78fe1236a38f64758816d955806d1 /windows/about.c | |
parent | a88963d82e3821797ff65afb5e68dbcbf5e13d60 (diff) | |
download | netsurf-b925439a14ac8c8787034f30631ad60dd626a299.tar.gz netsurf-b925439a14ac8c8787034f30631ad60dd626a299.tar.bz2 |
rationalise windows resource script
make window options dialog into a property sheet
svn path=/trunk/netsurf/; revision=11929
Diffstat (limited to 'windows/about.c')
-rw-r--r-- | windows/about.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/windows/about.c b/windows/about.c index e73b270ce..515d36258 100644 --- a/windows/about.c +++ b/windows/about.c @@ -67,7 +67,7 @@ BOOL CALLBACK nsws_about_event_callback(HWND hwnd, UINT msg, WPARAM wparam, { switch(msg) { case WM_INITDIALOG: { - HWND content = GetDlgItem(hwnd, NSWS_ID_ABOUT_CONTENT); + HWND content = GetDlgItem(hwnd, IDC_ABOUT_CONTENT); /* modify label NSWS_ID_ABOUT_CONTENT */ size_t len; char *newcontent, *authors, *artists, *documenters; @@ -165,7 +165,7 @@ BOOL CALLBACK nsws_about_event_callback(HWND hwnd, UINT msg, WPARAM wparam, void nsws_about_dialog_init(HINSTANCE hinst, HWND parent) { - int ret = DialogBox(hinst, MAKEINTRESOURCE(NSWS_ID_ABOUT_DIALOG), parent, + int ret = DialogBox(hinst, MAKEINTRESOURCE(IDD_DLG_ABOUT), parent, nsws_about_event_callback); if (ret == -1) { warn_user(messages_get("NoMemory"), 0); |