From 43c296291c2025a42f6a111eaa0c4f2ead0d9451 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 4 May 2015 17:19:31 +0000 Subject: fix for option dialogs in Watrack git-svn-id: http://svn.miranda-ng.org/main/trunk@13428 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Watrack/popup/popup.rc | 3 ++- plugins/Watrack/popup/popup.res | Bin 3096 -> 3088 bytes plugins/Watrack/popup/popups.pas | 3 ++- 3 files changed, 4 insertions(+), 2 deletions(-) (limited to 'plugins/Watrack/popup') diff --git a/plugins/Watrack/popup/popup.rc b/plugins/Watrack/popup/popup.rc index ae05c73860..c23ebe1d1b 100644 --- a/plugins/Watrack/popup/popup.rc +++ b/plugins/Watrack/popup/popup.rc @@ -1,8 +1,9 @@ #include "pop_rc.inc" +#include "resource.inc" LANGUAGE 0,0 -POPUP DIALOGEX 0, 0, 304, 226, 0 +IDD_OPT_POPUP DIALOGEX 0, 0, 304, 226, 0 STYLE DS_SETFONT | DS_FIXEDSYS | WS_CHILD EXSTYLE WS_EX_CONTROLPARENT FONT 8, "MS Shell Dlg", 400, 0 diff --git a/plugins/Watrack/popup/popup.res b/plugins/Watrack/popup/popup.res index 9365b0aa7f..c69bb84793 100644 Binary files a/plugins/Watrack/popup/popup.res and b/plugins/Watrack/popup/popup.res differ diff --git a/plugins/Watrack/popup/popups.pas b/plugins/Watrack/popup/popups.pas index 2aca70bc74..ec21e11f5d 100644 --- a/plugins/Watrack/popup/popups.pas +++ b/plugins/Watrack/popup/popups.pas @@ -20,6 +20,7 @@ const {$include pop_rc.inc} {$include pop_vars.inc} {$include pop_opt.inc} +{$include resource.inc} const MainTmpl = 'artist: %ls'#13#10'title: "%ls"'#13#10'album: "%ls"'#13#10+ @@ -369,7 +370,7 @@ begin odp.szTitle.a :=PluginName; odp.szGroup.a :='Popups'; - odp.pszTemplate:=DLGPOPUP; + odp.pszTemplate:=PAnsiChar(IDD_OPT_POPUP); odp.pfnDlgProc :=@DlgPopupOpt; CallService(MS_OPT_ADDPAGE,wParam,tlparam(@odp)); result:=0; -- cgit v1.2.3