Skip to content

Commit

Permalink
xrGame: fix dependency of CUIDialogWndEx under Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
eagleivg committed Nov 6, 2018
1 parent 7beea77 commit 42496ef
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/xrGame/ui/UIDialogWnd.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ class CUIDialogWnd : public CUIWindow
virtual bool OnKeyboardAction(int dik, EUIMessages keyboard_action);
virtual bool OnKeyboardHold(int dik);

CDialogHolder* GetHolder() { return m_pParentHolder; };
void SetHolder(CDialogHolder* h) { m_pParentHolder = h; };
CDialogHolder* GetHolder() { return m_pParentHolder; }
void SetHolder(CDialogHolder* h) { m_pParentHolder = h; }
virtual bool StopAnyMove() { return true; }
virtual bool NeedCursor() const { return true; }
virtual bool NeedCenterCursor() const { return true; }
Expand Down
2 changes: 1 addition & 1 deletion src/xrGame/ui/UIScriptWnd_script.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ using namespace luabind;
extern export_class& script_register_ui_window1(export_class&);
extern export_class& script_register_ui_window2(export_class&);

SCRIPT_EXPORT(CUIDialogWndEx, (), {
SCRIPT_EXPORT(CUIDialogWndEx, (CUIDialogWnd, IFactoryObject), {
export_class instance("CUIScriptWnd");

module(luaState)[script_register_ui_window2(script_register_ui_window1(instance)).def("Load", &BaseType::Load)];
Expand Down

0 comments on commit 42496ef

Please sign in to comment.