From d59aab9f81a82258e65721a9b48c4978d0d381c9 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 4 May 2015 20:19:47 +0000 Subject: fix for another Watrack option pages git-svn-id: http://svn.miranda-ng.org/main/trunk@13433 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Watrack/stat/stat.rc | 5 +++-- plugins/Watrack/stat/stat.res | Bin 3064 -> 3056 bytes plugins/Watrack/stat/statlog.pas | 3 ++- 3 files changed, 5 insertions(+), 3 deletions(-) (limited to 'plugins/Watrack/stat') diff --git a/plugins/Watrack/stat/stat.rc b/plugins/Watrack/stat/stat.rc index 9bedcabf3d..a4ae3229a3 100644 --- a/plugins/Watrack/stat/stat.rc +++ b/plugins/Watrack/stat/stat.rc @@ -1,9 +1,10 @@ #include "stat_rc.inc" +#include "resource.inc" LANGUAGE 0,0 -STATS DIALOGEX 0, 0, 304, 226, 0 -STYLE DS_SETFONT | WS_CHILD | WS_VISIBLE +IDD_OPT_STATS DIALOGEX 0, 0, 304, 226, 0 +STYLE DS_SETFONT | DS_FIXEDSYS | WS_CHILD EXSTYLE WS_EX_CONTROLPARENT FONT 8, "MS Shell Dlg", 0, 0 { diff --git a/plugins/Watrack/stat/stat.res b/plugins/Watrack/stat/stat.res index ca13e174b9..bf909f862b 100644 Binary files a/plugins/Watrack/stat/stat.res and b/plugins/Watrack/stat/stat.res differ diff --git a/plugins/Watrack/stat/statlog.pas b/plugins/Watrack/stat/statlog.pas index f2064f42c2..50da1cc2ff 100644 --- a/plugins/Watrack/stat/statlog.pas +++ b/plugins/Watrack/stat/statlog.pas @@ -8,6 +8,7 @@ implementation uses windows,messages,shellapi,commctrl ,wrapper,io,wat_api,common,global,m_api,dbsettings,mirutils; +{$include resource.inc} {$include stat_data.inc} {$include stat_vars.inc} {$include stat_opt.inc} @@ -626,7 +627,7 @@ end; function AddOptionsPage(var tmpl:pAnsiChar;var proc:pointer;var name:PAnsiChar):integer; begin - tmpl:='STATS'; + tmpl:=PAnsiChar(IDD_OPT_STATS); proc:=@DlgProcOptions; name:='Statistics'; result:=0; -- cgit v1.2.3