Index: fpdfsdk/javascript/cjs_context.h |
diff --git a/fpdfsdk/javascript/cjs_context.h b/fpdfsdk/javascript/cjs_context.h |
index 64b97d616efef51ee9964d2f9cec143cc42dde40..84fdf1d3e1b383ec9fa50403d1de09efada5ca65 100644 |
--- a/fpdfsdk/javascript/cjs_context.h |
+++ b/fpdfsdk/javascript/cjs_context.h |
@@ -119,13 +119,13 @@ class CJS_Context : public IJS_Context { |
void OnBatchExec(CPDFSDK_Document* pTarget) override; |
void OnConsole_Exec() override; |
void OnExternal_Exec() override; |
- void EnableMessageBox(FX_BOOL bEnable) override { m_bMsgBoxEnable = bEnable; } |
+ void EnableMessageBox(FX_BOOL bEnable) override; |
FX_BOOL IsMsgBoxEnabled() const { return m_bMsgBoxEnable; } |
- |
- CPDFDoc_Environment* GetReaderApp(); |
CJS_Runtime* GetJSRuntime() const { return m_pRuntime; } |
CJS_EventHandler* GetEventHandler() const { return m_pEventHandler; } |
+ |
+ CPDFDoc_Environment* GetReaderApp(); |
CPDFSDK_Document* GetReaderDocument(); |
private: |