Fixed #19 can't compile successfully under VS2017
Signed-off-by: jiajia_deng <2894220@gmail.com>
This commit is contained in:
parent
02c0f6e9bc
commit
3467bf2b41
@ -9,14 +9,20 @@ enum MsgBoxRet
|
|||||||
|
|
||||||
typedef std::function<void(MsgBoxRet)> MsgboxCallback;
|
typedef std::function<void(MsgBoxRet)> MsgboxCallback;
|
||||||
|
|
||||||
class MsgBox : public ui::WindowImplBase
|
void ShowMsgBox(HWND hwnd, MsgboxCallback cb,
|
||||||
{
|
|
||||||
public:
|
|
||||||
friend void ShowMsgBox(HWND hwnd, MsgboxCallback cb,
|
|
||||||
const std::wstring &content = L"", bool content_is_id = true,
|
const std::wstring &content = L"", bool content_is_id = true,
|
||||||
const std::wstring &title = L"STRING_TIPS", bool title_is_id = true,
|
const std::wstring &title = L"STRING_TIPS", bool title_is_id = true,
|
||||||
const std::wstring &yes = L"STRING_OK", bool btn_yes_is_id = true,
|
const std::wstring &yes = L"STRING_OK", bool btn_yes_is_id = true,
|
||||||
const std::wstring &no = L"", bool btn_no_is_id = false);
|
const std::wstring &no = L"", bool btn_no_is_id = false);
|
||||||
|
|
||||||
|
class MsgBox : public ui::WindowImplBase
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
friend void ShowMsgBox(HWND hwnd, MsgboxCallback cb,
|
||||||
|
const std::wstring &content, bool content_is_id,
|
||||||
|
const std::wstring &title, bool title_is_id,
|
||||||
|
const std::wstring &yes, bool btn_yes_is_id,
|
||||||
|
const std::wstring &no, bool btn_no_is_id);
|
||||||
public:
|
public:
|
||||||
MsgBox();
|
MsgBox();
|
||||||
virtual ~MsgBox();
|
virtual ~MsgBox();
|
||||||
|
Loading…
Reference in New Issue
Block a user