Skip to content

Commit 42496ef

Browse files
committed
xrGame: fix dependency of CUIDialogWndEx under Linux
1 parent 7beea77 commit 42496ef

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/xrGame/ui/UIDialogWnd.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ class CUIDialogWnd : public CUIWindow
2121
virtual bool OnKeyboardAction(int dik, EUIMessages keyboard_action);
2222
virtual bool OnKeyboardHold(int dik);
2323

24-
CDialogHolder* GetHolder() { return m_pParentHolder; };
25-
void SetHolder(CDialogHolder* h) { m_pParentHolder = h; };
24+
CDialogHolder* GetHolder() { return m_pParentHolder; }
25+
void SetHolder(CDialogHolder* h) { m_pParentHolder = h; }
2626
virtual bool StopAnyMove() { return true; }
2727
virtual bool NeedCursor() const { return true; }
2828
virtual bool NeedCenterCursor() const { return true; }

src/xrGame/ui/UIScriptWnd_script.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ using namespace luabind;
1111
extern export_class& script_register_ui_window1(export_class&);
1212
extern export_class& script_register_ui_window2(export_class&);
1313

14-
SCRIPT_EXPORT(CUIDialogWndEx, (), {
14+
SCRIPT_EXPORT(CUIDialogWndEx, (CUIDialogWnd, IFactoryObject), {
1515
export_class instance("CUIScriptWnd");
1616

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

0 commit comments

Comments
 (0)