diff options
author | George Hazan <george.hazan@gmail.com> | 2015-05-04 17:19:31 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2015-05-04 17:19:31 +0000 |
commit | 43c296291c2025a42f6a111eaa0c4f2ead0d9451 (patch) | |
tree | 2cffbb9d529bb312e03718958c0bfadbd7f718b3 /plugins/Watrack/popup | |
parent | 1fe0419b0f5599afe38a6c795d57efd00c14ccfd (diff) |
fix for option dialogs in Watrack
git-svn-id: http://svn.miranda-ng.org/main/trunk@13428 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Watrack/popup')
-rw-r--r-- | plugins/Watrack/popup/popup.rc | 3 | ||||
-rw-r--r-- | plugins/Watrack/popup/popup.res | bin | 3096 -> 3088 bytes | |||
-rw-r--r-- | plugins/Watrack/popup/popups.pas | 3 |
3 files changed, 4 insertions, 2 deletions
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 Binary files differindex 9365b0aa7f..c69bb84793 100644 --- a/plugins/Watrack/popup/popup.res +++ b/plugins/Watrack/popup/popup.res 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;
|