summaryrefslogtreecommitdiff
path: root/include/m_options.h
diff options
context:
space:
mode:
authorghazan <ghazan@miranda.im>2021-12-19 16:56:44 +0300
committerghazan <ghazan@miranda.im>2021-12-19 16:56:44 +0300
commitf37d8e059796ae661318656939d577198c67db3b (patch)
treec63dc007c02787560b286ebfaaf0d42c2c881956 /include/m_options.h
parent412a979505cdb849e4adb3b5ac6c16aedf7cdcf7 (diff)
header files fix to eliminate Windows types for mir_app
Diffstat (limited to 'include/m_options.h')
-rw-r--r--include/m_options.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/include/m_options.h b/include/m_options.h
index 3092585d43..9c4783fa66 100644
--- a/include/m_options.h
+++ b/include/m_options.h
@@ -63,11 +63,14 @@ struct OPTIONSDIALOGPAGE
{
int position; // a position number, lower numbers are topmost
MAllStrings szTitle, szGroup, szTab; // [TRANSLATED-BY-CORE]
- DLGPROC pfnDlgProc;
char *pszTemplate;
- HPLUGIN pPlugin;
DWORD flags;
+ #ifdef _WINDOWS
+ DLGPROC pfnDlgProc;
+ HPLUGIN pPlugin;
+ #endif
+
union {
LPARAM dwInitParam; // a value to pass to lParam of WM_INITDIALOG message
class CDlgBase *pDialog;